def mpl2bokeh(ps, data, plot_inds, **kwargs):
"""
"""
if not conf.devel:
raise NotImplementedError("'mpld3' plotting backend not officially supported for this release. Enable developer mode to test.")
if not _use_bkh:
raise ImportError("failed to import bokeh: try 'sudo pip install bokeh' or choose another plotting backend")
if not _use_mpl:
raise ImportError("failed to import matplotlib: try 'sudo pip install matplotlib' or choose another plotting backend")
# mpl2bokeh compiles everything through matplotlib and tries to convert
# only when calling show
return mpl(ps, data, plot_inds, **kwargs)
评论列表
文章目录