plotly / angular-plotly.js

MIT License
231 stars 78 forks source link

Templates in angular-plotly.js? #157

Open jabbarn opened 3 years ago

jabbarn commented 3 years ago

Hi there

I was wondering if there are templates in angular-plotly.js since there are in the python version.

import plotly.express as px

df = px.data.gapminder()
df_2007 = df.query("year==2007")

for template in ["plotly", "plotly_white", "plotly_dark", "ggplot2", "seaborn", "simple_white", "none"]:
    fig = px.scatter(df_2007,
                     x="gdpPercap", y="lifeExp", size="pop", color="continent",
                     log_x=True, size_max=60,
                     template=template, title="Gapminder 2007: '%s' theme" % template)
    fig.show()

source: https://plotly.com/python/templates/

lowrykun commented 2 years ago

I'm wondering the same thing a year later.

kiranatious commented 2 years ago

is it supported ?

kiranatious commented 2 years ago

please add this feature