Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ keywords:
- graphs
- plotting
license: MIT
version: 0.19.5
date-released: '2026-02-06'
version: 0.19.6
date-released: '2026-02-15'
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [**v0.19.5**]
- Fixes bug with plotting labels when `attempts=1`
- Improves performance of plotting constellations on horizon plots
- [**v0.19.6**] Fixes issue with running Starplot in a Jupyter notebook

---

Expand Down
2 changes: 1 addition & 1 deletion src/starplot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"""Star charts and maps of the sky"""

__version__ = "0.19.5"
__version__ = "0.19.6"

from .plots import (
MapPlot,
Expand Down
5 changes: 2 additions & 3 deletions src/starplot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@

def setup(options):
print("Installing DuckDB spatial extension...")
db.connect() # installs spatial extension as side-effect

con = db.connect()
con.load_extension("spatial")

print("Building font cache...")
fonts.load()

print(f"Downloading data catalogs to: {settings.data_path}")
Expand Down
3 changes: 2 additions & 1 deletion src/starplot/data/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@


def connect():
connection = duckdb.connect()
path = settings.data_path / "duckdb-extensions"
connection = duckdb.connect()
connection.raw_sql(f"SET extension_directory = '{str(path)}';")
connection.raw_sql("INSTALL spatial;")
connection.load_extension("spatial")

missing_name_tables = set(NAME_TABLES.keys()) - set(connection.list_tables())
Expand Down