Closed BrettKnoss closed 3 years ago
Can you post this issue to Plots.jl instead? Be sure to include the output of running import Pkg; Pkg.status()
in the REPL
I thought I did, where did I post it?
This is Pluto.jl, the names are similar 😅
This is the one you are looking for: https://github.com/JuliaPlots/Plots.jl
The issue is when I try to add a package to Pluto
Thanks -- I understand, my answer is that this is not a problem with Pluto.
Maybe you could try removing the folder C:\Users\Brett\.julia
, make sure that you have no unsaved Pluto notebooks
I'm not sure, I'm ready to do that. I did remove all my Pluto notebooks. It keeps automatically saving books when I just want to play with features.
Removing C:\Users\Brett\.julia
will clear all package caches, which sometimes solves these kinds of problems. Deleting unsaved Pluto notebooks is an unfortunate side effect.
If you like you can delete every subfolder of C:\Users\Brett\.julia
except C:\Users\Brett\.julia\pluto_notebooks
I'm not sure I,m willing to get rid of a whole folder, it works in the sample notebooks.
Do I need to put in
begin
Pkg.add("Plots")
using Plots
end
each time, or will I be able to use
using Plots
This is something we're still working on. But right now, the easiest solution is to do
julia> ]
pkg> add Plots
once in the Julia REPL, and then launch Pluto. In your notebook, it's just using Plots
(this will use the "global package environment" by default).
If you are sharing your notebook with others (e.g. students), the recommended approach is what I do in this notebook: https://computationalthinking.mit.edu/Fall20/hw3/
Let me know how it goes
Ok, got it, I'll put this on discourd, but I have a problem with loops, that the whole trickle-down thing(which I love!) causes an error of multiple definitions when trying to do loops and recursion.
Thanks! We have an issue for this but i cant find it right now. The workaround is to use a begin...end
block
I get this when I try to load plots.