apsg 1.1.5__py2.py3-none-any.whl → 1.2.0__py2.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.
apsg/__init__.py CHANGED
@@ -98,6 +98,6 @@ __all__ = (
98
98
  "quicknet",
99
99
  )
100
100
 
101
- __version__ = "1.1.5"
101
+ __version__ = "1.2.0"
102
102
  __author__ = "Ondrej Lexa"
103
103
  __email__ = "lexa.ondrej@gmail.com"
@@ -940,17 +940,17 @@ def quicknet(*args, **kwargs):
940
940
  filename (str): filename for figure. Default `stereonet.png`
941
941
  savefig_kwargs (dict): dict passed to ``plt.savefig``
942
942
  fol_as_pole (bool): True to plot planar features as poles,
943
- False for plotting as great circle. Default `True`
943
+ False for plotting as great circle. Default `False`
944
944
 
945
945
  Example:
946
946
  >>> l = linset.random_fisher(position=lin(120, 50))
947
947
  >>> f = folset.random_fisher(position=lin(300, 40))
948
- >>> quicknet(f, l, fol_as_pole=False)
948
+ >>> quicknet(f, l)
949
949
  """
950
950
  savefig = kwargs.get("savefig", False)
951
951
  filename = kwargs.get("filename", "stereonet.png")
952
952
  savefig_kwargs = kwargs.get("savefig_kwargs", {})
953
- fol_as_pole = kwargs.get("fol_as_pole", True)
953
+ fol_as_pole = kwargs.get("fol_as_pole", False)
954
954
  s = StereoNet(**kwargs)
955
955
  for arg in args:
956
956
  if isinstance(arg, Vector3):
@@ -963,10 +963,10 @@ def quicknet(*args, **kwargs):
963
963
  s.line(arg)
964
964
  else:
965
965
  s.vector(arg)
966
- elif isinstance(arg, Pair):
967
- s.pair(arg)
968
966
  elif isinstance(arg, Fault):
969
967
  s.fault(arg)
968
+ elif isinstance(arg, Pair):
969
+ s.pair(arg)
970
970
  elif isinstance(arg, Cone):
971
971
  s.cone(arg)
972
972
  elif isinstance(arg, Vector3Set):
@@ -979,10 +979,10 @@ def quicknet(*args, **kwargs):
979
979
  s.line(arg)
980
980
  else:
981
981
  s.vector(arg)
982
- elif isinstance(arg, PairSet):
983
- s.pair(arg)
984
982
  elif isinstance(arg, FaultSet):
985
983
  s.fault(arg)
984
+ elif isinstance(arg, PairSet):
985
+ s.pair(arg)
986
986
  else:
987
987
  print(f"{type(arg)} not supported.")
988
988
  if savefig:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apsg
3
- Version: 1.1.5
3
+ Version: 1.2.0
4
4
  Summary: APSG - The package for structural geologists
5
5
  Home-page: https://github.com/ondrolexa/apsg
6
6
  Author: Ondrej Lexa
@@ -23,13 +23,14 @@ License-File: AUTHORS.md
23
23
  Requires-Dist: numpy
24
24
  Requires-Dist: matplotlib
25
25
  Requires-Dist: scipy
26
+ Requires-Dist: sqlalchemy
27
+ Requires-Dist: pandas
26
28
  Provides-Extra: docs
27
29
  Requires-Dist: sphinx ; extra == 'docs'
28
30
  Requires-Dist: ipykernel ; extra == 'docs'
29
31
  Requires-Dist: nbsphinx ; extra == 'docs'
30
32
  Provides-Extra: extra
31
33
  Requires-Dist: jupyterlab ; extra == 'extra'
32
- Requires-Dist: pandas ; extra == 'extra'
33
34
  Provides-Extra: test
34
35
  Requires-Dist: pytest ; extra == 'test'
35
36
  Requires-Dist: black ; extra == 'test'
@@ -139,6 +140,10 @@ APSG is free software: you can redistribute it and/or modify it under the terms
139
140
 
140
141
  # Changes
141
142
 
143
+ ### 1.2.0 (master)
144
+ * sqlalchemy and pandas added to requirements
145
+ * quicknet fault bug fixed
146
+
142
147
  ### 1.1.5 (May 15 2024)
143
148
  * paleomag Core .dd bug fixed
144
149
  * fix round-off domain math error for acosd and asind
@@ -1,4 +1,4 @@
1
- apsg/__init__.py,sha256=6Iaw3uD3tBDYuGkMgEO7DQgCKgti9Jm5JMDACeay844,1966
1
+ apsg/__init__.py,sha256=NYMhZtiEFs2y0gZTex3pUd-fXRkZGMyoboNDM5doXO4,1966
2
2
  apsg/config.py,sha256=X3_yXT96xXlVxFA94EfYFKJbrcGIHT0PvB9s8EKmYOg,4569
3
3
  apsg/shell.py,sha256=UFIOy01KckLsOlqfB0UomyWZ1ITL36-lBUFhlxWdZLE,718
4
4
  apsg/database/__init__.py,sha256=7Rvcf1KBBBNhoM28ZlvQ01CkScQTroFkoS4d1kD55Ws,315
@@ -29,11 +29,11 @@ apsg/plotting/_plot_artists.py,sha256=6S0EKCqYU6rlBxcxcXALTk9PaUK6QL-BgUKmZH8tkM
29
29
  apsg/plotting/_projection.py,sha256=qnJgTQaFW0v2Pu9ySAEPADHhLgpXmfJ6QIrydry8rXQ,11473
30
30
  apsg/plotting/_roseplot.py,sha256=wqXo6b0k7lEvMrnByJYuoR_cuK1QIYZyZkObvigUx-g,12809
31
31
  apsg/plotting/_stereogrid.py,sha256=Buj0kp5P4cvTPowN6Jyt8wzvRMu3h5If1pwVWaal53M,11981
32
- apsg/plotting/_stereonet.py,sha256=LgAuKDSTRl1eCuCbhFJcKEdYr-ScfJmeqO-msbwOIC4,36506
33
- apsg-1.1.5.dist-info/AUTHORS.md,sha256=OEu_2jVMx1fm5EOj4vBlI04uvX4P2sqjPYP12VjPIcI,130
34
- apsg-1.1.5.dist-info/LICENSE,sha256=NhDqn8b2aOSNn4U4tCfJTOQ6jeggFpLIBgJrAkzdiH0,1117
35
- apsg-1.1.5.dist-info/METADATA,sha256=fONgSyncfVwVzTXpaax-PbZakRKvnBV1SfSiL5TAElA,15160
36
- apsg-1.1.5.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
37
- apsg-1.1.5.dist-info/entry_points.txt,sha256=SowP7_uRI0NJuzznKBXyM9BJcSwBxbXo6Iz5LUo9mEQ,42
38
- apsg-1.1.5.dist-info/top_level.txt,sha256=xWxwi0nqqOyKdmpsszfR-bmqnNpgVbhnLRuIKGJnaUM,5
39
- apsg-1.1.5.dist-info/RECORD,,
32
+ apsg/plotting/_stereonet.py,sha256=f1nmBSKs_SjDW0npQJSX4gN2idqxtsHcfEwI64ITDak,36489
33
+ apsg-1.2.0.dist-info/AUTHORS.md,sha256=OEu_2jVMx1fm5EOj4vBlI04uvX4P2sqjPYP12VjPIcI,130
34
+ apsg-1.2.0.dist-info/LICENSE,sha256=NhDqn8b2aOSNn4U4tCfJTOQ6jeggFpLIBgJrAkzdiH0,1117
35
+ apsg-1.2.0.dist-info/METADATA,sha256=QcncOf0aZ7--wmJ9IG10MSijHOkgLcg8GcTOP7DbOWc,15262
36
+ apsg-1.2.0.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
37
+ apsg-1.2.0.dist-info/entry_points.txt,sha256=SowP7_uRI0NJuzznKBXyM9BJcSwBxbXo6Iz5LUo9mEQ,42
38
+ apsg-1.2.0.dist-info/top_level.txt,sha256=xWxwi0nqqOyKdmpsszfR-bmqnNpgVbhnLRuIKGJnaUM,5
39
+ apsg-1.2.0.dist-info/RECORD,,
File without changes
File without changes