Skip to content

[Bug]: Edgecolor doesn't work with pcolormesh #21825

Open
@zxdawn

Description

@zxdawn

Bug summary

Edgecolor isn't shown in pcolomesh with matplotlib (3.5.0). It works in 3.2.2.

Code for reproduction

import matplotlib.pyplot as plt 
import numpy as np

Z = np.random.rand(5, 5) 
plt.pcolormesh(Z, cmap='viridis', fc='none', edgecolor='face', lw=5)

Actual outcome

test_3 5 0

Expected outcome

test_3 2 2

Additional information

No response

Operating system

Ubuntu

Matplotlib Version

3.5.0

Matplotlib Backend

QtAgg

Python version

3.8.12

Jupyter version

No response

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