diff --git a/doc/devel/contributing.rst b/doc/devel/contributing.rst index ab2360393a5e..f80a87f9b735 100644 --- a/doc/devel/contributing.rst +++ b/doc/devel/contributing.rst @@ -327,7 +327,7 @@ prevent unexpected breaking of code that uses Matplotlib. - If possible, usage of an deprecated API should emit a `.MatplotlibDeprecationWarning`. There are a number of helper tools for this: - - Use `.cbook.warn_deprecated()` for general deprecation warnings. + - Use ``cbook.warn_deprecated()`` for general deprecation warnings. - Use the decorator ``@cbook.deprecated`` to deprecate classes, functions, methods, or properties. - To warn on changes of the function signature, use the decorators