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

WindroseAxes from existing ax #41

Closed
bartvstratum opened this issue Sep 28, 2016 · 3 comments
Closed

WindroseAxes from existing ax #41

bartvstratum opened this issue Sep 28, 2016 · 3 comments

Comments

@bartvstratum
Copy link

bartvstratum commented Sep 28, 2016

Perhaps I'm missing something, but your example:

ax = WindroseAxes.from_ax()
ax.bar(wd, ws, normed=True, opening=0.8, edgecolor='white')

works perfectly, until I try to create a WindroseAxes from an existing ax. For example:

ax1 = pl.subplot(211)
ax2 = WindroseAxes.from_ax(ax1)
ax2.bar(wd, ws, normed=True, opening=0.8, edgecolor='white')

fails at ax2.bar (Unknown property normed), because ax2 is now no longer a windrose.WindroseAxes but a matplotlib.axes._subplots.AxesSubplot, as from_ax simply returns the given axes if it is not equal to None.

Is it somehow possible to add multiple wind roses to a figure, from existing axes?

@s-celles
Copy link
Member

Maybe you might have a look at https://github.com/scls19fr/windrose/issues/20#issuecomment-239762028

@kthyng
Copy link

kthyng commented Nov 25, 2019

Maybe you might have a look at https://github.com/scls19fr/windrose/issues/20#issuecomment-239762028

It looks like this should now link here instead: #20

@weber-s
Copy link
Member

weber-s commented Sep 15, 2020

Indeed, I close this issue. #20 (comment)

@weber-s weber-s closed this as completed Sep 15, 2020
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

No branches or pull requests

4 participants