Closed
Description
Bug report
The entire 3d plot after latex compilation has the same color, i.e. a bug similar to #7243 also applies also to the command matplotlib.pyplot.pcolor()
.
Code for reproduction
import numpy as np
import matplotlib.pyplot as plt
from matplotlib2tikz import save as tikz_save
pa = np.linspace(.1, 1, num=11)
pb = np.linspace(.1, 1, num=11)
pa, pb = np.meshgrid(pa, pb)
q = 1/(pa+pb)
plt.pcolor(pa, pb, q)
plt.colorbar()
tikz_save('test_tikz.tikz')
Actual outcome
The pdf generated with latex containing the 3d plot is supposed to be of variable color but the entire 3d plot has the same color.
Versions
Operating System: Linux 4.18.9-arch1-1-ARCH
Python = 3.7.0 (installed from pacman)
numpy = 1.15.2
matplotlib = 2.2.3
matplotlib2tikz = 0.6.18
Metadata
Metadata
Assignees
Labels
No labels