xslope 0.1.13__tar.gz → 0.1.14__tar.gz

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.
Files changed (27) hide show
  1. {xslope-0.1.13/xslope.egg-info → xslope-0.1.14}/PKG-INFO +1 -1
  2. {xslope-0.1.13 → xslope-0.1.14}/xslope/_version.py +1 -1
  3. {xslope-0.1.13 → xslope-0.1.14}/xslope/plot.py +12 -7
  4. {xslope-0.1.13 → xslope-0.1.14/xslope.egg-info}/PKG-INFO +1 -1
  5. {xslope-0.1.13 → xslope-0.1.14}/LICENSE +0 -0
  6. {xslope-0.1.13 → xslope-0.1.14}/MANIFEST.in +0 -0
  7. {xslope-0.1.13 → xslope-0.1.14}/NOTICE +0 -0
  8. {xslope-0.1.13 → xslope-0.1.14}/README.md +0 -0
  9. {xslope-0.1.13 → xslope-0.1.14}/pyproject.toml +0 -0
  10. {xslope-0.1.13 → xslope-0.1.14}/setup.cfg +0 -0
  11. {xslope-0.1.13 → xslope-0.1.14}/xslope/__init__.py +0 -0
  12. {xslope-0.1.13 → xslope-0.1.14}/xslope/advanced.py +0 -0
  13. {xslope-0.1.13 → xslope-0.1.14}/xslope/fem.py +0 -0
  14. {xslope-0.1.13 → xslope-0.1.14}/xslope/fileio.py +0 -0
  15. {xslope-0.1.13 → xslope-0.1.14}/xslope/global_config.py +0 -0
  16. {xslope-0.1.13 → xslope-0.1.14}/xslope/mesh copy.py +0 -0
  17. {xslope-0.1.13 → xslope-0.1.14}/xslope/mesh.py +0 -0
  18. {xslope-0.1.13 → xslope-0.1.14}/xslope/plot_fem.py +0 -0
  19. {xslope-0.1.13 → xslope-0.1.14}/xslope/plot_seep.py +0 -0
  20. {xslope-0.1.13 → xslope-0.1.14}/xslope/search.py +0 -0
  21. {xslope-0.1.13 → xslope-0.1.14}/xslope/seep.py +0 -0
  22. {xslope-0.1.13 → xslope-0.1.14}/xslope/slice.py +0 -0
  23. {xslope-0.1.13 → xslope-0.1.14}/xslope/solve.py +0 -0
  24. {xslope-0.1.13 → xslope-0.1.14}/xslope.egg-info/SOURCES.txt +0 -0
  25. {xslope-0.1.13 → xslope-0.1.14}/xslope.egg-info/dependency_links.txt +0 -0
  26. {xslope-0.1.13 → xslope-0.1.14}/xslope.egg-info/requires.txt +0 -0
  27. {xslope-0.1.13 → xslope-0.1.14}/xslope.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: xslope
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary: Slope stability analysis (limit equilibrium and FEM) in Python.
5
5
  Author: Norman L. Jones
6
6
  Project-URL: Homepage, https://github.com/njones61/xslope
@@ -1,4 +1,4 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "0.1.13"
2
+ __version__ = "0.1.14"
3
3
 
4
4
 
@@ -673,11 +673,16 @@ def plot_circles(ax, slope_data):
673
673
  dx /= length
674
674
  dy /= length
675
675
 
676
- # Shorten shaft length slightly
677
- shaft_length = R - 5
678
-
679
- ax.arrow(Xo, Yo, dx * shaft_length, dy * shaft_length,
680
- head_width=5, head_length=5, fc='red', ec='red')
676
+ # Draw arrow with pixel-based head size
677
+ ax.annotate('',
678
+ xy=(Xo + dx * R, Yo + dy * R), # arrow tip
679
+ xytext=(Xo, Yo), # arrow start
680
+ arrowprops=dict(
681
+ arrowstyle='-|>',
682
+ color='red',
683
+ lw=1.0, # shaft width in points
684
+ mutation_scale=20 # head size in points
685
+ ))
681
686
 
682
687
  def plot_non_circ(ax, non_circ):
683
688
  """
@@ -1231,11 +1236,11 @@ def plot_inputs(
1231
1236
  slope_data,
1232
1237
  title="Slope Geometry and Inputs",
1233
1238
  figsize=(12, 6),
1234
- mat_table=True,
1239
+ mat_table=False,
1235
1240
  save_png=False,
1236
1241
  dpi=300,
1237
1242
  mode="lem",
1238
- tab_loc="upper left",
1243
+ tab_loc="top",
1239
1244
  legend_ncol="auto",
1240
1245
  legend_max_cols=6,
1241
1246
  legend_max_rows=4,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: xslope
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary: Slope stability analysis (limit equilibrium and FEM) in Python.
5
5
  Author: Norman L. Jones
6
6
  Project-URL: Homepage, https://github.com/njones61/xslope
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes