-
Notifications
You must be signed in to change notification settings - Fork 47
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 disappearing after replot #70
Comments
On the surface, this is a limitation of gnuplot, e.g. see https://sourceforge.net/p/gnuplot/feature-requests/505/. But perhaps we can do something about on Rust's side of things, since, after all, we do store all the state necessary to redraw the plots. The main question will be to somehow route the resize or replot button event back to Rust so we can redraw things. |
I have to say I wrote here because I could not reproduce this with Octave. Then, I found out Octave uses gnuplot only if instructed to do so, and in that case I could reproduce the same issue. So, I guess this should probably be solved in gnuplot, shouldn't it? |
As of 0.0.40, we switched to using temporary files to pass data to gnuplot, which bypasses this limitation. |
Hello,
I noticed that, when creating a Figure with two plots (2 rows, 1 colum), the first cell (index 0) seems to disappear during a replot.
It is sufficient to trigger a replot either with the proper button or by resizing the window and the plot in the first cell disappears.
I tried to plot with the same exact code both in cell 0 and cell 1, and I can reproduce the issue: cell 0 disappears on the first replot, while the second is properly replotted.
Is this only happening to me? Any idea what may be wrong?
Thanks!
The text was updated successfully, but these errors were encountered: