Mapping API
This page provides detailed API references for mapping submodules.
Data Loading and Preparation
minexpy.mapping.dataloader
Data loading and preprocessing utilities for geochemical point mapping.
This module implements Step 1 of MinexPy's mapping workflow. It focuses on loading point datasets, validating required fields, handling missing/non-numeric values, projecting coordinates, and applying optional concentration transforms.
Examples:
Prepare point data from a DataFrame:
>>> import pandas as pd
>>> from minexpy.mapping.dataloader import prepare
>>>
>>> df = pd.DataFrame(
... {
... "lon": [44.1, 44.2, 44.3],
... "lat": [36.5, 36.6, 36.7],
... "Cu_ppm": [12.5, 25.0, 18.2],
... }
... )
>>> prepared, meta = prepare(
... data=df,
... x_col="lon",
... y_col="lat",
... value_col="Cu_ppm",
... source_crs="EPSG:4326",
... target_crs="EPSG:3857",
... value_transform="log10",
... )
>>> prepared[["x", "y", "value", "value_raw"]].head()
Invert transformed values for display:
>>> from minexpy.mapping.dataloader import invert_values_for_display
>>> restored = invert_values_for_display(prepared["value"], meta)
GeochemDataWarning
GeochemPrepareMetadata
dataclass
Metadata describing cleaning and transformation actions applied to a dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source_crs
|
str
|
Coordinate reference system identifier for input coordinates. |
required |
target_crs
|
str
|
Coordinate reference system identifier for output coordinates. |
required |
x_column
|
str
|
Name of the input x-coordinate column. |
required |
y_column
|
str
|
Name of the input y-coordinate column. |
required |
value_column
|
str
|
Name of the input concentration column. |
required |
n_input_rows
|
int
|
Number of rows in input data before cleaning. |
required |
n_dropped_nan_or_non_numeric
|
int
|
Number of rows dropped due to missing/non-numeric required fields. |
required |
n_dropped_projection_invalid
|
int
|
Number of rows dropped due to non-finite projected coordinates. |
required |
n_dropped_value_transform_invalid
|
int
|
Number of rows dropped due to invalid transformed concentration values. |
required |
n_dropped_duplicates
|
int
|
Number of duplicate coordinate rows dropped. |
required |
value_transform_applied
|
bool
|
Whether a value transformation was applied. |
required |
value_transform_name
|
str
|
Name of the value transformation ('none', 'log10', or callable name). |
required |
can_invert_for_display
|
bool
|
Whether transformed values can be inverted back for display. |
required |
inverse_transform_name
|
str
|
Name of inverse transform, when available. |
None
|
Source code in minexpy/mapping/dataloader.py
invert_values_for_display(values, metadata)
Invert transformed concentration values for display when possible.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
values
|
array - like
|
Transformed or untransformed concentration values. |
required |
metadata
|
GeochemPrepareMetadata
|
Metadata returned by |
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
Values mapped back to display scale when inversion is available. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If inversion is not available for the applied value transform. |
Examples:
>>> import numpy as np
>>> import pandas as pd
>>> from minexpy.mapping.dataloader import prepare, invert_values_for_display
>>> df = pd.DataFrame({"x": [1, 2], "y": [3, 4], "Cu": [10.0, 100.0]})
>>> prepared, meta = prepare(df, "x", "y", "Cu", value_transform="log10")
>>> np.allclose(invert_values_for_display(prepared["value"], meta), prepared["value_raw"])
True
Source code in minexpy/mapping/dataloader.py
prepare(data, x_col, y_col, value_col, source_crs='EPSG:4326', target_crs='EPSG:4326', coordinate_transform=None, value_transform=None, drop_duplicate_coordinates=True)
Load and prepare geochemical point data for mapping workflows.
The function validates required columns, enforces numeric types, removes rows with missing values, projects coordinates, applies optional value transformation, and optionally drops duplicated coordinates.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame or path - like
|
Input geochemical point table, or path to |
required |
x_col
|
str
|
Column name for x coordinate (longitude/easting). |
required |
y_col
|
str
|
Column name for y coordinate (latitude/northing). |
required |
value_col
|
str
|
Column name containing element concentration values. |
required |
source_crs
|
str
|
Input coordinate reference system. |
'EPSG:4326'
|
target_crs
|
str
|
Output coordinate reference system. |
'EPSG:4326'
|
coordinate_transform
|
callable
|
Optional coordinate hook with signature |
None
|
value_transform
|
(None, log10, callable)
|
Optional concentration transform. |
None
|
drop_duplicate_coordinates
|
bool
|
If True, duplicate |
True
|
Returns:
| Type | Description |
|---|---|
(DataFrame, GeochemPrepareMetadata)
|
Prepared table and metadata describing all cleaning/transformation actions. |
Examples:
>>> import pandas as pd
>>> from minexpy.mapping.dataloader import prepare
>>> df = pd.DataFrame(
... {"x": [44.1, 44.1, 44.2], "y": [36.5, 36.5, 36.6], "Zn": [11.0, 11.0, 15.5]}
... )
>>> prepared, meta = prepare(df, "x", "y", "Zn", value_transform="log10")
>>> prepared[["x", "y", "value", "value_raw"]].head()
Notes
Built-in projection support is intentionally limited to:
EPSG:4326toEPSG:3857EPSG:3857toEPSG:4326- identity when source and target CRS are equal
For other CRS pairs, pass a custom coordinate_transform callable.
References
.. [1] Snyder, J. P. (1987). Map Projections: A Working Manual. U.S. Geological Survey Professional Paper 1395.
Source code in minexpy/mapping/dataloader.py
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 | |
Grid Generation
minexpy.mapping.gridding
Grid creation utilities for geochemical mapping workflows.
This module implements Step 2 of MinexPy's mapping workflow. It builds a regular 2D grid (base layer) from prepared point coordinates so later steps can perform interpolation and map rendering.
Examples:
Create a mesh from prepared point data:
>>> import pandas as pd
>>> from minexpy.mapping import create_grid
>>> data = pd.DataFrame(
... {
... "x": [100.0, 130.0, 140.0, 170.0],
... "y": [200.0, 210.0, 240.0, 260.0],
... }
... )
>>> grid = create_grid(data, cell_size=10.0)
>>> grid.Xi.shape
(8, 10)
GridDefinition
dataclass
Container for mesh grid geometry and metadata.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x_col
|
str
|
Name of the x-coordinate column used for grid creation. |
required |
y_col
|
str
|
Name of the y-coordinate column used for grid creation. |
required |
raw_extent
|
tuple of float
|
Unpadded data extent as |
required |
padded_extent
|
tuple of float
|
Padded grid extent as |
required |
cell_size
|
float
|
Uniform grid spacing used for both x and y axes. |
required |
padding_ratio
|
float
|
Relative padding applied to each axis range. |
required |
xi
|
ndarray
|
One-dimensional x-axis coordinates of the grid. |
required |
yi
|
ndarray
|
One-dimensional y-axis coordinates of the grid. |
required |
Xi
|
ndarray
|
Two-dimensional x-coordinate mesh from |
required |
Yi
|
ndarray
|
Two-dimensional y-coordinate mesh from |
required |
grid_points
|
ndarray
|
Flattened grid nodes of shape |
required |
nx
|
int
|
Number of nodes along x-axis. |
required |
ny
|
int
|
Number of nodes along y-axis. |
required |
n_nodes
|
int
|
Total node count ( |
required |
Source code in minexpy/mapping/gridding.py
create_grid(data, cell_size, x_col='x', y_col='y', padding_ratio=0.05)
Build a regular mesh grid from prepared geochemical point coordinates.
The function computes data extent, applies relative padding, creates
one-dimensional grid axes, builds a 2D mesh using numpy.meshgrid, and
provides a flattened (x, y) node array for interpolation routines.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Prepared point dataset, typically returned by
|
required |
cell_size
|
float
|
Uniform grid spacing for x and y axes. Must be finite and greater than zero. |
required |
x_col
|
str
|
Name of x-coordinate column. |
'x'
|
y_col
|
str
|
Name of y-coordinate column. |
'y'
|
padding_ratio
|
float
|
Relative padding added to each side of the data extent. Must be finite and non-negative. |
0.05
|
Returns:
| Type | Description |
|---|---|
GridDefinition
|
Dataclass containing extents, axes, mesh arrays, flattened points, and node counts. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If input data is invalid, coordinate values are non-finite, axis ranges are zero, or numeric parameters are invalid. |
KeyError
|
If |
Examples:
>>> import pandas as pd
>>> from minexpy.mapping import create_grid
>>> prepared = pd.DataFrame(
... {
... "x": [0.0, 100.0, 200.0],
... "y": [0.0, 50.0, 100.0],
... }
... )
>>> grid = create_grid(prepared, cell_size=25.0, padding_ratio=0.10)
>>> grid.grid_points.shape[1]
2
Notes
This step only creates mesh geometry. It does not interpolate concentration values. Interpolation is handled in a later mapping step.
References
.. [1] Burrough, P. A., & McDonnell, R. A. (1998). Principles of Geographical Information Systems. Oxford University Press.
Source code in minexpy/mapping/gridding.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | |
Interpolation
minexpy.mapping.interpolation
Interpolation utilities for geochemical mapping workflows.
This module implements Step 3 of MinexPy's mapping workflow. It interpolates prepared point values onto a regular grid using multiple methods.
Examples:
Run interpolation with the dispatcher:
>>> import pandas as pd
>>> from minexpy.mapping import create_grid, interpolate
>>> prepared = pd.DataFrame(
... {
... "x": [0.0, 50.0, 100.0, 100.0],
... "y": [0.0, 100.0, 0.0, 100.0],
... "value": [10.0, 15.0, 20.0, 30.0],
... }
... )
>>> grid = create_grid(prepared, cell_size=10.0)
>>> result = interpolate(prepared, grid, method="idw")
>>> result.Z.shape == (grid.ny, grid.nx)
True
InterpolationResult
dataclass
Container for interpolation outputs and diagnostics.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
grid
|
GridDefinition
|
Grid metadata and geometry used for interpolation. |
required |
Z
|
ndarray
|
Interpolated values on grid with shape |
required |
method
|
str
|
Interpolation method identifier. |
required |
value_col
|
str
|
Name of the source value column used from input data. |
required |
valid_mask
|
ndarray
|
Boolean mask where interpolated values are finite. |
required |
parameters
|
dict
|
Method parameters used during interpolation. |
required |
converged
|
bool
|
Convergence status for iterative methods (minimum curvature). |
None
|
iterations
|
int
|
Number of iterations performed by iterative methods. |
None
|
max_change
|
float
|
Final maximum absolute iteration update for iterative methods. |
None
|
Source code in minexpy/mapping/interpolation.py
interpolate(data, grid, method='triangulation', value_col='value', **kwargs)
Dispatch interpolation to one of the supported methods.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Prepared point data, typically returned by |
required |
grid
|
GridDefinition
|
Grid definition returned by |
required |
method
|
(nearest, triangulation, idw, minimum_curvature)
|
Interpolation method name. |
'nearest'
|
value_col
|
str
|
Value column name from |
'value'
|
**kwargs
|
dict
|
Method-specific keyword arguments forwarded to the selected interpolation function. |
{}
|
Returns:
| Type | Description |
|---|---|
InterpolationResult
|
Interpolation result object containing surface and diagnostics. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Source code in minexpy/mapping/interpolation.py
interpolate_idw(data, grid, value_col='value', power=2.0, k=12, radius=None, eps=1e-12)
Interpolate values using inverse distance weighting (IDW).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Prepared point data. |
required |
grid
|
GridDefinition
|
Grid definition. |
required |
value_col
|
str
|
Value column name from |
'value'
|
power
|
float
|
IDW distance exponent. |
2.0
|
k
|
int
|
Maximum number of nearest neighbors considered per grid node. |
12
|
radius
|
float
|
Optional maximum neighbor distance. If provided, neighbors farther than
|
None
|
eps
|
float
|
Small positive value used to stabilize weight computation near zero distance. |
1e-12
|
Returns:
| Type | Description |
|---|---|
InterpolationResult
|
Result with IDW interpolated surface. |
Notes
If a grid node coincides with one or more samples, exact sample value matching is used instead of weighted averaging.
Source code in minexpy/mapping/interpolation.py
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | |
interpolate_minimum_curvature(data, grid, value_col='value', max_iter=2000, tolerance=0.0001, relaxation=1.0, mask_outside_hull=False)
Interpolate values using iterative grid-based minimum curvature.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Prepared point data. |
required |
grid
|
GridDefinition
|
Grid definition. |
required |
value_col
|
str
|
Value column name from |
'value'
|
max_iter
|
int
|
Maximum number of solver iterations. |
2000
|
tolerance
|
float
|
Convergence threshold on maximum absolute node update. |
1e-4
|
relaxation
|
float
|
Relaxation factor applied to each node update. |
1.0
|
mask_outside_hull
|
bool
|
If True, nodes outside convex hull are masked to NaN after solving. |
False
|
Returns:
| Type | Description |
|---|---|
InterpolationResult
|
Result with minimum-curvature interpolated surface and convergence diagnostics. |
Notes
The solver enforces sample constraints on nearest grid nodes at every iteration and minimizes surface roughness via a discrete biharmonic condition in free nodes.
References
.. [1] Briggs, I. C. (1974). Machine contouring using minimum curvature. Geophysics, 39(1), 39-48.
Source code in minexpy/mapping/interpolation.py
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 | |
interpolate_nearest(data, grid, value_col='value')
Interpolate values to grid nodes using nearest neighbor assignment.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Prepared point data. |
required |
grid
|
GridDefinition
|
Grid definition. |
required |
value_col
|
str
|
Value column name from |
'value'
|
Returns:
| Type | Description |
|---|---|
InterpolationResult
|
Result with nearest-neighbor interpolated surface. |
Examples:
>>> import pandas as pd
>>> from minexpy.mapping import create_grid, interpolate_nearest
>>> d = pd.DataFrame({"x": [0, 10], "y": [0, 10], "value": [1.0, 2.0]})
>>> g = create_grid(d, cell_size=5.0)
>>> out = interpolate_nearest(d, g)
>>> out.Z.shape == (g.ny, g.nx)
True
Notes
This method is local and piecewise-constant. It does not smooth between sample locations.
Source code in minexpy/mapping/interpolation.py
interpolate_triangulation(data, grid, value_col='value', kind='linear')
Interpolate values using triangulation-based griddata interpolation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Prepared point data. |
required |
grid
|
GridDefinition
|
Grid definition. |
required |
value_col
|
str
|
Value column name from |
'value'
|
kind
|
(linear, cubic)
|
Triangulation interpolation mode passed to |
'linear'
|
Returns:
| Type | Description |
|---|---|
InterpolationResult
|
Result with triangulation-based interpolated surface. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Notes
Grid nodes outside the convex hull of input points are returned as NaN.
Source code in minexpy/mapping/interpolation.py
Visualization and Map Composition
minexpy.mapping.viz
Final map composition utilities for geochemical mapping workflows.
This module implements Step 4 of MinexPy's mapping workflow by composing preparation, gridding, interpolation, and cartographic layout into one map.
Examples:
Generate a map in one call:
>>> import pandas as pd
>>> from minexpy.mapping import plot_map
>>> df = pd.DataFrame(
... {
... "x": [0, 20, 40, 0, 40],
... "y": [0, 0, 0, 40, 40],
... "Zn": [10.0, 15.0, 23.0, 18.0, 30.0],
... }
... )
>>> fig, ax = plot_map(
... data=df,
... x_col="x",
... y_col="y",
... value_col="Zn",
... cell_size=5.0,
... title_parts={"what": "Zn (ppm)", "where": "Area X", "when": "2026"},
... )
plot_map(data=None, prepared=None, prepare_metadata=None, grid=None, interpolation_result=None, x_col='x', y_col='y', value_col='value', source_crs='EPSG:4326', target_crs='EPSG:4326', coordinate_transform=None, value_transform=None, drop_duplicate_coordinates=True, cell_size=None, padding_ratio=0.05, method='idw', interpolation_kwargs=None, title=None, title_parts=None, cmap='viridis', show_contours=False, contour_levels=10, show_points=True, point_size=12.0, point_alpha=0.7, point_color='black', show_north_arrow=True, show_scale_bar=True, show_numeric_scale=True, show_coordinate_grid=True, show_neatline=True, locator_config=None, crs_info=None, footer=None, figsize=(10.0, 8.0), ax=None)
Compose a final geochemical interpolation map with cartographic elements.
This function can run the full mapping pipeline (prepare -> create_grid
-> interpolate) or consume precomputed outputs from any stage.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
DataFrame
|
Raw input table for full-pipeline mode. |
None
|
prepared
|
DataFrame
|
Preprocessed table from Step 1. |
None
|
prepare_metadata
|
GeochemPrepareMetadata
|
Step 1 metadata, used for display inversion and CRS annotations. |
None
|
grid
|
GridDefinition
|
Precomputed grid from Step 2. |
None
|
interpolation_result
|
InterpolationResult
|
Precomputed interpolation from Step 3. |
None
|
x_col
|
str
|
Coordinate/value column names used in raw or prepared modes. |
'x'
|
y_col
|
str
|
Coordinate/value column names used in raw or prepared modes. |
'x'
|
value_col
|
str
|
Coordinate/value column names used in raw or prepared modes. |
'x'
|
source_crs
|
str
|
CRS arguments for raw |
'EPSG:4326'
|
target_crs
|
str
|
CRS arguments for raw |
'EPSG:4326'
|
coordinate_transform
|
callable
|
Optional coordinate transform hook for raw mode. |
None
|
value_transform
|
(None, log10, callable)
|
Optional value transform for raw mode. |
None
|
drop_duplicate_coordinates
|
bool
|
Duplicate handling rule for raw mode. |
True
|
cell_size
|
float
|
Grid spacing for modes requiring grid construction. |
None
|
padding_ratio
|
float
|
Grid padding ratio for modes requiring grid construction. |
0.05
|
method
|
str
|
Interpolation method for modes requiring interpolation construction. |
'idw'
|
interpolation_kwargs
|
dict
|
Additional keyword arguments for interpolation. |
None
|
title
|
str
|
Explicit map title. |
None
|
title_parts
|
dict
|
Structured title parts with optional keys |
None
|
cmap
|
str
|
Colormap name for interpolated surface. |
'viridis'
|
show_contours
|
bool
|
If True, overlay contours. |
False
|
contour_levels
|
int
|
Number of contour levels when contours are enabled. |
10
|
show_points
|
bool
|
If True, overlay sample points when available. |
True
|
point_size
|
float
|
Point marker size. |
12.0
|
point_alpha
|
float
|
Point transparency. |
0.7
|
point_color
|
str
|
Point color. |
'black'
|
show_north_arrow
|
bool
|
Draw north arrow. |
True
|
show_scale_bar
|
bool
|
Draw scale bar. |
True
|
show_numeric_scale
|
bool
|
Draw numeric scale annotation (1:n) when metric units are available. |
True
|
show_coordinate_grid
|
bool
|
Draw coordinate grid lines. |
True
|
show_neatline
|
bool
|
Draw map frame (neatline). |
True
|
locator_config
|
dict
|
Locator inset configuration with keys:
|
None
|
crs_info
|
dict
|
CRS metadata dictionary for annotation block. |
None
|
footer
|
str
|
Free-text map credits/footer content. |
None
|
figsize
|
tuple of float
|
Figure size when creating a new figure. |
(10.0, 8.0)
|
ax
|
Axes
|
Existing axes to draw on. |
None
|
Returns:
| Type | Description |
|---|---|
(Figure, Axes)
|
Final map figure and primary axes. |
Examples:
>>> import pandas as pd
>>> from minexpy.mapping import plot_map
>>> df = pd.DataFrame(
... {"x": [0, 20, 40], "y": [0, 20, 40], "Zn": [12.0, 17.0, 24.0]}
... )
>>> fig, ax = plot_map(df, x_col="x", y_col="y", value_col="Zn", cell_size=5.0)
Notes
Mixed-mode input is allowed. When both upstream and downstream stage objects are provided, downstream precomputed objects take precedence and ignored upstream inputs emit warnings.
Source code in minexpy/mapping/viz.py
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 | |
viz(*args, **kwargs)
Alias for :func:plot_map.
Returns:
| Type | Description |
|---|---|
(Figure, Axes)
|
Final map figure and primary axes. |