Answers for "assign custom colors matplotlib"

3

change graph colors python matplotlib

plt.plot([values], color='color')
Posted by: Guest on May-09-2021
-2

add colorbar matplotlib

import matplotlib.pyplot as plt

plt.figure()
m = create_map()
plt.scatter(*positions[::-1],c=count_vec)
plt.colorbar()
plt.show()
Posted by: Guest on July-13-2020

Python Answers by Framework

Browse Popular Code Answers by Language