Skip to content

Commit de40ed8

Browse files
committed
Bump version (setup, conf, whatsnew) to v0.2.0.
1 parent 7b86506 commit de40ed8

File tree

4 files changed

+47
-6
lines changed

4 files changed

+47
-6
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
project = 'hyoga'
1414
copyright = '2021-2022'
1515
author = 'Julien Seguinot'
16-
version = '0.1 Akaishi'
17-
release = '0.1.2'
16+
version = '0.2 Bale'
17+
release = '0.2.0'
1818

1919

2020
# -- General configuration ---------------------------------------------------

doc/whatsnew.rst

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,18 @@ What's new
2323

2424
.. _v0.2.0:
2525

26-
v0.2.0 (unreleased)
27-
-------------------
26+
v0.2.0 Bale (1 Nov. 2022)
27+
-------------------------
28+
29+
.. plot:: ../examples/whatsnew/plot_v002_bale.py
30+
:include-source: false
31+
32+
This is a major relase implementing several cartographic features. It adds
33+
custom colormaps and plot methods for :doc:`shaded reliefs</datasets/shading>`,
34+
and an interface to :doc:`open and plot </datasets/vectors>` Natural Earth data
35+
and paleoglacier extents. The documentation uses a new theme. A logo and new
36+
:doc:`examples <examples/index>` were added. The package structure has been
37+
reworked to better serve :doc:`future plans <roadmap>`.
2838

2939
Breaking changes
3040
~~~~~~~~~~~~~~~~

examples/whatsnew/plot_v002_bale.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/env python
2+
# Copyright (c) 2022, Julien Seguinot (juseg.github.io)
3+
# GNU General Public License v3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
4+
5+
"""
6+
v0.2.0 Bale
7+
===========
8+
"""
9+
10+
import matplotlib.pyplot as plt
11+
import contextily as cx
12+
import hyoga
13+
14+
# plot paleoglaciers
15+
ax = hyoga.open.paleoglaciers().to_crs(epsg=3857).plot(
16+
alpha=0.75, facecolor='w', edgecolor='r', linewidth=2)
17+
18+
# zoom on Bale Mountains (120x60 km)
19+
ax.set_xlim(4390e3, 4470e3)
20+
ax.set_ylim(730e3, 790e3)
21+
22+
# add stamen terrain
23+
cx.add_basemap(ax, source=cx.providers.Stamen.TerrainBackground)
24+
25+
# set axes properties
26+
ax.set_title('Bale Mountains')
27+
ax.xaxis.set_visible(False)
28+
ax.yaxis.set_visible(False)
29+
30+
# show
31+
plt.show()

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
[metadata]
77

88
name = hyoga
9-
version = 0.1.2
9+
version = 0.2.0
1010
author = Julien Seguinot
1111
description = A Python library to visualize ice-sheet model datasets
1212
long_description = file: README.rst
1313
long_description_content_type = text/x-rst
1414
url = https://github.com/juseg/hyoga
1515
classifiers =
16-
Development Status :: 1 - Planning
16+
Development Status :: 2 - Pre-Alpha
1717
Intended Audience :: Science/Research
1818
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
1919
Programming Language :: Python :: 3

0 commit comments

Comments
 (0)