angular-plotly.js icon indicating copy to clipboard operation
angular-plotly.js copied to clipboard

Templates in angular-plotly.js?

Open jabbarn opened this issue 4 years ago • 3 comments

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/

jabbarn avatar Apr 11 '21 11:04 jabbarn

I'm wondering the same thing a year later.

lowrykun avatar Apr 13 '22 17:04 lowrykun

is it supported ?

kiranatious avatar Jul 19 '22 11:07 kiranatious

please add this feature

kiranatious avatar Jul 19 '22 11:07 kiranatious