Skip to content

Commit

Permalink
Deploy dev from c7198e6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 9, 2025
1 parent d890f30 commit 9be5556
Show file tree
Hide file tree
Showing 639 changed files with 3,419 additions and 3,041 deletions.
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
www.pygmt.org
www.pygmt.org
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 237daf39053c41a32645dc81b2b9ce46
config: fa555907650d24a6877fbeed8f2c85b0
tags: 645f666f9bcd5a90fca523b33c5a78b7
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"import geodatasets\nimport geopandas as gpd\nimport pygmt\n\n# Read a sample dataset provided by the geodatasets package.\n# The dataset contains large rivers in Europe, stored as LineString/MultiLineString\n# geometry types.\ngdf = gpd.read_file(geodatasets.get_path(\"eea large_rivers\"))\n\n# Convert object to EPSG 4326 coordinate system\ngdf = gdf.to_crs(\"EPSG:4326\")\nprint(gdf.head())"
"import geodatasets\nimport geopandas as gpd\nimport pygmt\n\n# Read a sample dataset provided by the geodatasets package.\n# The dataset contains large rivers in Europe, stored as LineString/MultiLineString\n# geometry types.\ngdf = gpd.read_file(geodatasets.get_path(\"eea large_rivers\"))\n\n# Convert object to EPSG 4326 coordinate system\ngdf = gdf.to_crs(\"EPSG:4326\")\ngdf.head()"
]
},
{
Expand Down
Binary file not shown.
Binary file modified dev/_downloads/0d497d25181cac38ebb80f042bf33ee9/insets.zip
Binary file not shown.
20 changes: 19 additions & 1 deletion dev/_downloads/0f92b102d0472c0a184b3e2f3808cb44/plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,25 @@
},
"outputs": [],
"source": [
"data = pygmt.datasets.load_sample_data(name=\"japan_quakes\")\n\n# Set the region for the plot to be slightly larger than the data bounds.\nregion = [\n data.longitude.min() - 1,\n data.longitude.max() + 1,\n data.latitude.min() - 1,\n data.latitude.max() + 1,\n]\n\nprint(region)\nprint(data.head())"
"data = pygmt.datasets.load_sample_data(name=\"japan_quakes\")\ndata.head()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Set the region for the plot to be slightly larger than the data bounds.\n\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"region = [\n data.longitude.min() - 1,\n data.longitude.max() + 1,\n data.latitude.min() - 1,\n data.latitude.max() + 1,\n]\nregion"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

# Convert object to EPSG 4326 coordinate system
gdf = gdf.to_crs("EPSG:4326")
print(gdf.head())
gdf.head()

# %%
fig = pygmt.Figure()
Expand Down
Binary file modified dev/_downloads/120a7be7b845664f208e256f570dee0b/scalebar.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/17af388415902dca44f9ba9bf6440bb0/wiggle.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/17da4f8964b11361de7d2cb382db3509/plot.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"\n# Choropleth map\n\nThe :meth:`pygmt.Figure.plot` method allows us to plot geographical data such as\npolygons which are stored in a :class:`geopandas.GeoDataFrame` object. Use\n:func:`geopandas.read_file` to load data from any supported OGR format such as a\nshapefile (.shp), GeoJSON (.geojson), geopackage (.gpkg), etc. You can also use a full\nURL pointing to your desired data source. Then, pass the class:`geopandas.GeoDataFrame`\nas an argument to the ``data`` parameter of :meth:`pygmt.Figure.plot`, and style the\ngeometry using the ``pen`` parameter. To fill the polygons based on a corresponding\ncolumn you need to set ``fill=\"+z\"`` as well as select the appropriate column using the\n``aspatial`` parameter as shown in the example below.\n"
"\n# Choropleth map\n\nThe :meth:`pygmt.Figure.plot` method allows us to plot geographical data such as\npolygons which are stored in a :class:`geopandas.GeoDataFrame` object. Use\n:func:`geopandas.read_file` to load data from any supported OGR format such as a\nshapefile (.shp), GeoJSON (.geojson), geopackage (.gpkg), etc. You can also use a full\nURL pointing to your desired data source. Then, pass the :class:`geopandas.GeoDataFrame`\nas an argument to the ``data`` parameter of :meth:`pygmt.Figure.plot`, and style the\ngeometry using the ``pen`` parameter. To fill the polygons based on a corresponding\ncolumn you need to set ``fill=\"+z\"`` as well as select the appropriate column using the\n``aspatial`` parameter as shown in the example below.\n"
]
},
{
Expand All @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"import geodatasets\nimport geopandas as gpd\nimport pygmt\n\n# Read the example dataset provided by geodatasets.\ngdf = gpd.read_file(geodatasets.get_path(\"geoda airbnb\"))\nprint(gdf)"
"import geodatasets\nimport geopandas as gpd\nimport pygmt\n\n# Read the example dataset provided by geodatasets.\ngdf = gpd.read_file(geodatasets.get_path(\"geoda airbnb\"))\nprint(gdf.head())"
]
},
{
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/1e3febb87a77ca5c69245390346b4f57/azim_lambert.zip
Binary file not shown.
Binary file modified dev/_downloads/1f478f1e0887119fc52122920bef1414/subplots.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/20d1dc72f87b41e11042b5e3f45aa960/tilemaps.zip
Binary file not shown.
Binary file modified dev/_downloads/248a9f3a51a8555d27d5ce657f90f1f2/histogram.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/2b8a82d76c35416f3a74c64ff3f09f72/scatter.zip
Binary file not shown.
Binary file modified dev/_downloads/2b8b6053ecb8861eaa4976e5c41ee03f/cyl_mercator.zip
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Subset to area of Lāhainā in EPSG:32604 coordinates
image = img.rio.clip_box(minx=738000, maxx=755000, miny=2300000, maxy=2318000)
image = image.load() # Force loading the DataArray into memory
image # noqa: B018
image

# %%
# Plot the RGB imagery:
Expand Down
Binary file modified dev/_downloads/3316ce27d3234eb0ef1f49d830b9de03/rose.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/351dc1bee8d417d319137b57bdf71bc3/text.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/41af0833450ffd160cc785ca9d49a833/rgb_image.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/49c77eb0e51cc152d80dcf33222c1d77/envelope.zip
Binary file not shown.
Binary file modified dev/_downloads/4dfa99b469213f63647baeb0fd2768a1/timestamp.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/53343f38b1717e3f5118bc5f71e13619/regions.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions dev/_downloads/58b941a964130bf352acec2e6ca816e6/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
# The data are loaded as a :class:`pandas.DataFrame`.

data = pygmt.datasets.load_sample_data(name="japan_quakes")
data.head()

# %%
# Set the region for the plot to be slightly larger than the data bounds.
region = [
data.longitude.min() - 1,
data.longitude.max() + 1,
data.latitude.min() - 1,
data.latitude.max() + 1,
]

print(region)
print(data.head())
region

# %%
# We'll use the :meth:`pygmt.Figure.plot` method to plot circles on the
Expand Down
Binary file not shown.
Binary file modified dev/_downloads/5b115abd395df29687bbdca4aedd657e/solar.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/5c7e0aea90c8c5ec02b1953ae3a8fc2e/inset.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/5e17e15b04cf954695a55dde55249b4b/points.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/674d711e688937b3ca63c0cecee55f8b/contour_map.zip
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
polygons which are stored in a :class:`geopandas.GeoDataFrame` object. Use
:func:`geopandas.read_file` to load data from any supported OGR format such as a
shapefile (.shp), GeoJSON (.geojson), geopackage (.gpkg), etc. You can also use a full
URL pointing to your desired data source. Then, pass the class:`geopandas.GeoDataFrame`
URL pointing to your desired data source. Then, pass the :class:`geopandas.GeoDataFrame`
as an argument to the ``data`` parameter of :meth:`pygmt.Figure.plot`, and style the
geometry using the ``pen`` parameter. To fill the polygons based on a corresponding
column you need to set ``fill="+z"`` as well as select the appropriate column using the
Expand All @@ -20,7 +20,7 @@

# Read the example dataset provided by geodatasets.
gdf = gpd.read_file(geodatasets.get_path("geoda airbnb"))
print(gdf)
print(gdf.head())

# %%
fig = pygmt.Figure()
Expand Down
Binary file modified dev/_downloads/6bf411f0d7d0c7006b98ac79e4998bef/conic_albers.zip
Binary file not shown.
Binary file modified dev/_downloads/6de12119bb508638a133a6081c6d7b77/text_symbols.zip
Binary file not shown.
Binary file modified dev/_downloads/6e7f6bea33a42fc5673bb62173ae0ebd/cyl_miller.zip
Binary file not shown.
Binary file modified dev/_downloads/6f6095db5fa29b4442e2fdf406ade8e1/linefronts.zip
Binary file not shown.
Binary file modified dev/_downloads/6fd14bfce3a2c083f968ef58cc8db9b0/bars.zip
Binary file not shown.
Binary file modified dev/_downloads/7042bb2a0f97836ab62fc29615161593/legend.zip
Binary file not shown.
Binary file modified dev/_downloads/7119e91bd2a74019b1541bb3aefcfb5c/shorelines.zip
Binary file not shown.
Binary file modified dev/_downloads/72036bd60f8150bf6b6ce3f793293f6c/linestyles.zip
Binary file not shown.
Binary file modified dev/_downloads/746a79d31f965fae170f0c181990312a/image.zip
Binary file not shown.
Binary file modified dev/_downloads/75350e85fef4d6b5246c61e614ccee6e/grdgradient.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/7ddba3821245b456fdde82608ba2e214/blockm.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/818c5174d0772ac928512be2284d2f8a/patterns.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/8b3becabc55adca68dc1a699d6438433/polar.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/90325d6220135dba2cd0b0bb5850ba9e/misc_hammer.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/9247dc7d0a3c7072ab714516f3109333/grdlandmask.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/965290cd60c381cf97b4af9f079872b2/meca.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/993b9f04df2c6f466a4e3df1d358e4a6/coastlines.zip
Binary file not shown.
Binary file modified dev/_downloads/9b909195fc9238b70d8a9df63b512099/logo.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/a77720ba4c74abe6edb60ce9bfb9ddd5/earth_relief.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/b335e2cbfa96119fccae777d8f260e98/linestrings.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"outputs": [],
"source": [
"with rioxarray.open_rasterio(\n filename=\"https://oin-hotosm.s3.us-east-1.amazonaws.com/64d6a49a19cb3a000147a65b/0/64d6a49a19cb3a000147a65c.tif\",\n overview_level=5,\n) as img:\n # Subset to area of L\u0101hain\u0101 in EPSG:32604 coordinates\n image = img.rio.clip_box(minx=738000, maxx=755000, miny=2300000, maxy=2318000)\n image = image.load() # Force loading the DataArray into memory\nimage # noqa: B018"
"with rioxarray.open_rasterio(\n filename=\"https://oin-hotosm.s3.us-east-1.amazonaws.com/64d6a49a19cb3a000147a65b/0/64d6a49a19cb3a000147a65c.tif\",\n overview_level=5,\n) as img:\n # Subset to area of L\u0101hain\u0101 in EPSG:32604 coordinates\n image = img.rio.clip_box(minx=738000, maxx=755000, miny=2300000, maxy=2318000)\n image = image.load() # Force loading the DataArray into memory\nimage"
]
},
{
Expand Down
Binary file modified dev/_downloads/b4e05f5cc9879317a35605598b0e3237/borders.zip
Binary file not shown.
Binary file modified dev/_downloads/baa66d0a5fda1f9f85cd272488777bd1/ternary.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/c39d142abb6724ce7ace0b15c061b0b7/scatter3d.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/c532e75e8edabe1b91fdc81616ca48a9/colorbar.zip
Binary file not shown.
Binary file modified dev/_downloads/c7d704cd235621e1f1541486cc4a928c/vectors.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/c95cd5d833cb26eeb78680acc9de26ec/grdclip.zip
Binary file not shown.
Binary file modified dev/_downloads/cc146aaae6e2f6f4197cb6c1322061ef/choropleth_map.zip
Binary file not shown.
Binary file modified dev/_downloads/d29a2bd54665d33b92d0a07109fefb25/polygons.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/d6c2137e689f89baa8674d31d064c309/polyconic.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/de503e52d484746bfd1110324b6343fe/quoted_lines.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/e18f82174becc647118483d1060d0f4f/cyl_cassini.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/edde4aea350db87cb8d0905915a07294/lines.zip
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/f770416fe9213e990139e6c643aad4ac/frames.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_downloads/fcb799663adf8ffe9f88e1b6d076326f/contours.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/_images/sphx_glr_scatter_and_histograms_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_scatter_and_histograms_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_tilemaps_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_tilemaps_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_timestamp_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_timestamp_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_images/sphx_glr_timestamp_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions dev/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=00410d46"></script>
<script src="../_static/documentation_options.js?v=bb5dace7"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -257,9 +257,9 @@ <h1>All modules for which code is available</h1>

<div role="contentinfo">
<p>&#169; Copyright 2017-2025, The PyGMT Developers.
<span class="commit">Revision <code><a href="https://github.com/GenericMappingTools/pygmt/commit/af66e2ab">af66e2ab</a></code>.
<span class="commit">Revision <code><a href="https://github.com/GenericMappingTools/pygmt/commit/c7198e6f">c7198e6f</a></code>.
</span>
<span class="lastupdated">Last updated on Jan 05, 2025.
<span class="lastupdated">Last updated on Jan 08, 2025.
</span></p>
</div>

Expand Down
8 changes: 4 additions & 4 deletions dev/_modules/pygmt/_show_versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=00410d46"></script>
<script src="../../_static/documentation_options.js?v=bb5dace7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -248,7 +248,7 @@ <h1>Source code for pygmt._show_versions</h1><div class="highlight"><pre>

<div class="viewcode-block" id="show_versions">
<a class="viewcode-back" href="../../api/generated/pygmt.show_versions.html#pygmt.show_versions">[docs]</a>
<span class="k">def</span> <span class="nf">show_versions</span><span class="p">(</span><span class="n">file</span><span class="p">:</span> <span class="n">TextIO</span> <span class="o">|</span> <span class="kc">None</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="p">):</span>
<span class="k">def</span> <span class="nf">show_versions</span><span class="p">(</span><span class="n">file</span><span class="p">:</span> <span class="n">TextIO</span> <span class="o">|</span> <span class="kc">None</span> <span class="o">=</span> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Print various dependency versions which are useful when submitting bug reports.</span>

Expand Down Expand Up @@ -298,9 +298,9 @@ <h1>Source code for pygmt._show_versions</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2017-2025, The PyGMT Developers.
<span class="commit">Revision <code><a href="https://github.com/GenericMappingTools/pygmt/commit/af66e2ab">af66e2ab</a></code>.
<span class="commit">Revision <code><a href="https://github.com/GenericMappingTools/pygmt/commit/c7198e6f">c7198e6f</a></code>.
</span>
<span class="lastupdated">Last updated on Jan 05, 2025.
<span class="lastupdated">Last updated on Jan 08, 2025.
</span></p>
</div>

Expand Down
6 changes: 3 additions & 3 deletions dev/_modules/pygmt/accessors.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=00410d46"></script>
<script src="../../_static/documentation_options.js?v=bb5dace7"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down Expand Up @@ -336,9 +336,9 @@ <h1>Source code for pygmt.accessors</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>&#169; Copyright 2017-2025, The PyGMT Developers.
<span class="commit">Revision <code><a href="https://github.com/GenericMappingTools/pygmt/commit/af66e2ab">af66e2ab</a></code>.
<span class="commit">Revision <code><a href="https://github.com/GenericMappingTools/pygmt/commit/c7198e6f">c7198e6f</a></code>.
</span>
<span class="lastupdated">Last updated on Jan 05, 2025.
<span class="lastupdated">Last updated on Jan 08, 2025.
</span></p>
</div>

Expand Down
Loading

0 comments on commit 9be5556

Please sign in to comment.