[Answered ]-Matplot lib image properties in web (Django)

1👍

Matplotlib is a server side library so you cannot do anything on the client side like that.

The closest you can come is to either use mpld3 (mpld3 works by converting a matplotlib graph into the html/js that a d3 js graph would need to render) or a different client side library that plots points.

👤Sayse

1👍

The easiest way of serving pure matplotlib to the web is using a jupyter notebook.

Other than that, you may want to look at specific libraries like Plotly or bokeh.

Leave a comment