Skip to content

Non-default color_cycle not working in Pie plot #4975

Closed
@rubennj

Description

@rubennj

Changing the default color_cycle works in other charts but not in pie.

import matplotlib as mpl
import matplotlib.pylab as plt

mpl.rcParams['axes.color_cycle'] = ['c', 'm', 'y', 'k']

fig, ax = plt.subplots()

ax.pie([15, 30, 45, 10])

New colors can be used only changing the colors parameter of pie.

Versions: MPL 1.4.3 - Python 3.4.1 - Windows

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions