Skip to content

Instantly share code, notes, and snippets.

@jlggross
Last active August 20, 2020 14:47
Show Gist options
  • Save jlggross/b4383d779328879dd93f6d499cbda938 to your computer and use it in GitHub Desktop.
Save jlggross/b4383d779328879dd93f6d499cbda938 to your computer and use it in GitHub Desktop.
Treemap Simples Cores
# Valores não-numéricos/categóricos. Cores discretas.
fig1 = px.treemap(df98, path=["Ação"],
values="Taxa %", color="Ação")
# Valores numéricos. Cores contínuas.
fig1 = px.treemap(df98, path=["Ação"],
values="Taxa %", color="Taxa %")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment