When following examples, I find a missing dependency - "xplt". It should be added to the pyproject.toml.
sv = line.survey()
sv.plot(projection='ZX')
ModuleNotFoundError
Traceback (most
recent call last)
Cell In[10], line 1
-- 1 sv.plot (projection='ZX')
File ~/venv/py312/1ib/python3.12/site-packages/xtrack/survey.py:224,
in SurveyTable plot(self, element_width, legend, **
kwargs)
219
Plot the survey using xlt. FloorPlot
221
222 # Import the xplt module here
223 # (Not at the top as
not default installation with xsuite)
-->
224 import xplt
226 # Shallow copy of self
227
out_sv_table = SurveyTable.__new__ (SurveyTable)
ModuleNotFoundError: No module named 'xplt'
Hello,
When following examples, I find a missing dependency - "xplt". It should be added to the pyproject.toml.
Cheers,
Laurie