Changing Line StyleChanging Line Style

Good! More customizing stuff to go!

Additionally, we can customize more line parameters, such as color, line style, points style. These are the simplest, but the .plot() function has many more parameters available to set (you can read about this in the documentation). Let's consider all of the mentioned parameters:

ParameterPython syntaxDescription
Colorcolor or cSet the color of the line (and points). Possible values for this parameter are in documentation.
Line stylelinestyle or lsSets the style of line (for example, dashed or dotted). Possible values for this parameter are in documentation.
Points stylemarkerSets the marker type (for example, circle or triangle points). Possible values for this parameter are in documentation.

For example, let's modify our example plot even more!

Everything was clear?

Section 1. Chapter 10