From c754a260309bfe0ec9579c3e4f94debd2880bf12 Mon Sep 17 00:00:00 2001 From: Rob Letzler <22990670+rl-utility-man@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:12:28 -0400 Subject: [PATCH] added Python decorator to the markdown --- doc/python/horizontal-bar-charts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/horizontal-bar-charts.md b/doc/python/horizontal-bar-charts.md index 274e53010bb..1daf8c65051 100644 --- a/doc/python/horizontal-bar-charts.md +++ b/doc/python/horizontal-bar-charts.md @@ -112,7 +112,7 @@ fig.show() ### Small multiple horizontal bar charts show each component's size more clearly than a stacked bar Bar charts with multiple components pose a fundamental trade off between presenting the total clearly and presenting the component values clearly. This small multiples approach shows the component magnitudes clearly at the cost of slightly obscuring the totals. A stacked bar does the opposite. Small multiple bar charts often work better in a horizontal orientation; and are easy to create with the px.bar orientation and facet_col parameters. -``` +```python import pandas as pd import plotly.express as px