Recent Releases of starplot
starplot - v0.16.0
- Adds support for gradient backgrounds - HUGE thanks to @Niphredil123 🎉
- Refactors projections, allowing you to change central RA/DEC
- Adds equidistant and oblique Mercator projections
- Introduces an
Observermodel to encapsulate a time and place - Makes zenith plots a separate plot type
- Adds a function for plotting a star magnitude scale (experimental, feedback wanted!)
- Adds more location options for legends and allows separate X/Y padding
- Adds a settings class for managing global settings
- Adds a global setting for how text is rendered in SVG exports
- Adds more options for plotting gridlines on horizon plots
- Adds a
common_namesfield to deep sky objects - Added more public properties to plots (including
magnitude_rangeandalt/azfor optic plots) - Adds the
BLUE_NIGHTplot style
- Python
Published by steveberardi 9 months ago
starplot - v0.15.7
A few small changes to make it easier to build AI agents that use Starplot as a tool (specifically with Pydantic AI):
- Changes sky object models to Pydantic models
- Adds a
sqlkwarg to all object selection/plotting methods - Makes
DsoTypean enum - Improves a few doc-strings
- Python
Published by steveberardi about 1 year ago
starplot - v0.15.0
- Replaces data backend with DuckDB + Ibis, making plotting 2-3x faster and object lookup up to 10x faster
- Changes default unit of right ascension to degrees (0...360)
- Improves performance of constellation label placement
- Separates the constellation Serpens into two "separate" parts (Cauda and Caput)
- Adds a new "blue gold" style extension
- Adds a new field to the constellation model:
star_hip_idswhich is a list of hip ids for stars that make up the lines in the constellation - Dropped support for Python 3.9 (Ibis requires 3.10 or higher)
- Increased minimum required version of GeoPandas to
1.0.1
- Python
Published by steveberardi over 1 year ago
starplot - v0.14.0
- Adds horizon plots, which show what the sky looks like from the horizon at a specific time and place
- Improved auto placement of constellation labels
- Separates styles and functions for constellation lines and labels
- Plots constellation lines and borders as a LineCollection to improve performance
- Adds option to suppress warnings from dependencies
- Adds legend labels to shape functions
- Python
Published by steveberardi over 1 year ago
starplot - v0.13.0
- Adds a
scalefactor to control sizing of all objects/text - Adds an "auto" option for label offsets from markers
- Adds constellation lines to label collision detection
- Adds a
gidto plotted objects to make exported SVGs easier to work with in external applications (e.g. Inkscape) - Adds Flamsteed numbers to stars
- Adds all star names from IAU
- Adds the standard symbol for planetary nebulae
- Adds a border size/color property to label styles
- Bundles fonts: Inter & GFS Didot
- Python
Published by steveberardi over 1 year ago
starplot - v0.12.0
- Adds Shapely geometry to all sky object models, including support for intersects in where clauses
- Adds kwarg to map plots to allow custom clip paths
- Adds callables for star/dso labels
- Adds a line function for plotting lines
- Adds the standard marker for globular clusters (circle with a cross) and double stars
- Adds an ellipse marker for galaxies
- Adds colors for some DSO labels that were missing them in some style extensions
- Removed the kwarg types from dsos, so ALL DSO types are plotted by default
- Python
Published by steveberardi over 1 year ago
starplot - v0.11.0
- Replaces Tycho-1 stars with an abridged version of the Big Sky Catalog
- Adds style option for a star's edge color (previously this was forced to be the background color)
- Adds cardinal direction labels to the horizon plotting function
- Removes behavior that automatically plots the cardinal direction border on zenith plots
- Adds function for plotting the zenith
- Adds support for downloading the full Big Sky Catalog (2.5+ million stars)
- Various (minor) plotting optimizations
- Increases star sizes on map plots
- Adds TYC id to stars (if available)
- Adds the following projections: Robinson, Lambert Azimuthal Equal-Area
- Adds a constellation model, allowing you to selectively plot objects by their constellation
- Python
Published by steveberardi almost 2 years ago
starplot - v0.10.0
- Adds function for plotting text
- Adds where kwarg to star/DSO plotting functions to selectively plot stars
- Adds easier way to override style properties on plotting functions - thanks to @HamBoneGS
- Adds function to plot the Sun - thanks to @HamBoneGS
- Adds option to illustrate the Moon's phase - thanks to @HamBoneGS
- Adds objects property to plots, which stores lists of objects that have been plotted
- Adds object finder helpers
- Adds customizable anchor points for text labels
- Adds Pluto as a planet :)
- Fixes clipping issues with polygons
- Fixes a few issues with gridlines
- Python
Published by steveberardi about 2 years ago
starplot - v0.9.0
- Added perspective projections (Orthographic, Stereographic) to map plots - many thanks to @bathoorn
- Zenith plots are now a type of projection for map plots, to support plotting the Milky Way, constellation borders and more - many thanks to @bathoorn
- Removed the
visiblestyle property and instead now you control what is plotted by calling functions on the plot (e.g.p.stars(mag=8)) to be more consistent with other plotting frameworks and allow more control over what's plotted and how. For example, now you can do things like plotting very bright stars with a different marker (and sizes, etc) than dimmer stars. - Optional callables for calculating star size/alpha/color when plotting stars
- Nebula outlines! via OpenNGC
- Stars are now plotted in order of their calculated size, which prevents "bigger" stars from hiding "smaller" stars
- Added more marker symbols and style extensions
- Python
Published by steveberardi about 2 years ago
starplot - v0.8.0
- Adds new Milky Way outline created from a NASA image, and broken into sections to speed up plotting/exporting
- Adds styling support for more DSO types
- Adds support for Mollweide projection
- Fixes map and optic plots to handle wrapping of RA (e.g. plotting RA extent from 2h -> 18h)
- Fixes a bug in all plots that prevented some star styles to not get applied
- Python
Published by steveberardi over 2 years ago
starplot - v0.6.0
- Introduces Optic plots that simulate what you'll see through a telescope/binoculars/camera from a specific time/location
- Includes full Hipparcos star catalog as a parquet file for faster loading
- Adds a dark grayscale style extension
- Various bug fixes
- Python
Published by steveberardi over 2 years ago