Skip to content

Unknown Border Appearing When Using pcolor/pcolormesh #16029

@TheCedarPrince

Description

@TheCedarPrince

Bug report

Bug summary

The color pattern that appears when using imshow, shows along a pcolor grid for an unknown reason. Creates conflicting grid and coloring sequence.

Code for reproduction

import matplotlib.pyplot as plt
import numpy as np

data = np.random.rand(10, 10)
plt.pcolormesh(data, edgecolors="k", linewidth=2)
ax = plt.gca()
ax.set_aspect("equal")
plt.imshow(data)
plt.show()

Actual outcome

error

Expected outcome

success

Matplotlib version

  • Operating system: Fedora 30 x86_64
  • Matplotlib version: 3.1.2
  • Matplotlib backend: TkAgg
  • Python version: 3.7.4
  • Other libraries: numpy==1.18.0

Note: matplotlib==3.1.2 was installed via pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationstatus: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy