Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logo-handling class and remote fetching of Ouranos logos #119

Merged
merged 23 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
554a719
Add a logo setting and fetching mechanism for Figanos
Zeitsperre Oct 5, 2023
038d086
typing
Zeitsperre Oct 5, 2023
0225db0
remove obsolete method
Zeitsperre Oct 5, 2023
0b1def1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 5, 2023
724b5a6
nicer ui, automatic reloading
Zeitsperre Oct 6, 2023
022dc0d
implement logo class, remove ouranos logos
Zeitsperre Oct 6, 2023
d4934fd
simpler implementation, add figanos logo by default, add documentation
Zeitsperre Oct 6, 2023
b0bb4cc
update HISTORY.rst
Zeitsperre Oct 6, 2023
8137485
update HISTORY.rst
Zeitsperre Oct 6, 2023
ac0bfdc
Apply suggestions from code review
Zeitsperre Oct 10, 2023
ffe56d5
fix docs and better logic
Zeitsperre Oct 10, 2023
32b6d77
update jupyter documentation
Zeitsperre Oct 10, 2023
38ea662
address comments
Zeitsperre Oct 10, 2023
31b159b
set ouranos logo on default if default is `figanos_logo`
Zeitsperre Oct 10, 2023
fdd8c5f
image rescaling
Zeitsperre Oct 11, 2023
ffb5dcb
fix logo installation error
Zeitsperre Oct 11, 2023
daae932
add scikit-image
Zeitsperre Oct 11, 2023
162d00d
update HISTORY.rst
Zeitsperre Oct 11, 2023
214edb6
typo fix
Zeitsperre Oct 12, 2023
bdb885b
support scaling of vector graphics for logos, add xclim and cairosvg …
Zeitsperre Oct 13, 2023
d44c21b
allow passing Logos class to plot_logo
Zeitsperre Oct 13, 2023
01cf6f5
add svg-based logo, update changes
Zeitsperre Oct 17, 2023
35f2fe8
rerun notebook, skip execution on long-running cell
Zeitsperre Oct 17, 2023
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: 3 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ Contributors to this version: Sarah-Claude Bourdeau-Goulet (:user:`Sarahclaude`)
New features and enhancements
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* New function hatchmap (:pull:`107`).
* Support for translating figures. Activating a locale through xclim's ``metadata_locales`` option will try to use metadata saved by xclim or xscen in this locale and to translate common terms appearing in the figures. Figanos currently ships with french translations of those terms. (:pull:`109`, :issue:`64`).
* Support for translating figures. Activating a locale through xclim's ``metadata_locales`` option will try to use metadata saved by `xclim` or xscen in this locale and to translate common terms appearing in the figures. Figanos currently ships with French translations of those terms. (:pull:`109`, :issue:`64`).
* New ``figanos.Logos`` class added to manage and install logos stored in user's Home configuration directory. The ``figanos.utils.plot_logo`` function call signature has changed to support the new system. (:issue:`115`, :pull:`119`).

Internal changes
^^^^^^^^^^^^^^^^
* Clean up of the dependencies to remove the notebooks deps from the core deps.
* `figanos` now uses Trusted Publishing to publish the package on PyPI and TestPyPI. (:pull:`113`).
* The official Ouranos logos have been removed from the repository. They can now installed if required via the ``figanos.Logos.install_ouranos_logos`` class method. (:issue:`115`, :pull:`119`).
Zeitsperre marked this conversation as resolved.
Show resolved Hide resolved

0.2.0 (2023-06-19)
------------------
Expand Down
Loading