Non-default `color_cycle` not working in Pie plot · Issue #4975 · matplotlib/matplotlib · GitHub
Skip to content

Non-default color_cycle not working in Pie plot #4975

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions