Skip to content
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

Widget displays but doesn't update plot #371

Closed
machar94 opened this issue Aug 7, 2020 · 1 comment
Closed

Widget displays but doesn't update plot #371

machar94 opened this issue Aug 7, 2020 · 1 comment

Comments

@machar94
Copy link

machar94 commented Aug 7, 2020

Hello, I'm relatively new to Julia and I was hoping to get some help working with @manipulate.

I have the following code

using WebIO
WebIO.install_jupyter_nbextension()
using Plots, LinearAlgebra, Interact
gr()
@manipulate for i = 1:100
    m = i
end

Screen Shot 2020-08-06 at 10 18 04 PM
This produces a slider that I can adjust, however, the value will not change. I was trying to use the @manipulate to adjust the input to a simple linear function and plot it and saw that this was a test case for debugging if it was a plotting issue or not. I am using Julia version 1.4.1 and working in a Jupyter notebook. I would appreciate any help in solving/debugging this. Thank you!

@machar94
Copy link
Author

machar94 commented Aug 8, 2020

I can't explain it but I tried it again a day after and it worked. I'm guessing that it had to do with restarting the notebook/computer (which I thought I had tried but I guess not).

@machar94 machar94 closed this as completed Aug 8, 2020
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

No branches or pull requests

1 participant