wookayin / expt

Experiment. Plot. Tabulate.
MIT License
68 stars 6 forks source link

Integration w/ vega #20

Open vwxyzjn opened 1 year ago

vwxyzjn commented 1 year ago

Hi @wookayin, was wondering if it would be easy to integrate with Vega-Altair, which helps export interactive HTML such as the one used in Tianshou's benchmark

image
wookayin commented 1 year ago

Yes, this should be possible although it's not that easy. Other than matplotlib, we currently have another backend hvplot (https://hvplot.holoviz.org/) with a limited support. But I also have been thinking about having more interactive plot backends.

One problem is that actually lots of expt's plot API are assuming matplotlib as the backend (e.g. parameter name, style of API, etc.) which would need some backward-incompatible changes if we want to be generic.