8000 Update docs examples to use `title.text` instead of title as a string for `title` by LiamConnors · Pull Request #4850 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Update docs examples to use title.text instead of title as a string for title #4850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix pandas example
  • Loading branch information
LiamConnors committed Nov 6, 2024
commit e15d722b5f5bf0e18ae2c49e75d3465214b73a60
2 changes: 1 addition & 1 deletion doc/python/pandas-backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import pandas as pd
pd.options.plotting.backend = "plotly"

df = pd.DataFrame(dict(a=[1,3,2], b=[3,2,1]))
fig = df.plot(title=dict(text="Pandas Backend Example"), template="simple_white",
fig = df.plot(title="Pandas Backend Example", template="simple_white",
labels=dict(index="time", value="money", variable="option"))
fig.update_yaxes(tickprefix="$")
fig.show()
Expand Down
0