From 10baf386c7b453cc72a0cf2d3a3555df39c41daa Mon Sep 17 00:00:00 2001
From: Steffen Remus <steremus@gmail.com>
Date: Wed, 17 Apr 2024 16:08:29 +0200
Subject: [PATCH] test

---
 bin/plotcounts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/plotcounts.py b/bin/plotcounts.py
index 86e8e54..91d5350 100755
--- a/bin/plotcounts.py
+++ b/bin/plotcounts.py
@@ -92,7 +92,7 @@ def main(args):
         save_configuration(args.saveconfig, mpl.rcParams)
     df = pd.read_csv(args.infile, header=None,
                      names=('word', 'word_frequency'))
-    df['rank'] = df['word_frequency'].rank(ascending=False,
+    df['rank'] = df['word_frequency'].rank(ascending=True,
                                            method='max')
     ax = df.plot.scatter(x='word_frequency',
                          y='rank', loglog=True,
-- 
GitLab