diff --git a/.nojekyll b/.nojekyll
index 06ba0fca..9952ac3d 100644
--- a/.nojekyll
+++ b/.nojekyll
@@ -1 +1 @@
-29d6a645
\ No newline at end of file
+baa3d8bc
\ No newline at end of file
diff --git a/changelog.html b/changelog.html
index c7af7952..77f63a96 100644
--- a/changelog.html
+++ b/changelog.html
@@ -112,7 +112,8 @@
“Debug mode” outputs the computed JavaScript plot structure (the one passed to Plot.plot).
To activate it, add debug=True when using Plot.plot() or when creating your plot generator object:
-
+
op = Obsplot(debug=True)
If using the widget renderer, debug output will be displayed in JavaScript console. With the jsdom renderer, it will be displayed directly in the notebook.
@@ -349,8 +349,9 @@
Releases
If necessary release the npm package with npm publish in packages/pyobsplot-js
Check that the min_npm_version value in utils.py is correct
Change version in NEWS.md and pyproject.toml
+
Cleanup the previous builds in dist/
Build the Python package with npm run build
-
Release the Python package with uvx twine upload dist/pyobsplot-0.X.Y*
The Geo mark allows to draw geographic features such as points, lines and polygons. These marks data are passed as GeoJSON.
This allows to create choropleth maps such as the following:
-
+
from pyobsplot import Obsplot, Plotimport geopandas as gpdimport pandas as pd
@@ -333,7 +333,7 @@
Geo mark
Of course other marks can be used in conjunction with geo marks. This example represents the density of Walmarts supermarkets and is taken from the Mapping notebook.
-
+
# Load US states from TopoJson with geopandas and convert to GeoJsonstates = gpd.read_file("data/us-counties-10m.json", layer="states").to_json()nation = gpd.read_file("data/us-counties-10m.json", layer="nation").to_json()
@@ -377,7 +377,7 @@
Geo mark
Raster mark
The Raster mark creates an image from spatial data.
Plot allows to do different type of spatial interpolations, such as nearest, which draws voronoi cells around values:
-
+
import polars as plca55 = pl.read_csv("data/ca55-south.csv")
@@ -424,7 +424,7 @@