WIP: Add ax and figsize arg to plotting functions by petebachant · Pull Request #121 · python-windrose/windrose · GitHub
Skip to content

WIP: Add ax and figsize arg to plotting functions#121

Merged
s-celles merged 6 commits into
python-windrose:mainfrom
petebachant:add-ax-args
Sep 21, 2022
Merged

WIP: Add ax and figsize arg to plotting functions#121
s-celles merged 6 commits into
python-windrose:mainfrom
petebachant:add-ax-args

Conversation

@petebachant

@petebachant petebachant commented Aug 6, 2019

Copy link
Copy Markdown
Contributor

The objective here is to make it easier to create subplots, e.g.,

fig, (ax1, ax2) = plt.subplots(ncols=2)
plot_windrose(df1, ax=ax1)
plot_windrose(df2, ax=ax2)

Not quite ready. The ax args don't work at the moment, but figsize does. Perhaps there should be a windrose.subplots function to return the appropriate axes objects and provide a similar API?

@ocefpaf

ocefpaf commented Sep 21, 2022

Copy link
Copy Markdown
Collaborator

@ocefpaf

ocefpaf commented Sep 21, 2022

Copy link
Copy Markdown
Collaborator

@s-celles s-celles merged commit 860fc9a into python-windrose:main Sep 21, 2022
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.

3 participants