-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Thick elements and labels from list in FloorPlot #4
Conversation
for more information, see https://pre-commit.ci
I just saw the test not passing because of the import of xtrack. That can be avoided. I'll update the PR |
No xtrack import and rcparam alteration
for more information, see https://pre-commit.ci
Just updated. I also commented out the alterations to the matplotlib |
Hi @giadarol and many thanks for adding support for thick elements here! |
I agree that this is invasive, however instead of uncommenting that, it should go into a matplotlib style sheet, so it can be called by the user manually (I would still like to use these "good defaults" in my Jupyter notebooks with a single line): xplt.apply_style() |
It would be an honour :) |
yes! |
Thank you! Would you manage to make also a PyPI release by then? So that people will be able to run the example notebooks that I will show after a simple pip install of the packages |
Yes, I can make a release in the next days. |
@giadarol I pushed a new version, CI is running and it should soon appear on PyPI.
|
This PR adds:
FloorPlot
.Here a small example (using a lattice available in the xtrack test data):
PS: I would like to show these features for the Xsuite tutorial at the Slow Extraction Workshop. What do you think?
My contribution follows "inbound=outbound" licensing as defined by the GitHub Terms of Service.