Open Koni2020 opened 6 months ago
do you get similar problem with matplotlib (without importing proplot)? it could be problem from upstream.
@syrte The matplotlib pcolor function performs correctly. So, what's the upstream?
import numpy as np
import matplotlib.pyplot as plt
ds = np.random.random([50, 50])
plt.pcolor(ds)
plt.savefig('test.png')
Would you try this and see it solves the problem
axes.pcolormesh(ds, edgefix=False)
@syrte Thanks for your help. The problem have been solved by passing edgefix=Fasle
into the pcolor function.
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?
Code
Proplot version
matplotlib 3.4.3 proplot 0.9.7