matplotlib-map-utils 2.1.0__py3-none-any.whl → 3.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,21 @@
1
1
  # This handles importing of all the functions and classes
2
2
  from .core.north_arrow import NorthArrow, north_arrow
3
3
  from .core.scale_bar import ScaleBar, scale_bar, dual_bars
4
+ from .core.inset_map import InsetMap, inset_map, ExtentIndicator, indicate_extent, DetailIndicator, indicate_detail, inset_usa
5
+ from typing import Literal
4
6
 
5
7
  # This defines what wildcard imports should import
6
- __all__ = ["NorthArrow", "north_arrow", "ScaleBar", "scale_bar", "dual_bars"]
8
+ __all__ = ["NorthArrow", "north_arrow",
9
+ "ScaleBar", "scale_bar", "dual_bars",
10
+ "InsetMap","inset_map", "ExtentIndicator","indicate_extent", "DetailIndicator","indicate_detail", "inset_usa",
11
+ "set_size"]
12
+
13
+ def set_size(size: Literal["xs","xsmall","x-small",
14
+ "sm","small",
15
+ "md","medium",
16
+ "lg","large",
17
+ "xl","xlarge","x-large"]):
18
+
19
+ NorthArrow.set_size(size)
20
+ ScaleBar.set_size(size)
21
+ InsetMap.set_size(size)
@@ -1,4 +1,8 @@
1
+ from typing import Literal
1
2
  from .north_arrow import NorthArrow, north_arrow
2
3
  from .scale_bar import ScaleBar, scale_bar, dual_bars
4
+ from .inset_map import InsetMap, inset_map, ExtentIndicator, indicate_extent, DetailIndicator, indicate_detail, inset_usa
3
5
 
4
- __all__ = ["NorthArrow", "north_arrow", "ScaleBar", "scale_bar", "dual_bars"]
6
+ __all__ = ["NorthArrow", "north_arrow",
7
+ "ScaleBar", "scale_bar", "dual_bars",
8
+ "InsetMap","inset_map", "ExtentIndicator","indicate_extent", "DetailIndicator","indicate_detail", "inset_usa"]