diff --git a/doc/users/next_whats_new/tick_labelfont_param.rst b/doc/users/next_whats_new/tick_labelfont_param.rst index aa99e97a1295..b7d9877f542c 100644 --- a/doc/users/next_whats_new/tick_labelfont_param.rst +++ b/doc/users/next_whats_new/tick_labelfont_param.rst @@ -5,4 +5,4 @@ label font separately from the rest of the text objects: .. code-block:: python - Axis.tick_params(labelfont='monospace') + Axis.tick_params(labelfontfamily*='monospace')