matplotlib.pyplot.polar#

matplotlib.pyplot.polar(*args,**kwargs)[source]#

Make a polar plot.

call signature:

polar(theta,r,[fmt],**kwargs)

This is a convenience wrapper aroundpyplot.plot. It ensures that thecurrent Axes is polar (or creates one if needed) and then passes all parametersto.pyplot.plot.

Note

When making polar plots using thepyplot API,polar() should typically be the first command because that makes surea polar Axes is created. Using other commands such asplt.title()before this can lead to the implicit creation of a rectangular Axes, in whichcase a subsequentpolar() call will fail.

Examples usingmatplotlib.pyplot.polar#

transforms.offset_copy

transforms.offset_copy