kaxe 1.5.0.dev3__tar.gz → 1.5.1__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.
- {kaxe-1.5.0.dev3/src/kaxe.egg-info → kaxe-1.5.1}/PKG-INFO +1 -1
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/pyproject.toml +1 -1
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/axis.py +10 -2
- {kaxe-1.5.0.dev3 → kaxe-1.5.1/src/kaxe.egg-info}/PKG-INFO +1 -1
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe.egg-info/SOURCES.txt +1 -0
- kaxe-1.5.1/tests/test_4.py +11 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/LICENSE +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/MANIFEST.in +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/README.md +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/setup.cfg +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/_require_3d.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/chart/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/chart/bar.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/chart/box.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/chart/pie.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/chart/qqplot.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/bounds.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/color.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/backend.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/camera.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/helper.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/hud.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/objects/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/objects/color.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/objects/line.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/objects/point.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/objects/pointer.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/objects/triangle.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/openglrender.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/d3/translator.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/draw.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/fileloader.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/helper.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/legend.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/line.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/marker.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/profiler.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/round.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/shapes.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/styles.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/svg.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/svg_pdf.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/symbol.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/text.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/core/window.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/data/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/data/excel.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/_lazy.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/arrow.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/bubble.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/contour.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/equation.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/fill.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/function.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/inequality.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/map.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/parameter.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/pillar.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d2/point.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d3/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d3/base.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d3/function.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d3/mesh.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d3/point.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/d3/potato.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/function.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/legend.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/mapdata.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/point.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/objects/text.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/_lazy.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/box.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/constants.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/d3/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/d3/axes.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/d3/geometry.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/d3/plot3d.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/d3/variants.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/double.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/empty.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/grid.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/log.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/polar.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/standard.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/themes.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/zoom.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/plot/zoom_connector.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/__init__.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-oblique.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-roman.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-semibold.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-semiboldoblique.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.classical-serif-italic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-bold.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-bolditalic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-italic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-roman.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-bold.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-boldoblique.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-demi-condensed-demicondensed.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-medium.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-oblique.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-bold.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-bolditalic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-extra-boldslanted.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-extra-romanslanted.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-italic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-roman.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-upright-italic-uprightitalic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-bold.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-bolditalic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-italic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-light.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-lightoblique.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-regular.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-variable-width-italic.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.typewriter-text-variable-width-medium.ttf +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/readme.txt +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/logo-small.png +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/symbolcross.png +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/symboldonut.png +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/symbollollipop.png +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/symboltriangle.png +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe.egg-info/dependency_links.txt +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe.egg-info/requires.txt +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe.egg-info/top_level.txt +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/tests/test.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/tests/test2.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/tests/test3.py +0 -0
- {kaxe-1.5.0.dev3 → kaxe-1.5.1}/tests/test_5.py +0 -0
|
@@ -781,10 +781,18 @@ class Axis(AttrObject):
|
|
|
781
781
|
posMarkerB = np.array((b.tickLine.x0/2 + b.tickLine.x1/2, b.tickLine.y0/2 + b.tickLine.y1/2))
|
|
782
782
|
|
|
783
783
|
va = posSelfCenter - posMarkerA
|
|
784
|
-
|
|
784
|
+
norm_sq_a = np.dot(va, va)
|
|
785
|
+
if norm_sq_a > 0 and np.isfinite(norm_sq_a):
|
|
786
|
+
va = va / np.sqrt(norm_sq_a)
|
|
787
|
+
else:
|
|
788
|
+
va = np.asarray(self.titleNormal, dtype=float)
|
|
785
789
|
|
|
786
790
|
vb = posAxisCenter - posMarkerB
|
|
787
|
-
|
|
791
|
+
norm_sq_b = np.dot(vb, vb)
|
|
792
|
+
if norm_sq_b > 0 and np.isfinite(norm_sq_b):
|
|
793
|
+
vb = vb / np.sqrt(norm_sq_b)
|
|
794
|
+
else:
|
|
795
|
+
vb = np.asarray(axis.titleNormal, dtype=float)
|
|
788
796
|
|
|
789
797
|
|
|
790
798
|
push_factor = 10
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-oblique.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-roman.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.bright-semibold.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-bold.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-bolditalic.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-italic.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.concrete-roman.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-bold.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-medium.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.sans-serif-oblique.ttf
RENAMED
|
File without changes
|
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-bolditalic.ttf
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-italic.ttf
RENAMED
|
File without changes
|
{kaxe-1.5.0.dev3 → kaxe-1.5.1}/src/kaxe/resources/computer-modern-family/cmu.serif-roman.ttf
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|