Skip to content
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

Plotting updates #128

Closed
wants to merge 5 commits into from
Closed

Plotting updates #128

wants to merge 5 commits into from

Conversation

eleanorfrajka
Copy link
Collaborator

Ok - I fiddled around a little to change the aspect ratio in plots (main change). There may be a more elegant way to do this, but it was because the mplstyle only has one figure size option. I would like a way to have full width and half width plots or otherwise a little more overall control on the figure size generated.

Hence - two more variables at the top of plots.py for the widths, and a couple figures where I then used the width to generate within the figure plot) an appropriate height of the figure.

Also a couple label changes.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@eleanorfrajka
Copy link
Collaborator Author

Oh no - thought I could be clever and push a suggested reordering of demo.ipynb, but I forgot that since it's in the same branch, it would show up in this pull request...

@MOchiara
Copy link
Member

Why are we not changing the figure size in the glidertest mplstyle file and then add a haf/full True and False statement in the plot function instead?

@MOchiara
Copy link
Member

Tests are failing because you changed some labels in the plot and you have 'assert' in the test_plots referring to the old labels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants