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.
2 parents cd185ab + 7c48881 commit 5e5df02Copy full SHA for 5e5df02
doc/users/next_whats_new/bar_label_formatting.rst
@@ -4,7 +4,8 @@ Additional format string options in `~matplotlib.axes.Axes.bar_label`
4
The ``fmt`` argument of `~matplotlib.axes.Axes.bar_label` now accepts
5
{}-style format strings:
6
7
-.. code-block:: python
+.. plot::
8
+ :include-source: true
9
10
import matplotlib.pyplot as plt
11
@@ -18,7 +19,8 @@ The ``fmt`` argument of `~matplotlib.axes.Axes.bar_label` now accepts
18
19
20
It also accepts callables:
21
22
23
24
25
animal_names = ['Lion', 'Gazelle', 'Cheetah']
26
mph_speed = [50, 60, 75]
0 commit comments