matplotlib
matplotlib #matplotlibTable of ContentsAbout1Chapter 1: Getting started with matplotlib2Remarks2Overview2Versions2Exa mples2Installation and Setup2Windows2OS X2Linux3Debian/Ubuntu3Fedora/Red Hat3Troubleshooting3Customizing a matplotlib plot3Imperative vs. Object-oriented Syntax5Two dimensional (2D) arrays6Chapter 2: Animations and interactive plotting8Introduction8Examples8Basic animation with FuncAnimation8Save animation to gif9Interactive controls with live data from pipe with matplotlib11Chapter 3: Basic Plots14Examples14Scatter Plots14A simple scatter plot14A Scatterplot with Labelled Points15Shaded Plots16Shaded region below a line16Shaded Region between two lines17Line plots18Simple line plot18Data plot20Data and line21Heatmap22Chapter 4: Boxplots26Examples26Basic Boxplots26Chapter 5: Boxplots28Examples28Boxplot function28Chapter 6: Closing a figure window35Syntax35Examples35Closing the current active figure using pyplot35Closing a specific figure using ()35Chapter 7.
Debian/Ubuntu sudo apt-get install python-matplotlib Fedora/Red Hat sudo yum install python-matplotlib Troubleshooting See the matplotlib website for advice on how to fix a broken matplotlib. Customizing a matplotlib plot import pylab as plt import numpy as np plt.style.use('ggplot') fig = plt.figure(1) ax = plt.gca() # make some testing data
Download matplotlib
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: