Matplotlib is a library created in 2003 by John D. Hunter.
#115on PLDB | 20Years Old | 36.1kUsers |
matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy. It provides an object-oriented API for embedding plots into applications using general-purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+. There is also a procedural "pylab" interface based on a state machine (like OpenGL), designed to closely resemble that of MATLAB, though its use is discouraged. Read more on Wikipedia...
>>> from matplotlib import cm
>>> from mpl_toolkits.mplot3d import Axes3D
>>> import matplotlib.pyplot as plt
>>> import numpy as np
>>> fig = plt.figure()
>>> ax = fig.gca(projection='3d')
>>> X = np.arange(-5, 5, 0.25)
>>> Y = np.arange(-5, 5, 0.25)
>>> X, Y = np.meshgrid(X, Y)
>>> R = np.sqrt(X**2 + Y**2)
>>> Z = np.sin(R)
>>> surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.coolwarm)
>>> plt.show()
title | author | year | reviews | ratings | rating |
---|---|---|---|---|---|
Matplotlib for Python Developers | Sandro Tosi | 2009 | 5 | 21 | 3.19 |
Python and Matplotlib Essentials for Scientists and Engineers | Matt A. Wood | 2015 | 2 | 2 | 2.00 |
Matplotlib for Python Developers: Effective techniques for data visualization with Python, 2nd Edition | Aldrin Yim | 0 | 2 | 3.00 | |
Python Data Analytics: Data Analysis and Science Using Pandas, Matplotlib and the Python Programming Language | Fabio Nelli | 2015 | 1 | 1 | 2.00 |
Matplotlib for Python Developers: Effective Techniques for Data Visualization with Python, 2nd Edition | Aldrin Yim | 0 | 0 | 0.0 | |
Numerical Python: Scientific Computing and Data Science Applications with Numpy, Scipy and Matplotlib | Robert Johansson | 0 | 0 | 0.0 |