擅长:python、mysql、java
<p>可以将它们绘制为具有各种cmap替代项的图像:<a href="https://matplotlib.org/examples/color/colormaps_reference.html" rel="nofollow noreferrer">https://matplotlib.org/examples/color/colormaps_reference.html</a></p>
<p>但是从这里你需要更多的格式。。。在</p>
<pre><code>import matplotlib.pyplot as plt
plt.imshow(df.values, interpolation="nearest", cmap='Blues')
plt.show()
</code></pre>
<p><a href="https://i.stack.imgur.com/I23jd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I23jd.png" alt="enter image description here"/></a></p>