본문 바로가기

Data Science Explorer

검색하기
Data Science Explorer
프로필사진 grace21110

  • Categories (96)
    • GitHub (4)
    • Python (42)
    • Django (3)
    • MySQL (0)
    • Machine Learning (10)
    • Project (0)
    • PostgreSQL (0)
    • SQL (33)
    • Projects (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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 31
Tags
  • AS
  • variables
  • Default X points
  • MySQL
  • __init__
  • Text mining
  • self parameter
  • train/test
  • Python
  • line color
  • break
  • continue
  • PANDAS
  • Github
  • error
  • line width
  • machine learning
  • matplotlib
  • iterates
  • data distribution
  • PROJECT
  • SQL
  • multiple lines
  • matplotlib.pyplot
  • Else
  • Text Analytics
  • polynomial regression
  • For loops
  • start exercise
  • pie charts
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록line width (1)

Data Science Explorer

Matplotlib: Matplotlib Line

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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바