Skip to content

Commit

Permalink
Make states fill_color="none" (transparent) (#643)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Høxbro Hansen <simon.hansen@me.com>
  • Loading branch information
ahuang11 and hoxbro authored May 25, 2023
1 parent bc6ff75 commit 77b568f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ This release adds Bokeh 3 support to Geoviews, along with bug fixes and enhancem

This release also deprecates the `Wikipedia` tile source. If you are using this tile source, please switch to the `OSM` tile source instead. The `Wikipedia` tile source will be removed in version 1.11.0. `geoviews.util.load_tiff` has also been deprecated `rioxarray.open_rasterio` to load GeoTIFFs into a `xarray.DataArray`.

Note, this release has a minor breaking change where `gv.feature.states` defaults to `fill_color=None` so the fill color is transparent.

Enhancements:

- Add Bokeh 3 support to GeoViews ([#625](https://github.com/holoviz/geoviews/pull/625))
- Add `PandasAPI` to `GeoPandasInterface` ([#620](https://github.com/holoviz/geoviews/pull/620))
- Updated the default for `gv.feature.states` to `fill_color=None` ([#643](https://github.com/holoviz/geoviews/pull/643))

Bug fixes:

Expand Down
7 changes: 6 additions & 1 deletion doc/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Version 1.10.0
Date: May 24, 2023

This release adds Bokeh 3 support to Geoviews, along with bug fixes and
enhancements. Many thanks to @maximlt, @philippjfr, and @Hoxbro.
enhancements. Many thanks to @maximlt, @philippjfr, @Hoxbro, and @ahuang11.

This release also deprecates the ``Wikipedia`` tile source. If you are
using this tile source, please switch to the ``OSM`` tile source
Expand All @@ -16,12 +16,17 @@ instead. The ``Wikipedia`` tile source will be removed in version
``rioxarray.open_rasterio`` to load GeoTIFFs into a
``xarray.DataArray``.

Note, this release has a minor breaking change where `gv.feature.states`
defaults to `fill_color=None` so the fill color is transparent.

Enhancements:

- Add Bokeh 3 support to GeoViews
(`#625 <https://github.com/holoviz/geoviews/pull/625>`__)
- Add ``PandasAPI`` to ``GeoPandasInterface``
(`#620 <https://github.com/holoviz/geoviews/pull/620>`__)
- Updated the default for ``gv.feature.states`` to ``fill_color=None``
(`#643 <https://github.com/holoviz/geoviews/pull/643>`__)

Bug fixes:

Expand Down
1 change: 1 addition & 0 deletions geoviews/plotting/bokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,5 @@ def _process(self, element, key=None):
options.Feature.Lakes = Options('style', fill_color='#97b6e1', line_color='#97b6e1')
options.Feature.Rivers = Options('style', line_color='#97b6e1')
options.Feature.Grid = Options('style', line_width=0.5, alpha=0.5, line_color='gray')
options.Feature.States = Options('style', fill_color=None)
options.Shape = Options('style', line_color='black', fill_color='#30A2DA')

0 comments on commit 77b568f

Please sign in to comment.