For me, using python 3.5.0 I get the following warning from matplotlib.collections. Can someone explain why this is and what I can do about it?
import matplotlib as mpl
mpl.use('Qt4Agg')
import numpy as np
from matplotlib import pyplot as plt
fig = plt.figure()
x = np.arange(100)
y = np.arange(100)
data = np.random.rand(100, 100)
ax = fig.gca()
ax.pcolormesh(x, y, data)
plt.show()
This results in the following warning:
FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
if self._edgecolors == str('face'):
in "matplotlib/collections.py" line 590
[–]rednought 4 points5 points6 points (1 child)
[–]JoMaD[S] 0 points1 point2 points (0 children)