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

ENH: ArchiveTimePlot Fetch Data on X-Axis Change #1172

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

zdomke
Copy link
Contributor

@zdomke zdomke commented Feb 24, 2025

This change prompts the ArchiveTimePlot to get data from the Archiver Appliance every time the x-axis' range changes.

Previously, archive data was only fetched when the user showed a section of the plot that had no data. With this set up, zooming out will fetch a optimized data (averaged w/ min/max error bars), but zooming back in would still optimized data. This results in the "resolution" looking wrong.

Now zooming in on a section will get the data for the time range shown on the plot. This will result in showing the correct "resolution" at all times.

@zdomke
Copy link
Contributor Author

zdomke commented Feb 24, 2025

As I'm reading back through my code, I'm wondering if this should be an optional change. Should add a parameter to the ArchiveTimePlot constructor for getting data like this.
Some users may prioritize plot speed over curve resolution, especially if their archiver appliance is slow.

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.

1 participant