You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parameters ``hatch``, ``edgecolor``, ``linewidth`` and ``linestyle`` of the `~matplotlib.axes.Axes.hist` method are now vectorized.
5
-
This means that you can pass in unique parameters for each histogram that is generated when the input *x* has multiple datasets.
6
-
Note that the ``facecolor`` parameter is not vectorized, but the required behavior can be achieved by passing a list of colors to the ``color`` parameter.
4
+
The parameters ``hatch``, ``edgecolor``, ``linewidth`` and ``linestyle`` of the
5
+
`~matplotlib.axes.Axes.hist` method are now vectorized.
6
+
This means that you can pass in unique parameters for each histogram that is generated
7
+
when the input *x* has multiple datasets.
8
+
Note that the ``facecolor`` parameter is not vectorized, but the required behavior can
9
+
be achieved by passing a list of colors to the ``color`` parameter.
7
10
8
11
.. plot::
9
12
:include-source: true
10
-
:alt: Three charts, identified as ax1, ax2 and ax3, show a stacking of three histograms representing Poisson distributions. The histograms in ax1, ax2, and ax3 are differentiated by linewidths, hatches and linestyles, respectively. In ax1, ax2, and ax3, each histogram is bordered by a different color.
13
+
:alt: Three charts, identified as ax1, ax2 and ax3, show a stacking of three
14
+
histograms representing Poisson distributions. The histograms in ax1, ax2,
15
+
and ax3 are differentiated by linewidths, hatches and linestyles,
16
+
respectively. In ax1, ax2 and ax3, each histogram is bordered by a different
17
+
color.
11
18
12
19
import matplotlib.pyplot as plt
13
20
import numpy as np
@@ -21,15 +28,18 @@ Note that the ``facecolor`` parameter is not vectorized, but the required behavi
0 commit comments