Skip to content

Third party docs fixes/updates #6088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
07d54b9
Fixed path to thirdpartypackages from main docs page, and added links…
jbednar Mar 1, 2016
663ea0c
Reorganized thirdpartypackages web page and added images and links
jbednar Mar 1, 2016
7a92005
Fixed trailing whitespace
jbednar Mar 1, 2016
a1e3daa
Removed outdated version reference in docs
jbednar Mar 2, 2016
efff4d0
bug fix related #5479
ryanbelt Feb 22, 2016
ce66585
raising error,rather then check type
ryanbelt Feb 23, 2016
f6bde3a
minor fix on indentation
ryanbelt Feb 23, 2016
08147b3
fix indention to 4 space, but not tap
ryanbelt Feb 23, 2016
f871bc8
Correct link to favicon by using build in sphix support
jenshnielsen Feb 22, 2016
360d891
added test for bug#5479 auto column
ryanbelt Feb 26, 2016
76e292c
pep8 new line at last
ryanbelt Feb 26, 2016
7cf7792
fix pep8 miss space after comma
ryanbelt Feb 26, 2016
64a6f5f
pep8 line gt 80 fix
ryanbelt Feb 26, 2016
b2f3621
comment fix, rerun online testing
ryanbelt Feb 26, 2016
7b0aa47
non integer interable test case
ryanbelt Feb 28, 2016
8201b55
fixed bug 6028
crazyo Feb 29, 2016
a0f5c3a
fixed a bug in previous PR
crazyo Feb 29, 2016
b204995
made change to PR according to comments
crazyo Feb 29, 2016
81b7537
Fixed issue 4346
paulkirow Feb 29, 2016
9a5c275
Created test for previous issue
paulkirow Mar 1, 2016
f719105
Removed redundancies in test
paulkirow Mar 1, 2016
5062ecb
changed non_math to math according to comments on bug 6028
crazyo Mar 1, 2016
8a3b1c0
MNT: Bring back the module level 'backend'
ericdill Mar 2, 2016
dc9384c
MNT: Set the module level `backend` in pylab_setup
ericdill Mar 2, 2016
f9a1540
MNT: Set the module backend param at the end
ericdill Mar 2, 2016
d83f61d
PEP8: Shorten lines that are too long
ericdill Mar 2, 2016
3b75b74
Update INSTALL
scott-vsi Mar 2, 2016
d26e1dc
Fix #6069. Handle image masks correctly
mdboom Mar 2, 2016
6577dc3
Update INSTALL
scott-vsi Mar 2, 2016
a7359f9
Update installing_faq.rst
scott-vsi Mar 2, 2016
7ee82d6
Fix image_masked.py example
mdboom Mar 2, 2016
7af951d
CI: try explicitly including msvc_runtime
tacaswell Mar 6, 2016
a49a68e
CI: add msvc_runtime to conda recipe
tacaswell Mar 6, 2016
871be40
CI: install libpng in windows
tacaswell Mar 6, 2016
3abe936
added comment on "usetex=False" to ainde debugging when latex not ava…
dacoex Mar 4, 2016
270092a
BUG Raise exception for invalid input
luispedro Oct 6, 2013
0afc45e
Fixes matplotlib/matplotlib#1235
dashed Mar 2, 2016
39d3630
MNT: improve image array argument checking in to_rgba. Closes #2499.
efiring Mar 7, 2016
cd89bcb
Fix about dialog on Qt 5
estan Mar 7, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ Required Dependencies
Used to manipulate time-zone aware datetimes. http://pypi.python.org/pypi/pytz

:term:`FreeType` 2.3 or later
library for reading true type font files.
Library for reading true type font files. If using pip, easy_install or
installing from source, the installer will attempt to locate FreeType in
expected locations. If it cannot, try installing `pkg-config
<http://matplotlib.org/users/installing.html#optional-dependencies>`__,
a tool used to find required non-python libraries.

`cycler <http://matplotlib.org/cycler/>`__ 0.9 or later
Composable cycle class used for constructing style-cycles
Expand Down Expand Up @@ -301,7 +305,7 @@ running::

su -c "yum-builddep python-matplotlib"

This does not build matplotlib, but it does get the install the
This does not build matplotlib, but it does get and install the
build dependencies, which will make building from source easier.


Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ install:
- cmd: copy "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat"

# same things as the requirements in ci/conda_recipe/meta.yaml
- cmd: conda create -y -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype msinttypes tk pyparsing pytz tornado libpng zlib pyqt cycler nose mock
- cmd: conda create -y -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype msinttypes tk pyparsing pytz tornado libpng zlib pyqt cycler nose mock msvc_runtime
- activate test-environment
- cmd: echo %PYTHON_VERSION% %TARGET_ARCH%
- cmd: IF %PYTHON_VERSION% == 2.7 conda install -y functools32
Expand Down
4 changes: 3 additions & 1 deletion ci/conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ requirements:
- pyqt # [not osx]
- tk # [linux and win]
- functools32 # [py2k]
- msvc_runtime # [win]

run:
- python
Expand All @@ -51,10 +52,11 @@ requirements:
- pytz
- pyparsing
# - py2cairo # [linux and py2k]
- libpng # [unix]
- libpng
- pyqt # [not osx]
- tk # [linux and win]
- functools32 # [py2k]
- msvc_runtime # [win]

test:
imports:
Expand Down
Binary file added doc/_static/ggplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/holoviews.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/_static/seaborn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions doc/_templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,13 @@ <h1>Toolkits</h1>

<h1>Third party packages</h1>

<p>A large number of third party <a href="{{ pathto('mpl_toolkits/index') }}">packages</a>
extend and build on Matplotlib functionality,
including a choice of two projection and mapping toolkits
<p>A large number of <a href="{{ pathto('thirdpartypackages/index') }}">third party packages</a>
extend and build on Matplotlib functionality, including several
higher-level plotting interfaces
<a href="http://web.stanford.edu/~mwaskom/software/seaborn">seaborn</a>,
<a href="http://holoviews.org">holoviews</a>, and
<a href="http://ggplot.yhathq.com">ggplot</a>,
and a choice of two projection and mapping toolkits
<a href="http://matplotlib.org/basemap">basemap</a> and
<a href="http://scitools.org.uk/cartopy/docs/latest">cartopy</a>.
</p>
Expand Down
2 changes: 0 additions & 2 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ <h3>{{ _('Navigation') }}</h3>

{% block relbar1 %}

<link rel="shortcut icon" href="/_static/favicon.ico">

<!-- The "Fork me on github" ribbon -->
<img style="float: right; margin-bottom: -40px; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" usemap="#ribbonmap"/>
<map name="ribbonmap">
Expand Down
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'Matplotlibdoc'

# Path to favicon
html_favicon = '_static/favicon.ico'

# Options for LaTeX output
# ------------------------
Expand Down
8 changes: 4 additions & 4 deletions doc/faq/installing_faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ You can now install matplotlib and all its dependencies with::

pip install matplotlib

Macports
^^^^^^^^
Macports Python
^^^^^^^^^^^^^^^

For Python 2.7::

Expand All @@ -259,8 +259,8 @@ For Python 3.4::
sudo port install py34-pip
sudo pip-3.4 install matplotlib

Homebrew
^^^^^^^^
Homebrew Python
^^^^^^^^^^^^^^^

For Python 2.7::

Expand Down
149 changes: 90 additions & 59 deletions doc/thirdpartypackages/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,75 +5,104 @@
*********************

Several external packages that extend or build on Matplotlib functionality
exist. Below we list a number of these. Please submit an issue or pull request
exist. Below we list a number of these. Note that they are each
maintained and distributed separately from Matplotlib, and will need
to be installed individually.

Please submit an issue or pull request
on Github if you have created a package that you would like to have included.
We are also happy to host third party packages within the `Matplotlib Github
Organization <https://github.com/matplotlib>`_.

.. _toolkits-general:
.. _hl_plotting:

General Toolkits
****************
High-Level Plotting
*******************

Several projects provide higher-level interfaces for creating
matplotlib plots.

.. _toolkit_mpldatacursor:
.. _toolkit_seaborn:

MplDataCursor
=============
seaborn
=======

`MplDataCursor <https://github.com/joferkington/mpldatacursor>`_ is a
toolkit written by Joe Kington to provide interactive "data cursors"
(clickable annotation boxes) for matplotlib.
`seaborn <http://web.stanford.edu/~mwaskom/software/seaborn>`_ is a high
level interface for drawing statistical graphics with matplotlib. It
aims to make visualization a central part of exploring and
understanding complex datasets.

.. image:: /_static/seaborn.png
:height: 157px

.. _toolkit_natgrid:

Natgrid
=======
.. _toolkit_holoviews:

mpl_toolkits.natgrid is an interface to natgrid C library for gridding
irregularly spaced data. This requires a separate installation of the
`natgrid toolkit <http://github.com/matplotlib/natgrid>`__.
holoviews
=========

`holoviews <http://holoviews.org>`_ makes it easier to visualize data
interactively, especially in a `Jupyter notebook
<http://jupyter.org>`_, by providing a set of declarative
plotting objects that store your data and associated metadata. Your
data is then immediately visualizable alongside or overlaid with other
data, either statically or with automatically provided widgets for
parameter exploration.

.. _toolkit_matplotlibvenn:
.. image:: /_static/holoviews.png
:height: 354px

Matplotlib-Venn
===============

`Matplotlib-Venn <https://github.com/konstantint/matplotlib-venn>`_ provides a set of functions for plotting 2- and 3-set area-weighted (or unweighted) Venn diagrams.
.. _toolkit_ggplot:

mplstereonet
===============
ggplot
======

`mplstereonet <https://github.com/joferkington/mplstereonet>`_ provides stereonets for plotting and analyzing orientation data in Matplotlib.
`ggplot <http://ggplot.yhathq.com>`_ is a port of the R ggplot2
to python based on matplotlib.

