Skip to content

Commit fd68649

Browse files
committed
fix bokeh line color for grid
1 parent 735a1dd commit fd68649

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

docs/user-guide/healpix.ipynb

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -149,20 +149,17 @@
149149
" ux.Grid.from_healpix(zoom=2).plot(\n",
150150
" periodic_elements=\"split\",\n",
151151
" projection=ccrs.Orthographic(),\n",
152-
" title=\"zoom=2\",\n",
153-
" backend=\"matplotlib\",\n",
152+
" title=\"zoom=2\"\n",
154153
" )\n",
155154
" + ux.Grid.from_healpix(zoom=3).plot(\n",
156155
" periodic_elements=\"split\",\n",
157156
" projection=ccrs.Orthographic(),\n",
158-
" title=\"zoom=3\",\n",
159-
" backend=\"matplotlib\",\n",
157+
" title=\"zoom=3\"\n",
160158
" )\n",
161159
" + ux.Grid.from_healpix(zoom=4).plot(\n",
162160
" periodic_elements=\"split\",\n",
163161
" projection=ccrs.Orthographic(),\n",
164-
" title=\"zoom=4\",\n",
165-
" backend=\"matplotlib\",\n",
162+
" title=\"zoom=4\"\n",
166163
" )\n",
167164
").cols(1)"
168165
]
@@ -448,22 +445,8 @@
448445
}
449446
],
450447
"metadata": {
451-
"kernelspec": {
452-
"display_name": "Python 3",
453-
"language": "python",
454-
"name": "python3"
455-
},
456448
"language_info": {
457-
"codemirror_mode": {
458-
"name": "ipython",
459-
"version": 3
460-
},
461-
"file_extension": ".py",
462-
"mimetype": "text/x-python",
463-
"name": "python",
464-
"nbconvert_exporter": "python",
465-
"pygments_lexer": "ipython3",
466-
"version": "3.14.4"
449+
"name": "python"
467450
}
468451
},
469452
"nbformat": 4,

uxarray/plot/accessor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ def edges(
222222
kwargs["projection"] = ccrs.PlateCarree()
223223
if "clabel" not in kwargs:
224224
kwargs["clabel"] = "edges"
225+
if "color" not in kwargs and "line_color" not in kwargs:
226+
kwargs["color"] = "black"
225227
if "crs" not in kwargs:
226228
if "projection" in kwargs:
227229
central_longitude = kwargs["projection"].proj4_params["lon_0"]

0 commit comments

Comments
 (0)