xslope 0.1.13__py3-none-any.whl → 0.1.14__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.
xslope/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "0.1.13"
2
+ __version__ = "0.1.14"
3
3
 
4
4
 
xslope/plot.py CHANGED
@@ -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
@@ -1,21 +1,21 @@
1
1
  xslope/__init__.py,sha256=ZygAIkX6Nbjag1czWdQa-yP-GM1mBE_9ss21Xh__JFc,34
2
- xslope/_version.py,sha256=XLyb183vl7CU3KttGJB7AeLEWBwd9veAWre8ysdY9ww,51
2
+ xslope/_version.py,sha256=ixr9Migpjqmt6Ouahz7Nl34FCcoYvrOjP-g-zkweVyw,51
3
3
  xslope/advanced.py,sha256=-eL4-I36j6DfsheaGbOtclUHTFkkSn1k5k4YF9tOCvU,18278
4
4
  xslope/fem.py,sha256=x3BWHqxqJd-K78NzLquqr8eLXWVdFMzyA2cQXTNqLTk,115719
5
5
  xslope/fileio.py,sha256=BajiNljdwMMF2u2SqLpObZ-rimhgm3XyaFo14N6vZJI,38180
6
6
  xslope/global_config.py,sha256=Cj8mbPidIuj5Ty-5cZM-c8H12kNvyHsk5_ofNGez-3M,2253
7
7
  xslope/mesh copy.py,sha256=qtMH1yKFgHM4kNuIrxco7tKV86R3Dbf7Nok5j6MtlLY,131013
8
8
  xslope/mesh.py,sha256=Kn2Um1wz50EA4xd5xpxgxxegxWOlpL3Brks0_8JLWFQ,139382
9
- xslope/plot.py,sha256=VkItm3kASiNL3hha-W6PbjdJ7w2_yi2_4LcjH7GqokM,86265
9
+ xslope/plot.py,sha256=35_qwMqA-qDn_GKB24ff5tYBYDvcR605FUJ5IZJnIYc,86534
10
10
  xslope/plot_fem.py,sha256=z2FLPbIx6yNIKYcgC-LcZz2jfx0WLYFL3xJgNvQ1t-c,69488
11
11
  xslope/plot_seep.py,sha256=0s8R76c_34sUwA-L-_71Kt5BZSaIFbs-xV56M69XRU4,32960
12
12
  xslope/search.py,sha256=dvgKn8JCobuvyD7fClF5lcbeHESCvV8gZ_U_lQnYRok,16867
13
13
  xslope/seep.py,sha256=AlZvp1kSPBfbNkpSZUNXqaefIRuT6BZPxhadmb5DFsk,93270
14
14
  xslope/slice.py,sha256=5zUl3qSF4PMt2d9y6jAX881aTcUWVMeVN87wt-BbIao,46380
15
15
  xslope/solve.py,sha256=_whlUuSsDqqe0wtgLowucc9dXmC8Q6J9zbViTQOmo-I,49337
16
- xslope-0.1.13.dist-info/LICENSE,sha256=NU5J88FUai_4Ixu5DqOQukA-gcXAyX8pXLhIg8OB3AM,10969
17
- xslope-0.1.13.dist-info/METADATA,sha256=gnmFMyTdek5oNE5MDHkb_WX6hiMKBJ9dP2DdG4OhHYI,2028
18
- xslope-0.1.13.dist-info/NOTICE,sha256=E-sbN0MWwvJC27Z-2_G4VUHIx4IsfvLDTmOstvY4-OQ,530
19
- xslope-0.1.13.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
20
- xslope-0.1.13.dist-info/top_level.txt,sha256=5qHbWJ1R2pdTNIainFyrVtFk8R1tRcwIn0kzTuwuV1Q,7
21
- xslope-0.1.13.dist-info/RECORD,,
16
+ xslope-0.1.14.dist-info/LICENSE,sha256=NU5J88FUai_4Ixu5DqOQukA-gcXAyX8pXLhIg8OB3AM,10969
17
+ xslope-0.1.14.dist-info/METADATA,sha256=gbzPTLbcQRkZwFIcYajPmG6JKVaH-k_JJe0iKfgJn58,2028
18
+ xslope-0.1.14.dist-info/NOTICE,sha256=E-sbN0MWwvJC27Z-2_G4VUHIx4IsfvLDTmOstvY4-OQ,530
19
+ xslope-0.1.14.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
20
+ xslope-0.1.14.dist-info/top_level.txt,sha256=5qHbWJ1R2pdTNIainFyrVtFk8R1tRcwIn0kzTuwuV1Q,7
21
+ xslope-0.1.14.dist-info/RECORD,,