SunnySuite / Sunny.jl

Spin dynamics and generalization to SU(N) coherent states
Other
86 stars 19 forks source link

Support WGLMakie #46

Closed kbarros closed 1 year ago

kbarros commented 2 years ago

For Jupyter notebook use, it would be very nice to support WGLMakie in place of GLMakie. Currently blocked on this issue: https://github.com/MakieOrg/Makie.jl/issues/2243

kbarros commented 1 year ago

Maybe be possible now that https://github.com/MakieOrg/Makie.jl/issues/2243 has been resolved.

kbarros commented 1 year ago

Partial support has landed with https://github.com/SunnySuite/Sunny.jl/commit/370d8016c3ac6fcd8387e59b6b02a9a0583eaf8b. Now the user can select their Makie flavor by loading, e.g., using GLMakie or using WGLMakie, prior to calling the Sunny plotting functions.

WGLMakie support is still labeled "experimental" by the Makie developers. Problems I encountered:

Nonetheless, it might be nice to have the option for WGLMakie, especially for people who are using remote clusters and are having trouble with the X-server connection.