Skip to content

Commit 8f864f4

Browse files
Merge pull request #108 from sadielbartholomew/prep-release
Prepare release v3.4.0
2 parents 97993a1 + eb4fb89 commit 8f864f4

File tree

168 files changed

+663
-512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+663
-512
lines changed

CHANGELOG.md

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## cf-plot changelog
44

5-
**Current release: version `3.3.0`, released `2024-01-15`**
5+
**Current release: version `3.4.0`, released `2025-04-28`**
66

77
*Note*: stated dates of releases correspond to the date a given
88
version was tagged on GitHub. Up until 2024 some detail may
@@ -13,12 +13,37 @@ of being developed elsewhere.
1313

1414
-----
1515

16-
### Version `3.4.X`, first released (`3.4.0`) `????-??-??`
17-
18-
#### Version `3.4.0`, release soon (date TBC)
19-
20-
* New feature: `traj` method can now natively plot *single* trajectories encoded as
21-
discrete sampling geometries (i.e. one-dimensional paths, having no trajectory dimension)
16+
### Version `3.4.X`, first released (`3.4.0`) `2025-04-28`
17+
18+
#### Version `3.4.0`, release soon (date `2025-04-28`)
19+
20+
* Move of codebase home from old repository location of `github.com/ajheaps/cf-plot` to
21+
`github.com/NCAS-CMS/cf-plot` - the former URL will redirect for the time being
22+
but cannot be guaranteed to do so in future
23+
* Move of home for documentation: now and going forward hosted permanently at
24+
`ncas-cms.github.io/cf-plot/` with the previous documentation at root URL
25+
`ajheaps.github.io/cf-plot/` frozen (no longer updated so do not consult)
26+
* Documentation overhaul including new responsive theme, hierarchical structuring,
27+
improved navigation, listing of all examples grouped by theme with reorganisation
28+
of gallery view, updates for informational pages, and more
29+
* New feature: `traj` method can now natively plot *single* trajectories
30+
(i.e. one-dimensional paths, having no trajectory dimension) encoded as
31+
discrete sampling geometries (https://github.com/NCAS-CMS/cf-plot/issues/84)
32+
* Fix bug whereby `con` contour plot with `verbose=True` would result in
33+
an `UnboundLocalError` (https://github.com/NCAS-CMS/cf-plot/issues/54)
34+
* Fix bug whereby plots such as with `con` using the 'merc' Mercator projection
35+
would be cropped to small portion of the y axis
36+
(https://github.com/NCAS-CMS/cf-plot/issues/65)
37+
* Fix bug whereby the colour bar would be mostly cutoff from the foot of
38+
the figure for plots such as `con` contour plots when using certain projections
39+
such as 'ortho', 'merc', and 'lcc' after a call to e.g. `cfp.mapset(proj='ortho')`
40+
(https://github.com/NCAS-CMS/cf-plot/issues/70)
41+
* Fix bug whereby `con` contour plot in the 'UKCP' projection would
42+
result in an `IndexError` for `blockfill=True`
43+
(https://github.com/NCAS-CMS/cf-plot/issues/91) or otherwise an
44+
`UnboundLocalError` (https://github.com/NCAS-CMS/cf-plot/issues/60)
45+
or an `AttributeError` (https://github.com/NCAS-CMS/cf-plot/issues/59)
46+
dependent on other configuration
2247
* Fix bug whereby `con` would result in a blank plot for rotated pole data
2348
requested for display on its native grid through setting of `cfp.mapset(proj="rotated")`
2449
(see https://github.com/NCAS-CMS/cf-plot/issues/86)
@@ -28,6 +53,15 @@ of being developed elsewhere.
2853
* Fix bug whereby blockfill plots (`con` with `blockfill=True`) of UGRID data in either polar
2954
projection (`proj="npstere"` or `proj="spstere"`) could display blacked out areas
3055
(see https://github.com/NCAS-CMS/cf-plot/issues/99)
56+
* Make consistent the defaults for `feature_zorder` and
57+
`rotated_grid_thickness` plotting variables as configurable through `setvars`
58+
(https://github.com/NCAS-CMS/cf-plot/issues/73)
59+
* Set new minimum version of dependency: `'cf-python >= 3.17.0'`
60+
* Set new minimum version of dependency: `'cartopy >= 0.17.0'`
61+
* Removed explicit (listed) dependency to `matplotlib` since this is required already by
62+
existing dependency Cartopy
63+
* Removed explicit (listed) dependency to `scipy` since this is required already by existing
64+
dependency cf-python
3165

3266

3367
### Version `3.3.X`, first released (`3.3.0`) `2024-01-15`

cfplot/__init__.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
cf-plot is a set of Python plotting routines for the contour, vector
3-
and line plots that climate researchers commonly make.
2+
cf-plot: code-light plotting for earth science and aligned research
43
5-
See the cf-plot home page http://ajheaps.github.io/cf-plot for a
6-
gallery of plots and how to use cf-plot.
4+
Documentation is hosted and found at: https://ncas-cms.github.io/cf-plot/
75
"""
86

9-
__author__ = "Andy Heaps - andy.heaps@ncas.ac.uk"
10-
__date__ = "15th Jan 2024"
11-
__version__ = "3.3.0"
7+
__author__ = "Sadie Bartholomew, Andy Heaps"
8+
__maintainer__ ="Sadie Bartholomew"
9+
__date__ = "28th April 2025"
10+
__version__ = "3.4.0"
1211

1312
from .cfplot import * # noqa: F403, F401
1413

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: d05048b67f4ee87b1465c5da08a124f8
3+
config: f50bbcb56c7abdc10959588858763fbd
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_bfill.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_bfill &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_bfill &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_bfill_ugrid.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_bfill_ugrid &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_bfill_ugrid &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_cf_data_assign.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_cf_data_assign &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_cf_data_assign &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_check_data.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_check_data &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_check_data &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_cscale_get_map.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_cscale_get_map &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_cscale_get_map &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_dim_titles.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_dim_titles &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_dim_titles &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_gvals.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_gvals &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_gvals &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_images/ref_fig_42a.png

7.52 KB
Loading

docs/_map_title.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_map_title &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_map_title &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

docs/_mapaxis.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>_mapaxis &#8212; cf-plot 3.3.0 documentation</title>
11+
<title>_mapaxis &#8212; cf-plot 3.4.0 documentation</title>
1212

1313

1414

@@ -37,7 +37,7 @@
3737
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=dfe6caa3a7d634c4db9b" />
3838
<script src="_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
3939

40-
<script src="_static/documentation_options.js?v=3eb8911e"></script>
40+
<script src="_static/documentation_options.js?v=b0e360d0"></script>
4141
<script src="_static/doctools.js?v=9bcbadda"></script>
4242
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4343
<script src="_static/design-tabs.js?v=f930bc37"></script>
@@ -124,7 +124,7 @@
124124

125125

126126

127-
<p class="title logo__title">cf-plot 3.3.0 documentation</p>
127+
<p class="title logo__title">cf-plot 3.4.0 documentation</p>
128128

129129
</a></div>
130130

0 commit comments

Comments
 (0)