Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- Text mining
- Default X points
- start exercise
- line width
- error
- line color
- PANDAS
- Text Analytics
- polynomial regression
- pie charts
- machine learning
- Python
- matplotlib.pyplot
- break
- train/test
- AS
- PROJECT
- Github
- For loops
- iterates
- SQL
- data distribution
- multiple lines
- Else
- MySQL
- __init__
- continue
- variables
- matplotlib
- self parameter
Archives
- Today
- Total
목록line width (1)
Data Science Explorer
Linestyle If you want to change the style of the line, you can use ls. Example import matplotlib.pyplot as plt import numpy as np ypoints = np.array ([2,6,7,0]) plt.plot(ypoints, ls = 'dotted') plt.show() Shorter Syntax linestyle can be written as ls. dotted can be written as :. dashed can be written as --. Line Styles Style Or 'solid' (default) '-' 'dotted' ':' 'dashed' '--' 'dashdot' '-.' 'Non..
Python
2023. 11. 5. 10:30