Skip to content

Grid misplacement #455

@Koni2020

Description

@Koni2020

Description

In some cases, I find that the grid plotted by the pcolormesh function exhibits misplacement at the bottom (as shown in the following figure). However, it only occurs when a large matrix (e. g. 50 x 50 matrix) is used. If a small matrix is used, it performs correctly. Is this a bug? How to fix it?

1714547981163

Code

import numpy as np
import proplot as pplt


ds = np.random.random([50, 50])
fig, axes = pplt.subplots(nrows=1, ncols=1)
axes.pcolormesh(ds)
fig.save('test.png')

Proplot version

matplotlib 3.4.3
proplot 0.9.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions