Skip to content

[Bug]: Improper edges of half-filled triangular markers #28547

Closed as not planned
@ktgeier

Description

@ktgeier

Bug summary

Half-filled triangular markers with edges have strange crown-like features at the top.

Code for reproduction

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

ax.plot(
    0.5,
    0.5,
    linestyle="none",
    marker="^",
    markersize=50,
    markerfacecolor="tab:red",
    markerfacecoloralt="tab:blue",
    markeredgecolor="black",
    markeredgewidth=5,
    fillstyle="left",
)

plt.show()

Actual outcome

Figure_1

Expected outcome

There should be no little "crown" at the top.

Additional information

No response

Operating system

Manjaro

Matplotlib Version

3.8.4

Matplotlib Backend

QtAgg

Python version

Python 3.12.4

Jupyter version

4.0.11

Installation

conda

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions