-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update examples #24
Update examples #24
Conversation
@stinebuu a review on the basis of whether it works for you is fine here I think, no need to go through the code changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! All examples run for me now :)
@@ -261,7 +261,7 @@ def plot_fractions(self, axis, fill_variables, | |||
matplotlib.ticker.ScalarFormatter()) | |||
|
|||
def plot_main(self, quantities, axis, log=(False, False), | |||
error=False): | |||
error=False, fmt='none'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment about what fmt is in the Attributes list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like this? (see bench_plot.py
)
This PR updates the examples to work with the new(-ish) plotting routines. Mainly, they move away from the deprecated
catalogue.yaml
and work directly with.csv
files. Fixes #19.