You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤕 Try to clearly explain what the problem is, it might not be obvious to others! Instead of saying: "This does not work.", try to say: "I expected ..., but instead I am seeing ..."
In the readme of this repository it states:
Pluto offers an environment where changed code takes effect instantly and where deleted code leaves no trace. Unlike Jupyter or Matlab, there is no mutable workspace, but rather, an important guarantee:
At any instant, the program state is completely described by the code you see.
No hidden state, no hidden bugs.
Therefore i expected that the order in which i run the cell wouldn't effect the output of the notebook. Maybe there is a misunderstanding somewhere on my side. What is happening is that the order in which i run the cell does effect the output of the notebook.
You can even delete the histogram cell after you ran it with shift+enter, and than run the plot! cell. Thus, Pluto does offers an environment where deleted code leaves traces, and that it has indeed a mutable workspace like Jupyter and Matlab.
Thanks for your time!
The text was updated successfully, but these errors were encountered:
In this case, a design goal of Pluto (no hidden state) cannot align with a design goal of Plots.jl (a "current plot" concept with modifier functions like plot!).
These misalignments happen sometimes, because we would like to support all packages, even if they are designed for an imperative programming style. We have some discussion about how to improve this experience here: #316 and #564
📹 A video recording demonstrating the problem. (You can drag a video file into this box)
📝 A short Pluto notebook file. (Upload the notebook file to https://gist.github.com/ and include the link.)
https://gist.github.com/najtin/2ee0e788dffd86f32c53a619ed5964cb
🤕 Try to clearly explain what the problem is, it might not be obvious to others! Instead of saying: "This does not work.", try to say: "I expected ..., but instead I am seeing ..."
In the readme of this repository it states:
Therefore i expected that the order in which i run the cell wouldn't effect the output of the notebook. Maybe there is a misunderstanding somewhere on my side. What is happening is that the order in which i run the cell does effect the output of the notebook.
You can even delete the histogram cell after you ran it with shift+enter, and than run the plot! cell. Thus, Pluto does offers an environment where deleted code leaves traces, and that it has indeed a mutable workspace like Jupyter and Matlab.
Thanks for your time!
The text was updated successfully, but these errors were encountered: