-
Notifications
You must be signed in to change notification settings - Fork 6
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
Try better user flexibility when creating figures #27
Try better user flexibility when creating figures #27
Conversation
Does this look better? Shall I do it for the other plots too? |
glidertest/tools.py
Outdated
if ax is None: | ||
fig, ax = plt.subplots(1, 2, figsize=(14, 6)) | ||
else: | ||
ax = ax |
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.
is ax=ax needed? Seems superfluous
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.
generally this is a nice pattern of allowing the user to supply an ax if they want to. I've made some suggestions
@callumrollo shall I do the same for the other plots? |
sure, go for it! |
No description provided.