dsalaj dsalaj - 1 year ago 178
Python Question

How to make a contour plot in python using Bokeh (or other libs)?

I am interested in making a contour plot in Bokeh. I have not been able to find anything on the net so far.

As a reminder, this is contour plot:

enter image description here

Any help would be appreciated. I would also welcome suggestions to other libraries but with prerequisite of allowing for interactive/animated plots, and not only rendering static output (images).

Answer Source

Plotly has supported contour plots in Python for the past year:

https://plot.ly/python/contour-plots/

https://plot.ly/pandas/contour-plots/

Density plots (contour plots with adjacent histograms):

https://plot.ly/python/2d-density-plots/

https://plot.ly/pandas/2d-density-plots/

The Plotly Python library is on pip, 100% free and open-source.

python-contour-plot

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download