Templates in angular-plotly.js?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- angular, typescript
调研方向
先从链接的 Plotly Python 模板文档开始,然后检查 angular-plotly.js,了解图表配置的入口点以及现有的任何模板相关选项。该 issue 未指定文件或测试;完成这项工作需要确认是否支持模板,并在不支持的情况下定义 Angular 侧所需的更改。
由索引模型根据 Issue 内容生成。
描述
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()
- 主要语言
- TypeScript
- 星标
- 242
- 派生
- 81
- 平均合并
- 8 小时 48 分钟
- 30 天内合并 PR
- 18
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
plotly/angular-plotly.js 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
plotly/angular-plotly.js#285 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
plotly/angular-plotly.js#283 ·
-
难度 3/5 1-2 天 新手友好度 35/100
plotly/angular-plotly.js#281 · 8 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
plotly/angular-plotly.js#278 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 38/100
plotly/angular-plotly.js#276 · 2 条评论 ·