Blob Blame History Raw
From 8eb1f4be85da0c8fdbcbac627c5198a67e29b22c Mon Sep 17 00:00:00 2001
From: Willem Wybo <willem.a.m.wybo@gmail.com>
Date: Tue, 2 Aug 2022 10:07:31 +0200
Subject: [PATCH] update requirements and remove deprecation warning matplotlib

---
 neat/tools/plottools/scalebars.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/neat/tools/plottools/scalebars.py b/neat/tools/plottools/scalebars.py
index 681909b..3917ac7 100755
--- a/neat/tools/plottools/scalebars.py
+++ b/neat/tools/plottools/scalebars.py
@@ -28,7 +28,7 @@ def __init__(self, transform, sizex=0, sizey=0, labelx=None, labely=None, loc=4,
             bars.add_artist(Rectangle((0,0), 0, sizey, fc="none", lw=lw))
 
         if sizex and labelx:
-            bars = VPacker(children=[bars, TextArea(labelx, minimumdescent=False)],
+            bars = VPacker(children=[bars, TextArea(labelx)],
                            align="center", pad=0, sep=sep)
         if sizey and labely:
             bars = HPacker(children=[TextArea(labely), bars],