Skip to content

BUG: mpl_style 'default' gives AttributeError: Unknown property color_cycle with latest matplotlib  #11727

Closed
jvns/neural-nets-are-weird
#6
@jorisvandenbossche

Description

@jorisvandenbossche

http://stackoverflow.com/questions/33995707/attributeerror-unknown-property-color-cycle

In [1]: matplotlib.__version__
Out[1]: '1.5.0'

In [2]: df = pd.DataFrame(np.random.randn(5,5))

In [4]: df.plot()
Out[4]: <matplotlib.axes._subplots.AxesSubplot at 0x7bc5c50>

In [5]: pd.set_option('display.mpl_style', 'default')

In [6]: df.plot()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
....

AttributeError: Unknown property color_cycle

In [7]: pd.__version__
Out[7]: '0.17.1'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions