Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9630b60
began fixing imports
ESadek-MO Nov 13, 2024
c8e7837
refactored experimental subplots code
ESadek-MO Nov 13, 2024
f756339
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 14, 2024
ac105e3
corrected imports
ESadek-MO Nov 14, 2024
d5c44c7
mc
ESadek-MO Nov 14, 2024
438c4e1
corrected imports
ESadek-MO Nov 14, 2024
327ba39
added shapely to docs env
ESadek-MO Nov 14, 2024
dbb3c34
readded DATA_DIR to __init__
ESadek-MO Nov 14, 2024
4c4a4ff
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 14, 2024
8a5bb63
imported os
ESadek-MO Nov 14, 2024
738f9ff
Merge branch 'axes_based_tephi' of github.com:ESadek-MO/tephi into ax…
ESadek-MO Nov 14, 2024
92149c1
Merge branch 'FEATURE_subplots' into axes_based_tephi
ESadek-MO Sep 1, 2025
cd6d558
reverted weird change
ESadek-MO Sep 1, 2025
acdc9ba
drastic measures
ESadek-MO Sep 2, 2025
d890eae
numpy to mp
ESadek-MO Sep 2, 2025
fb7264c
fuctioning tests, albeit image tests need work
ESadek-MO Sep 8, 2025
c46747f
removing legacy
ESadek-MO Sep 8, 2025
b8d6a3a
subplot tests and refactorings
ESadek-MO Sep 9, 2025
8816c97
fixed the broken imtests, and added some todos
ESadek-MO Sep 10, 2025
518e3c4
readded in default sizing
ESadek-MO Sep 10, 2025
43fc918
removed isopleths from barbs_from_file
ESadek-MO Sep 10, 2025
40f1745
added test images
ESadek-MO Sep 10, 2025
6c85b96
started fixing the doctests
ESadek-MO Sep 10, 2025
b21420d
loadtext docstring numpy style
ESadek-MO Sep 10, 2025
2279ec2
locator numpy2 compatible
ESadek-MO Sep 10, 2025
bc5e673
further doctests
ESadek-MO Sep 10, 2025
3857668
phash
ESadek-MO Sep 10, 2025
f093bfe
added a unpleasant workaround
ESadek-MO Sep 11, 2025
22a7643
added properties for each isopleth
ESadek-MO Sep 11, 2025
ded6408
DRAFT: rewritten customise.rst
ESadek-MO Sep 11, 2025
7784afe
DRAFT: corrected rst
ESadek-MO Sep 11, 2025
06e13df
DRAFT: corrected rst
ESadek-MO Sep 11, 2025
36a9e3c
DRAFT: corrected rst
ESadek-MO Sep 11, 2025
4c47477
barb fix
ESadek-MO Sep 11, 2025
aa97dc5
fixed mpl custom artists
ESadek-MO Sep 11, 2025
87fa84d
fixed mpl custom artists
ESadek-MO Sep 11, 2025
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
10 changes: 5 additions & 5 deletions docs/source/barbs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ A profile must be first plotted before the barbs are associated with that profil
dew_point = os.path.join(tephi.DATA_DIR, 'dews.txt')
dew_data = tephi.loadtxt(dew_point, column_titles=('pressure', 'dewpoint'))
dews = zip(dew_data.pressure, dew_data.dewpoint)
tpg = tephi.Tephigram()
tpg = tephi.TephiAxes()
profile = tpg.plot(dews)
barbs = [(0, 0, 900), (1, 30, 850), (5, 60, 800),
(10, 90, 750), (15, 120, 700), (20, 150, 650),
Expand Down Expand Up @@ -64,7 +64,7 @@ Note that, the barbs default to the same colour as their associated profile.
dews = zip(dew_data.pressure, dew_data.dewpoint)
temps = zip(temp_data.pressure, temp_data.temperature)

tpg = tephi.Tephigram()
tpg = tephi.TephiAxes()
dprofile = tpg.plot(dews)
dbarbs = [(0, 0, 900), (15, 120, 600), (35, 240, 300)]
dprofile.barbs(dbarbs)
Expand All @@ -89,7 +89,7 @@ Barbs may also be plotted using wind speed and wind direction data (associated w
barb_data = tephi.loadtxt(winds, column_titles=column_titles)
dews = zip(barb_data.pressure, barb_data.dewpoint)
barbs = zip(barb_data.wind_speed, barb_data.wind_direction, barb_data.pressure)
tpg = tephi.Tephigram()
tpg = tephi.TephiAxes()
profile = tpg.plot(dews)
profile.barbs(barbs)
plt.show()
Expand All @@ -113,7 +113,7 @@ This transparency allows full control when plotting barbs on the tephigram.
dew_point = os.path.join(tephi.DATA_DIR, 'dews.txt')
dew_data = tephi.loadtxt(dew_point, column_titles=('pressure', 'dewpoint'))
dews = zip(dew_data.pressure, dew_data.dewpoint)
tpg = tephi.Tephigram()
tpg = tephi.TephiAxes()
profile = tpg.plot(dews)
barbs = [(0, 0, 900), (1, 30, 850), (5, 60, 800),
(10, 90, 750), (15, 120, 700), (20, 150, 650),
Expand Down Expand Up @@ -141,7 +141,7 @@ By default, the barbs are plotted on the right hand side of the tephigram. The p
dew_point = os.path.join(tephi.DATA_DIR, 'dews.txt')
dew_data = tephi.loadtxt(dew_point, column_titles=('pressure', 'dewpoint'))
dews = zip(dew_data.pressure, dew_data.dewpoint)
tpg = tephi.Tephigram()
tpg = tephi.TephiAxes()
profile = tpg.plot(dews)
barbs = [(0, 0, 900), (1, 30, 850), (5, 60, 800),
(10, 90, 750), (15, 120, 700), (20, 150, 650),
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"sphinx.ext.intersphinx",
"matplotlib.sphinxext.mathmpl",
"matplotlib.sphinxext.plot_directive",
"matplotlib.sphinxext.roles",
"sphinx_copybutton",
]

Expand Down
Loading