Add support for overriding x tick with non arithmetic progression values - #5262
Open
robertoffmoura wants to merge 2 commits into
Open
Add support for overriding x tick with non arithmetic progression values#5262robertoffmoura wants to merge 2 commits into
robertoffmoura wants to merge 2 commits into
Conversation
robertoffmoura
force-pushed
the
rm/support-non-ap-xticks
branch
2 times, most recently
from
August 12, 2025 09:31
00a6f11 to
128dd25
Compare
robertoffmoura
force-pushed
the
rm/support-non-ap-xticks
branch
from
October 9, 2025 15:42
128dd25 to
85745d7
Compare
robertoffmoura
force-pushed
the
rm/support-non-ap-xticks
branch
from
July 31, 2026 17:18
85745d7 to
7701120
Compare
Contributor
Author
|
Hi @emilykl, Currently, the conversion ignores custom x tick values specified in the matplotlib figure. See the snippet below, which prints Here's a screenshot of the matplotlib figure with custom x tick values: Before this change, the plotly conversion ignores the 0.75 x tick value. After this change, the converted plot correctly shows the 0.75 x tick value. |
robertoffmoura
force-pushed
the
rm/support-non-ap-xticks
branch
from
August 10, 2026 19:47
b446bfd to
266aae9
Compare
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.



Hi,
This change adds support for specifying tickvals and ticktext when the values don't follow an arithmetic progression, i.e., they're not evenly spaced.
Code PR
plotly.graph_objects, my modifications concern the code generator and not the generated files.