This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.core.compat — Bokeh 0.12.4 documentation

bokeh.core.compat

Implement compatibility between Bokeh and Matplotlib.

All of the functions and classes in bokeh.core.compat are internal implementation details, and not user-facing. For information on the public API for MPL compatibility, see bokeh.mpl.

THIS MODULE IN ITS CURRENT FORM IS NO LONGER MAINTAINED

Warning

Currently, compatibility is implemented using the third-party mplexporter library. This library does not provide a full interface to all of Matplotlib functionality, and is no longer being actively maintained. Accordingly Bokeh’s Matplotlib compatibility is extremely limited.

A full JSON serialization interface for Matplotlib is being planned in MEP25. When this proposal is implemented is completed, work can proceed on a more comprehensive and maintainable integration. Until that time, no further improvements or fixes are planned for Bokeh MPL integration, and it is provided AS-IS, in case it happens to be useful.