Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ticks and toposeries animations #298

Merged
merged 44 commits into from
Jan 28, 2025
Merged

ticks and toposeries animations #298

merged 44 commits into from
Jan 28, 2025

Conversation

vladdez
Copy link
Collaborator

@vladdez vladdez commented Jan 14, 2025

Added a page to the documentation about visualizing uncertainty in toposeries.

Toposeries

Other

@vladdez
Copy link
Collaborator Author

vladdez commented Jan 14, 2025

check colorbar of benchmarking topoplot

@vladdez vladdez requested a review from behinger January 21, 2025 10:45
ax.xticks = round.(LinRange(minimum(times.val), maximum(times.val), 5), digits = 2)
ax.yticklabelsvisible = true

clims = @lift (min($filtered_data...), max($filtered_data...)) # set limits for colorbar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should add a check here if the user wants to fix the colorrange in config.visual

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implemented, but in config.colormap

@vladdez vladdez changed the title ticks on x, y and colorbar for erpimage are corrected ticks and toposeries animations Jan 27, 2025
@vladdez vladdez requested a review from behinger January 27, 2025 18:01
@lift (min($filtered_data...), max($filtered_data...))
)
# Check if crange is an Observable, and extract its value if needed
crange_value = isa(crange, Observable) ? crange[] : crange
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
crange_value = isa(crange, Observable) ? crange[] : crange
crange_value = to_value(crange)

# Check if crange is an Observable, and extract its value if needed
crange_value = isa(crange, Observable) ? crange[] : crange
# Create the tick labels for the colorbar
cb_ticks = LinRange(crange_value[1], crange_value[2], 5)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cb_ticks = LinRange(crange_value[1], crange_value[2], 5)
cb_ticks = @lift LinRange($crange1], $crange[2], 5)

@vladdez vladdez merged commit e43945e into main Jan 28, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants