Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4938,6 +4938,12 @@
marker_obj = marker
else:
marker_obj = mmarkers.MarkerStyle(marker)
if cbook._str_equal(marker_obj.get_marker(), ","):
_api.warn_external(

Check warning on line 4942 in lib/matplotlib/axes/_axes.py

View check run for this annotation

Codecov / codecov/patch

lib/matplotlib/axes/_axes.py#L4942

Added line #L4942 was not covered by tests
"The pixel maker ',' is not supported on scatter(); using "
"a finite-sized square instead, which is not necessarily 1 pixel in "
"size. Use the square marker 's' instead to suppress this warning."
)

path = marker_obj.get_path().transformed(
marker_obj.get_transform())
Expand Down
Loading