Graph drawing method with matplotlib

import matplotlib.pyplot as plt

#Scatter plot
plt.scatter(x, y)

#histogram
plt.hist(y, bins=5)

#bar graph
plt.bar(x, y)

#Line graph
plt.plot(x, y)

#Box plot
plt.boxplot(y)

Recommended Posts

Graph drawing method with matplotlib
Band graph with matplotlib
Real-time drawing with matplotlib
Graph drawing with jupyter (ipython notebook) + matplotlib + vagrant
Graph Excel data with matplotlib (1)
Graph Excel data with matplotlib (2)
Graph drawing with IPython Notebook
Draw a loose graph with matplotlib
[Python] Set the graph range with matplotlib
Try drawing a normal distribution with matplotlib
Animation with matplotlib
Japanese with matplotlib
matplotlib graph album
Graph trigonometric functions with numpy and matplotlib
Animation with matplotlib
Histogram with matplotlib
Animate with matplotlib
Draw a graph with PyQtGraph Part 1-Drawing
Create a graph with borders removed with matplotlib
Draw a flat surface with a matplotlib 3d graph
[Python] limit axis of 3D graph with Matplotlib
Read Python csv data with Pandas ⇒ Graph with Matplotlib
Drawing tips with matplotlib on the server side
Getting Started with Drawing with matplotlib: Writing Simple Functions
Increase the font size of the graph with matplotlib
Draw a graph with matplotlib from a csv file
The basis of graph theory with matplotlib animation
Align Matplotlib graph colors with similar colors (color map)
[Python] Customize Colormap when drawing graphs with matplotlib
2-axis plot with Matplotlib
Kernel Method with Python
Graph drawing in python
Heatmap with Python + matplotlib
Learn with Cheminformatics Matplotlib
Drawing with Python Tinker
Various colorbars with Matplotlib
3D plot with matplotlib
Adjust axes with matplotlib
[Python] How to draw a line graph with Matplotlib
Display the graph while changing the parameters with PySimpleGUI + Matplotlib
Study math with Python: Draw a sympy (scipy) graph with matplotlib
Drawing GoogLeNet with caffe's draw_net
Draw a graph with NetworkX
Try using matplotlib with PyCharm
Method chain with `return self`
[Python] Calculation method with numpy
Create graph with plotly button
Multiple file processing with Kivy + Matplotlib + Draw Graph on GUI
Data visualization method using matplotlib (1)
Create SVG graph with matplotlib on heroku (displayed in Japanese)
Stackable bar plot with matplotlib
Real-time graph display by matplotlib
Data visualization method using matplotlib (2)
Gradient color selection with matplotlib
Draw a graph with networkx
Animate multiple graphs with matplotlib
[Graph drawing] I tried to write a bar graph of multiple series with matplotlib and seaborn
Create plot animation with Python + Matplotlib
A python graphing manual with Matplotlib.
Draw a graph with Julia + PyQtGraph (2)
Inference & result display with Tensorflow + matplotlib