Skip to content

Commit c1f6af8

Browse files
committed
out
1 parent 4c737d8 commit c1f6af8

File tree

5 files changed

+29
-44
lines changed

5 files changed

+29
-44
lines changed

docs/gallery/networks.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,7 @@
225225
"\n",
226226
"`geom_searoute` calculates realistic maritime shipping routes that avoid land masses.\n",
227227
"\n",
228-
"!!! note \"Requires searoute package\"\n",
229-
" Install with: `pip install searoute`\n",
228+
"**Note:** Requires searoute package. Install with: `pip install searoute`\n",
230229
"\n",
231230
"### Basic Sea Routes"
232231
]

docs/getting-started.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@
245245
"source": [
246246
"## Next Steps\n",
247247
"\n",
248-
"- [Aesthetics Guide](guide/aesthetics.md) - Learn about mapping data to visual properties\n",
249-
"- [Geoms Reference](guide/geoms.md) - Explore all available geometric objects\n",
250-
"- [Themes](guide/themes.md) - Customize the look of your plots"
248+
"- [Aesthetics Guide](guide/aesthetics.ipynb) - Learn about mapping data to visual properties\n",
249+
"- [Geoms Reference](guide/geoms.ipynb) - Explore all available geometric objects\n",
250+
"- [Themes](guide/themes.ipynb) - Customize the look of your plots"
251251
]
252252
}
253253
]

docs/guide/coordinates.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
"cell_type": "markdown",
4141
"metadata": {},
4242
"source": [
43-
"!!! note \"xlim/ylim vs coord_cartesian\"\n",
44-
" `xlim()` and `ylim()` filter the data before plotting. `coord_cartesian()` zooms the view without removing data points. This matters for statistical calculations like `geom_smooth`.\n",
43+
"**xlim/ylim vs coord_cartesian:** `xlim()` and `ylim()` filter the data before plotting. `coord_cartesian()` zooms the view without removing data points. This matters for statistical calculations like `geom_smooth`.\n",
4544
"\n",
4645
"## coord_flip\n",
4746
"\n",

docs/index.ipynb

Lines changed: 24 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
"display_name": "Python 3",
77
"language": "python",
88
"name": "python3"
9-
},
10-
"language_info": {
11-
"name": "python",
12-
"version": "3.12.0"
139
}
1410
},
1511
"cells": [
@@ -46,14 +42,8 @@
4642
" 'group': ['A', 'A', 'B', 'B', 'B']\n",
4743
"})\n",
4844
"\n",
49-
"# Simple scatter plot\n",
50-
"ggplot(df, aes(x='x', y='y')) + geom_point()\n",
51-
"\n",
52-
"# With color mapping and theme\n",
53-
"ggplot(df, aes(x='x', y='y', color='group')) + geom_point() + theme_minimal()\n",
54-
"\n",
55-
"# Faceted plot\n",
56-
"ggplot(df, aes(x='x', y='y')) + geom_point() + facet_wrap('group')"
45+
"# Simple scatter plot with color mapping\n",
46+
"ggplot(df, aes(x='x', y='y', color='group')) + geom_point(size=10) + theme_minimal()"
5747
]
5848
},
5949
{
@@ -81,36 +71,34 @@
8171
"\n",
8272
"Explore examples organized by visualization type:\n",
8373
"\n",
84-
"- **[Basic Charts](gallery/basic.md)** - Scatter, line, bar, histograms, box plots\n",
85-
"- **[Statistical](gallery/statistical.md)** - Smoothing, density, error bars, summaries\n",
86-
"- **[Time Series](gallery/timeseries.md)** - Date axes, range plots, candlesticks, OHLC\n",
87-
"- **[Geographic Maps](gallery/maps.md)** - Choropleths, projections, point maps\n",
88-
"- **[3D Visualizations](gallery/3d.md)** - Scatter, surfaces, wireframes\n",
89-
"- **[Network Graphs](gallery/networks.md)** - Edge bundling, sea routes\n",
90-
"- **[Multi-Panel (Facets)](gallery/facets.md)** - Small multiples, facet_wrap, facet_grid\n",
91-
"- **[Theming](gallery/theming.md)** - Custom themes, publication-ready styling\n",
74+
"- **[Basic Charts](gallery/basic.ipynb)** - Scatter, line, bar, histograms, box plots\n",
75+
"- **[Statistical](gallery/statistical.ipynb)** - Smoothing, density, error bars, summaries\n",
76+
"- **[Time Series](gallery/timeseries.ipynb)** - Date axes, range plots, candlesticks, OHLC\n",
77+
"- **[Geographic Maps](gallery/maps.ipynb)** - Choropleths, projections, point maps\n",
78+
"- **[3D Visualizations](gallery/3d.ipynb)** - Scatter, surfaces, wireframes\n",
79+
"- **[Network Graphs](gallery/networks.ipynb)** - Edge bundling, sea routes\n",
80+
"- **[Multi-Panel (Facets)](gallery/facets.ipynb)** - Small multiples, facet_wrap, facet_grid\n",
81+
"- **[Theming](gallery/theming.ipynb)** - Custom themes, publication-ready styling\n",
9282
"\n",
9383
"## Coming from R?\n",
9484
"\n",
9585
"ggplotly aims for API compatibility with ggplot2. Most code translates directly:\n",
9686
"\n",
97-
"=== \"R (ggplot2)\"\n",
98-
"\n",
99-
" ```r\n",
100-
" ggplot(mpg, aes(x = displ, y = hwy, color = class)) +\n",
101-
" geom_point() +\n",
102-
" theme_minimal() +\n",
103-
" labs(title = \"Fuel Efficiency\")\n",
104-
" ```\n",
105-
"\n",
106-
"=== \"Python (ggplotly)\"\n",
87+
"**R (ggplot2):**\n",
88+
"```r\n",
89+
"ggplot(mpg, aes(x = displ, y = hwy, color = class)) +\n",
90+
" geom_point() +\n",
91+
" theme_minimal() +\n",
92+
" labs(title = \"Fuel Efficiency\")\n",
93+
"```\n",
10794
"\n",
108-
" ```python\n",
109-
" ggplot(mpg, aes(x='displ', y='hwy', color='class')) + \\\n",
110-
" geom_point() + \\\n",
111-
" theme_minimal() + \\\n",
112-
" labs(title='Fuel Efficiency')\n",
113-
" ```\n",
95+
"**Python (ggplotly):**\n",
96+
"```python\n",
97+
"ggplot(mpg, aes(x='displ', y='hwy', color='class')) + \\\n",
98+
" geom_point() + \\\n",
99+
" theme_minimal() + \\\n",
100+
" labs(title='Fuel Efficiency')\n",
101+
"```\n",
114102
"\n",
115103
"The main differences:\n",
116104
"\n",

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ plugins:
3434
execute: true
3535
ignore_h1_titles: true
3636
include_source: true
37-
theme: dark
3837
- mkdocstrings:
3938
handlers:
4039
python:

0 commit comments

Comments
 (0)