Skip to content

scatter ignores marker cycler #15105

Open
@ianhbell

Description

@ianhbell

Bug report

Bug summary

The marker cycler does not appear to work with scatter

Code for reproduction

import matplotlib.pyplot as plt
fig, ax = plt.subplots(1, 1)
ax.set_prop_cycle('marker', ['x','o','d','s'])
x= [1, 2, 3]
for yoffset in 1,2,3,4:
    ax.scatter(x, [_y+yoffset for _y in x])
plt.show()
#

Actual outcome

image

Expected outcome

A cycling marker for each call to scatter

Matplotlib version

  • Operating system: windows
  • Matplotlib version: 3.1.1
  • Matplotlib backend : Qt5Agg
  • Python version: 3.7

conda-forge

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions