Matplotlib: How to set theta range for a polar plot?

I am making a polar contour plot with matplotlib. Data is only in the range from 0 to 90 degrees, but always shows the entire range from 0 to 360 degrees. So, is there a way to set theta range from 0 to 90 degrees?

Any suggestion is appreciated.

+6
source share
1 answer

I am afraid this is an open problem: https://github.com/matplotlib/matplotlib/issues/328 . Other people requested this: http://comments.gmane.org/gmane.comp.python.matplotlib.general/14711 .

This is definitely a nice feature, and I wonder why it hasn't been implemented yet.

+5
source

Source: https://habr.com/ru/post/921911/


All Articles