matplotlib plot dashed
plot(x, y, color='green', linestyle='dashed', marker='o',
markerfacecolor='blue', markersize=12).
matplotlib plot dashed
plot(x, y, color='green', linestyle='dashed', marker='o',
markerfacecolor='blue', markersize=12).
add dots to line matplotlib
#Python, matplotlib
from matplotlib import pyplot as plt
#Create the regular line graph with plt.plot, then add the marker argument.
plt.plot(df["col1"], marker='o')
#Example of a few markers:
- solid line style
-- dashed line style
-. dash-dot line style
: dotted line style
. point marker
, pixel marker
o circle marker
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us