From d8175a52842253b36cea6fd4963d5dd95f09df9c Mon Sep 17 00:00:00 2001
From: FZill <florian.zill@ufz.de>
Date: Fri, 23 Feb 2024 17:51:03 +0100
Subject: [PATCH] [meshplotlib] removed log_magnitude example

---
 docs/examples/howto_propertylib/plot_propertylib.py | 4 ----
 tests/test_propertylib.py                           | 6 ------
 2 files changed, 10 deletions(-)

diff --git a/docs/examples/howto_propertylib/plot_propertylib.py b/docs/examples/howto_propertylib/plot_propertylib.py
index f8eca6a14..b25ea84cc 100644
--- a/docs/examples/howto_propertylib/plot_propertylib.py
+++ b/docs/examples/howto_propertylib/plot_propertylib.py
@@ -49,10 +49,6 @@ print(presets.displacement[1]([0.01, 0.02, 0.03]))
 
 print(presets.displacement.magnitude([0.03, 0.04]))
 
-# %%
-# Log of Magnitude of a 2D velocity vector from the Hydraulics collection:
-print(presets.velocity.log_magnitude(np.sqrt([50, 50])))
-
 # %%
 # Magnitude and trace of a 3D strain matrix:
 eps = np.array([1, 3, 9, 1, 2, 2]) * 1e-2
diff --git a/tests/test_propertylib.py b/tests/test_propertylib.py
index 4568e46d2..e751aa2f9 100644
--- a/tests/test_propertylib.py
+++ b/tests/test_propertylib.py
@@ -47,12 +47,6 @@ class PhysicalPropertyTest(unittest.TestCase):
         self.equality(
             pp.velocity.magnitude, [[3, 4], [1, 0]], qty([5, 1], "m/s")
         )
-        self.equality(pp.velocity.log_magnitude, np.sqrt([50, 50]), qty(1, ""))
-        self.equality(
-            pp.velocity.log_magnitude,
-            [np.sqrt([50, 50]), [10, 0]],
-            qty([1, 1], ""),
-        )
 
     def test_displacement(self):
         """Test displacement property."""
-- 
GitLab