Thanks to visit codestin.com Credit goes to github.com
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 0ca30c2 commit 6ac62c8Copy full SHA for 6ac62c8
1 file changed
galleries/examples/statistics/histogram_bihistogram.py
@@ -32,7 +32,7 @@
32
# Plot the first histogram
33
ax.hist(dataset1, bins=n_bins, label="Dataset 1")
34
35
-# Plot the second histogram
+# Plot the second histogram
36
# (notice the negative weights, which flip the histogram upside down)
37
ax.hist(dataset2, weights=-np.ones_like(dataset2), bins=n_bins, label="Dataset 2")
38
ax.axhline(0, color="k")
0 commit comments