-
Notifications
You must be signed in to change notification settings - Fork 26
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
Plot does not update when zooming in #38
Comments
@Spandyie Zooming works OK for me. Without example code and more details of what you expect to happen, I cannot tell what is not working as you expect. |
@newville Below is the Python class which uses wxmpanel, I created a derived panel class using wxmpanel.PlotPanel. Everytime I call new instance of ConvexHullPlot() the zoom-in feature zooms into the graph created by previous instance of wxmplot
|
@Spandyie That code does not run for me. If you are creating instances of this class many times, wouldn't you need to say how you were doing that? Are you reusing a panel or something? I have no idea. If you suspect there is a problem with wxmplot, please provide a minimal example that demonstrates whatever problem you are seeing. |
@newville I apologise for leaving out the details. This code has many other dependencies class such as DetectOutlier() , ConvexHull() which is part of a larger software. The Class ConvexHullPlot()'s parent is another subpanel. Yes I am reusing panel. Please see the attachment for the Snapshot of GUI. |
@Spandyie Well, I have no idea what your code does or is supposed to do. That makes it essentially impossible to guess what you are seeing that you do not expect. Am I supposed to see something in the pptx file? What, exactly? No, really, if you want me to know, you need to tell me explicitly. I cannot tell if you are trying to illustrate a bug or ask how to do something. Please post a minimal, complete (working) code that illustrates the problem. |
Solved the Problem apparently I had to destroy the all the children panel in the parent panel to solve the issue |
I have written wxmplot panel which is linked to the selection made by user. The plotting feature works perfectly fine. However when I try to zoom in into the graph, it zooms into the graph created by previous event. In other words the everytime I make new selection the graph is not being updated
The text was updated successfully, but these errors were encountered: