Skip to content

Commit

Permalink
Removed all mpld3 support (#1516)
Browse files Browse the repository at this point in the history
* Removed all mpld3 support

* Removed mpld3 mention in setup.py and updated MPLRenderer docstring

* Removed mentions of mpld3 from .rst files

* Removed mention of mpld3 in Options tutorial

* Removed mention of mpld3 in mplwidgets.js

* Replaced tabs with spaces in mplwidgets.js
  • Loading branch information
philippjfr authored Jun 18, 2017
1 parent f960ab2 commit 041cf45
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 373 deletions.
5 changes: 0 additions & 5 deletions doc/Examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ Extensions
Examples of how the core functionality offered by HoloViews may be
extended in new (and unexpected!) directions:

* `Interactive plots with mpld3
<http://philippjfr.com/blog/interactive-plots-with-holoviews-and-mpld3/>`_:
Example usage of the mpld3 rendering backend allowing you to
generate D3.js-based plots with interactive widgets.

* `Using HoloViews from Julia
<http://philippjfr.com/blog/interfacing-holoviews-with-julia/>`_:
A prototype interface to allow HoloViews to be used from the Julia
Expand Down
2 changes: 1 addition & 1 deletion doc/Tutorials/Options.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"``style`` options are passed directly to the underlying rendering backend that actually draws the plots, allowing you to control the details of how it behaves. The default backend is matplotlib, but there are other backends either using matplotlib's options (e.g. ``mpld3``), or their own sets of options (e.g. [``bokeh``](Bokeh_Backend) ).\n",
"``style`` options are passed directly to the underlying rendering backend that actually draws the plots, allowing you to control the details of how it behaves. The default backend is matplotlib, but there are other backends either using matplotlib's options (e.g. ``nbagg``), or their own sets of options (e.g. [``bokeh``](Bokeh_Backend) ).\n",
"\n",
"For whichever backend has been selected, HoloViews can tell you which options are supported, but you will need to see the plotting library's own documentation (e.g. [matplotlib](http://matplotlib.org/contents.html), [bokeh](http://bokeh.pydata.org)) for the details of their use.\n",
"\n",
Expand Down
7 changes: 3 additions & 4 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ packages that provide additional functionality in HoloViews::

pip install 'holoviews[extras]'

This option installs all the required and recommended packages, plus
the optional `mpld3 <http://mpld3.github.io/>`_,
`pandas <http://pandas.pydata.org/>`_ and
`Seaborn <http://stanford.edu/~mwaskom/software/seaborn/>`_ libraries.
This option installs all the required and recommended packages,
including the `pandas <http://pandas.pydata.org/>`_ and `Seaborn
<http://stanford.edu/~mwaskom/software/seaborn/>`_ libraries.

Lastly, to get *everything*, including `cyordereddict
<https://pypi.python.org/pypi/cyordereddict>`_ to enable optional
Expand Down
7 changes: 0 additions & 7 deletions holoviews/plotting/mpl/comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
target.append(img)
"""

mpld3_msg_handler = """
/* Backend specific body of the msg_handler, updates displayed frame */
target = $('#fig_el{comm_id}');
target.children().each(function () {{ $(this).remove() }});
mpld3.draw_figure("fig_el{comm_id}", msg);
"""

class NbAggCommSocket(CommSocket):
"""
NbAggCommSocket subclasses the matplotlib CommSocket allowing
Expand Down
254 changes: 0 additions & 254 deletions holoviews/plotting/mpl/hooks.py

This file was deleted.

27 changes: 0 additions & 27 deletions holoviews/plotting/mpl/mplwidgets.jinja

This file was deleted.

Loading

0 comments on commit 041cf45

Please sign in to comment.