Skip to content

SetupAxisLimits when ImPlotCond_Once and plot is already Initialized #619

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brccabral
Copy link

Hi,
When the plot is already visible and a secondary Y axis is setup, the SetupAxisLimits would not change the ranges when the condition was ImPlotCond_Once.

@brccabral
Copy link
Author

ApplyNextPlotData resets the ranges if the axes are enabled, causing issues in Mandelbrot demo from https://github.com/epezent/implot_demos. Enabling axes after ApplyNextPlotData solves the issue.

brccabral added a commit to brccabral/implot_demos that referenced this pull request Apr 21, 2025
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