Open jon-wurtz opened 1 year ago
@Roger-luo We can try to make these a weak dependence but It doesn't look like Julia 1.9 is being widely yet so perhaps splitting the visualization tools into its own sub-package would be best?
There are a few things that can be done here:
micromamba
and only installs the minimum dependencies.after the above steps, we can start moving things into weakdeps.
Pending more python functionality, perhaps we can try more towards (1)? This way the user can choose their own plotting backends and where necessary (eg visualizing waveforms) a julia plot can do. Is 1.9 necessary for that?
Is 1.9 necessary for that?
nope, the only difference is on 1.9 the experience will be much better because the latency of the first plot will be unnoticeable. So compatibility is guaranteed to all 1.x versions, tho 1.9 is recommended. But this was the main reason why we were not using Plots/GR because there was no option for good UX back then.
Confirm that Bloqade does not need Python as a dependency. I think that when Bloqade is installed, it also adds an entire conda environment. This can sometimes run into environment issues.
This should perhaps extend to all of our examples too. That is a little harder, of course, because Python plots are pretty. However, it does remove a barrier to running examples!