Skip to content

Add Pictogram Bar Chart Tested and Improvements #4958

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 8 commits into from
Jun 26, 2025
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
Next Next commit
Update bar-charts.md
  • Loading branch information
rl-utility-man authored Jun 5, 2025
commit fbbae167aa48b9bc049f14c8889e90fd1be86f80
2 changes: 1 addition & 1 deletion doc/python/bar-charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def pictogram_bar(data, title, icon_size, max_icons_per_column=10, units_per_ico
# we've got all the labeling we need without a legend
showlegend=False,
height=700,
# the x-coordinates get scales to fill available space, so adjusting the width is a good way to adjust spacing between columns
# the x-coordinates scale to fill available space, so adjusting the width of the image is a good way to adjust spacing between columns
width=(len(data) * 150 + 50)
)
fig.show()
Expand Down