-
Notifications
You must be signed in to change notification settings - Fork 2
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
Plots are not always shown #6
Comments
See this commit |
The digest is for detecting whether the ans is changed. Create PR and I will carefully review the changes. |
How about solving this issue by forcing the display when the last line of the the statements is a plot/imshow/... function call? |
Thanks @sadhen! I really like your solution of searching for plot functions. |
For multiline input, currently, it is |
I think detection of plot changes should be provided by octave itself. We need to discuss the details with the octave community. |
I think it should be possible to detect plot changes based on
Then we can do However, the tree contains function handles, which |
It seems this might work to detect any changed figures:
|
Plotting in a session doesn't always work.
If I put these lines in a session
and repeatedly execute the last two commands, after two times the plot doesn't show up anymore. It seems the method to set
TM_OCTAVE_PLOT_DIGEST
is not robust.It seems like if we simply do
in
tmrepl.m
that plots show as expected, sincetmplot()
already checks whether the plot is empty or not.The text was updated successfully, but these errors were encountered: