Sitelet https://github.com/aeroaks/starplot/tags
Skip to content

Tags: aeroaks/starplot

Tags

v0.16.3

Toggle v0.16.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
duckdb version (steveberardi#167)

v0.16.2

Toggle v0.16.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

v0.16.1

Toggle v0.16.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.16.1 (steveberardi#161)

* fix constellation borders

* fix south

* fix geometry

* version

* clean up

v0.16.0

Toggle v0.16.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.16 (steveberardi#159)

* notes

* observer class

* projection base

* poc

* remaining projections

* tests horizon optic lint format

* hash checks init

* threshold

* fix extent mask

* docs

* examples

* separate zenith

* update tutorial

* clean up

* clean up

* docs

* clean up

* add validator

* migration guide

* docs

* hash checks

* default to 12hr

* docs

* tests

* docs

* auto projection

* star mag legend poc

* progress

* improved marker

* locations

* deprecate hii

* no outside top bottom

* legend plotter

* padding x y

* settings class

* changelog

* docs

* improve labeling

* clean up

* docs

* lint

* docstring

* doc

* coming soon

* carina example

* carina example

* center ra

* docs

* version

* left

* clean up

* docs

* props

* context manager for styles

* docs

* docs

* Adding a Gradient Background to HorizonPlots (steveberardi#155)

* Added an extension, GRADIENTS, for the background gradient presets colours.  Colour presets can be called from the yaml file with extensions.GRADIENTS[<preset name>].

* Added function _apply_gradient_background() to the HorizonPlot class. This adds a vertical colour gradient to the background of the plot. e.g. to simulate twilight lighting in the sky.
The function takes the bounds of the figure's axes, creates a set of background axes, creates a colourmap and adds it to the background axes using imshow().

Added an if loop to _init_plot() so that _apply_gradient_background() is applied if a color_stop list is provided when HorizonPlot is instantiated.

* A yaml file containing the color_stops for each gradient preset.
There are six presets in total. Each preset contains a range of colours and each colour is listed with its position in the gradient.

* A HorizonPlot example that uses the pre_dawn gradient preset to plot a horizon map looking south from Stonehaugh, England.

* Added an example card of a horizon gradient plot to the examples.md list page.

* Created horizon-gradient.md to list the example horizon gradient plot in horizon_gradient.py

* Removed comment about setting background transparency from the python file and moves it to the horizon-gradient.md file.

* Renaming color_stops variable to gradient_preset for better clarity.

* Linted files after failed test-lint-build. All minor changes: some missing commas, mixed "", and extra newlines.

* Added N=750 to LinearSegmentedColormap.from_list() in _apply_gradient_background(). This improves gradient smoothness.
Minimised the size of the gradient array in the same function to improve efficiency.

* Altered the _apply_gradient_background function:
- Used pcolormesh instead of imshow  to plot the gradient as this drastically improved export time.
- Changed how set self.ax.zorder was set to improve export time.
- Discovered that changing the altitude caused unexpected axes mis-alignment so added an event driven function such that the gradient background axes now resize with the main axes when it is drawn.

* Re-ordered the gradient presets so that they match the pcolormesh direction of using cmaps.
Changed shade of orange in nautical_twilight to make it softer.

* Added a function to create a hashable image of the gradient background to horizon_checks.py.
Added the hashes for the new image to the hashlock.yml file.

* Removed extra newlines.

* Created a Mixin class, GradientBackgroundMixin, to handle the adding of a gradient background to rectangular and radial plots. This can be inherited by MapPlot, HorizonPlot, and OpticPlot.

* Adding .gradients to plotters/__init__.py

* Adding the GradientBackgroundMixin to the plot class and added an if statement to plot a gradient background when a gradient preset is provided. Also added function that checks what shape gradient should be used for a plot (e.g. radial/vertical)

* Commented out libraries only used by commented out code (non-working camera rotation patch).

* Updated gradient hash to match new mixin.

* re-applied black formatter.

* Added radial gradient presets. These have the same colours as the vertical gradients but in different ratios that look better in a radial format.

* gradient_preset.yml: Added mollweide gradient presents to the list.

* horizon-gradient.md example file, added a line noting the ability to use radial and mollweide as well as vertical gradients and a note on how to add a custom gradient.

* gradients.py: Refactored docstrings to be briefer. Added a method to replace the elliptic mollweide gradient with a galactic coordinate gradient. Removed the commented out camera optic method.

* map.py: Refactored _find_gradient_shape(self) so radial and mollweide projections return shapes, while everything else defaults to a vertical gradient. Moved calling apply_gradient_background() to _init_plot().

* added a hash checks for: zenith, optic binos, optic scope, map planets, and map mollweide.

* add to zenith

* use background color prop

* docs

* rename

* oblique mercator

* fix tick marks

* examples and oblique mercator

* examples

* hash checks

* date

* lint

* better

* no camera gradient

* format

* fix

* docs

* update example

* adjust

* gradient

* adjust

* cas

* bump versions

* python 3.10

---------

Co-authored-by: Niphredil123 <168342465+Niphredil123@users.noreply.github.com>

v0.15.8

Toggle v0.15.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
version (steveberardi#154)

v0.15.7

Toggle v0.15.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
STAR-76 / AI agent helpers (steveberardi#149)

* optics as pydantic models

* sql parameter

* doc strings

* doc strings

* model sql tests

* use sk as geometry workaround

* dso type as enum

* table functions

* convert to pydantic models in work

* some progress

* progress

* fix constellation id init

* constellation id

* clean up

* version

* sql labels

* changelog

* docs

v0.15.6

Toggle v0.15.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.15.6 (steveberardi#143)

* degrees

* allow constellation line collision

* format

* get constellation stars separately

* plot hii

* fix polygon clipping

* changelog

v0.15.5

Toggle v0.15.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.15.5 (steveberardi#136)

* support ibis 10

* fix designation join

* lock

* ibis

v0.15.4

Toggle v0.15.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
STAR-70 / star catalog loading (steveberardi#135)

* cache catalog

* fix mensa

* version

v0.15.3

Toggle v0.15.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
more strict versions (steveberardi#133)