We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea9a5b3 commit cdce7afCopy full SHA for cdce7af
doc/devel/add_new_projection.rst
@@ -104,11 +104,11 @@ elements:
104
105
Once the projection axes is defined, it can be used in one of two ways:
106
107
- - By defining the class attribute ``NAME``, the projection axes can be
+ - By defining the class attribute ``name``, the projection axes can be
108
registered with :func:`matplotlib.projections.register_projection`
109
and subsequently simply invoked by name::
110
111
- plt.axes(projection=NAME)
+ plt.axes(projection='my_proj_name')
112
113
- For more complex, parameterisable projections, a generic "projection"
114
object may be defined which includes the method ``_as_mpl_axes``.
0 commit comments