Skip to content

Stepfilled color cycle for background and edge different #6493

Closed
@Carreau

Description

@Carreau

I just realized that stepfilled (http://matplotlib.org/devdocs/examples/statistics/histogram_demo_multihist.html)
has edge color cycle different from background color (which looks weird) didn't found any issues about that , so asking the question, as 2.x will change default style is is too late to change that ? (or is that a bug)

Matplotlib 1.5 and 2.0b

# %matplotlib inline

import numpy as np
import matplotlib.pyplot as plt

n_bins = 10
x = np.random.randn(1000, 3)

fig, ax = plt.subplots(nrows=1, ncols=1)
ax.hist(x, n_bins, histtype='step', stacked=True, fill=True)

plt.show()

Note that in attached example it's even weirder as the green as a gree edge, while the blue as a red edge and red has a blue edge.
joz7rxkid5aaaaabjru5erkjggg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions