Repository navigation
Conversation
…sUpdated event) and allow them to be set (setRanges() method), e.g., to link the X axes of several plots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Sorry @jmdowrick, but I am closing this. I don't mind AI-generated issues, but when it comes to PRs, I prefer to do it myself (with or without the help of AI). This allows me to control exactly what is done, rather than review something that might, or not, require further improvements. |
Author
|
All good on my end. I meant to raise these as drafts in case they were helpful. No worries if not. Noted for the future. |
Contributor
|
I will definitely look at them, not least since I quite like some of them (e.g., #2). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
rangesUpdatedevent, which gives the current X and Y ranges whenever they change (after a zoom, pan, or reset, or when an autoranged axis changes because the data was updated). Also adds asetRanges()method, so that an app can restore those ranges or link them across plots. Both use actual values, also for logarithmic axes.The zoom was already kept when the data is updated, so that is now documented in the README.
Demo: a "Shared X range" checkbox links the X axes of the plots.
Fixes #1