Answers for "dashed line matplotlib"

4

matplotlib plot dashed

plot(x, y, color='green', linestyle='dashed', marker='o',
     markerfacecolor='blue', markersize=12).
Posted by: Guest on November-22-2020
0

plt dashed line

import matplotlib.pyplot as plt
import numpy as np
plt.plot(np.random.rand(30),'--')
plt.show()
Posted by: Guest on October-13-2021

Python Answers by Framework

Browse Popular Code Answers by Language