.. image:: /_static/ggplot.png
:height: 195px

.. _hl_plotting:
.. _toolkits-mapping:

High-Level Plotting
*******************
Mapping Toolkits
****************

Several projects have started to provide a higher-level interface to
matplotlib. These are independent projects.
Two independent mapping toolkits are available.

.. _toolkit_seaborn:
.. _toolkit_basemap:

seaborn
Basemap
=======

`seaborn <http://web.stanford.edu/~mwaskom/software/seaborn>`_ is a high
level interface for drawing statistical graphics with matplotlib. It
aims to make visualization a central part of exploring and
understanding complex datasets.
Plots data on map projections, with continental and political
boundaries, see `basemap <http://matplotlib.org/basemap>`_
docs.

.. _toolkit_ggplot:
.. image:: /_static/basemap_contour1.png
:height: 400px

ggplot
======

`ggplot <https://github.com/yhat/ggplot>`_ is a port of the R ggplot2
to python based on matplotlib.

Cartopy
=======

`Cartopy <http://scitools.org.uk/cartopy/docs/latest>`_ builds on top of
matplotlib to provide object oriented map projection definitions and close
integration with Shapely for powerful yet easy-to-use vector data processing
tools. An example plot from the
`Cartopy gallery <http://scitools.org.uk/cartopy/docs/latest/gallery.html>`_:

.. image:: /_static/cartopy_hurricane_katrina_01_00.png
:height: 400px


.. _toolkits-misc:
.. _toolkits-general:

Miscellaneous Toolkits
**********************


.. _toolkit_prettyplotlib:
Expand Down Expand Up @@ -107,35 +136,37 @@ feature.
.. image:: /_static/matplotlib_iterm2_demo.png


.. _toolkits-mapping:
.. _toolkit_mpldatacursor:

Mapping Toolkits
****************
MplDataCursor
=============

`MplDataCursor <https://github.com/joferkington/mpldatacursor>`_ is a
toolkit written by Joe Kington to provide interactive "data cursors"
(clickable annotation boxes) for matplotlib.

.. _toolkit_basemap:

Basemap
.. _toolkit_natgrid:

Natgrid
=======

Plots data on map projections, with continental and political
boundaries, see `basemap <http://matplotlib.org/basemap>`_
docs.
mpl_toolkits.natgrid is an interface to natgrid C library for gridding
irregularly spaced data. This requires a separate installation of the
`natgrid toolkit <http://github.com/matplotlib/natgrid>`__.

.. image:: /_static/basemap_contour1.png
:height: 400px

.. _toolkit_matplotlibvenn:

Matplotlib-Venn
===============

Cartopy
=======
`Matplotlib-Venn <https://github.com/konstantint/matplotlib-venn>`_ provides a set of functions for plotting 2- and 3-set area-weighted (or unweighted) Venn diagrams.

An alternative mapping library written for matplotlib ``v1.2`` and beyond.
`Cartopy <http://scitools.org.uk/cartopy/docs/latest>`_ builds on top of
matplotlib to provide object oriented map projection definitions and close
integration with Shapely for powerful yet easy-to-use vector data processing
tools. An example plot from the
`Cartopy gallery <http://scitools.org.uk/cartopy/docs/latest/gallery.html>`_:

.. image:: /_static/cartopy_hurricane_katrina_01_00.png
:height: 400px
.. _toolkit_mplstereonet:

mplstereonet
===============

`mplstereonet <https://github.com/joferkington/mplstereonet>`_ provides stereonets for plotting and analyzing orientation data in Matplotlib.
1 change: 1 addition & 0 deletions examples/pylab_examples/multipage_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
pdf.savefig() # saves the current figure into a pdf page
plt.close()

# if LaTeX is not installed or error caught, change to `usetex=False`
plt.rc('text', usetex=True)
plt.figure(figsize=(8, 6))
x = np.arange(0, 5, 0.1)
Expand Down
6 changes: 3 additions & 3 deletions examples/user_interfaces/embedding_in_qt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import matplotlib
# Make sure that we are using QT5
matplotlib.use('Qt5Agg')
from PyQt5 import QtGui, QtCore, QtWidgets
from PyQt5 import QtCore, QtWidgets

from numpy import arange, sin, pi
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
Expand Down Expand Up @@ -117,8 +117,8 @@ def closeEvent(self, ce):
self.fileQuit()

def about(self):
QtGui.QMessageBox.about(self, "About",
"""embedding_in_qt5.py example
QtWidgets.QMessageBox.about(self, "About",
"""embedding_in_qt5.py example
Copyright 2005 Florent Rougon, 2006 Darren Dale, 2015 Jens H Nielsen

This program is a simple example of a Qt5 application embedding matplotlib
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def _apply_params(self, **kw):
# -> points. grab the integer from the `Text` object
# instead of saving the string representation
v = getattr(self.label1, 'get_' + k)()
setattr(self, '_' + k, v)
setattr(self, '_label' + k, v)


class XTick(Tick):
Expand Down
Loading