You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gallery/networks.ipynb
+49-1Lines changed: 49 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -333,6 +333,54 @@
333
333
"- Edge weights (if provided)\n",
334
334
"- All algorithm parameters (K, E, C, P, S, etc.)"
335
335
]
336
+
},
337
+
{
338
+
"cell_type": "markdown",
339
+
"id": "6nj4t32vklf",
340
+
"source": "## Sankey Diagrams\n\nSankey diagrams visualize flows between nodes, where the width of each link is proportional to the flow quantity.\n\n### Basic Sankey",
Copy file name to clipboardExpand all lines: docs/gallery/statistical.ipynb
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21516,6 +21516,54 @@
21516
21516
" + labs(title='Residuals vs Fitted', x='Fitted Values', y='Residuals'))"
21517
21517
]
21518
21518
},
21519
+
{
21520
+
"cell_type": "markdown",
21521
+
"id": "5bi0xmpz20y",
21522
+
"source": "## Waterfall Charts\n\nWaterfall charts show how an initial value is affected by intermediate positive or negative values.\n\n### Basic Waterfall",
"source": "# Custom colors for different bar types\n(ggplot(waterfall_df, aes(x='category', y='value', measure='measure'))\n + geom_waterfall(\n increasing_color='#17becf', # Cyan for increases\n decreasing_color='#ff7f0e', # Orange for decreases\n total_color='#1f77b4' # Blue for totals\n )\n + labs(title='Waterfall with Custom Colors'))",
21557
+
"metadata": {},
21558
+
"execution_count": null,
21559
+
"outputs": []
21560
+
},
21561
+
{
21562
+
"cell_type": "markdown",
21563
+
"id": "mpqwz5818w",
21564
+
"source": "### Waterfall Parameters\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| `increasing_color` | '#2ca02c' | Color for positive changes (green) |\n| `decreasing_color` | '#d62728' | Color for negative changes (red) |\n| `total_color` | '#1f77b4' | Color for totals (blue) |\n| `connector_visible` | True | Show connector lines |\n| `connector_color` | gray | Color of connectors |\n| `text_position` | 'outside' | Position of value labels |\n| `orientation` | 'v' | 'v' (vertical) or 'h' (horizontal) |\n\nThe `measure` aesthetic controls bar types:\n- `'absolute'`: Starting value (resets running total)\n- `'relative'`: Change from previous value (default)\n- `'total'`: Shows cumulative total at this point",
0 commit comments