[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionperf/develop] Rotate error code on y axis tick labels.



commit 30aa6dcb52d31403ab366599b13d7fa4db3adb80
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Jul 23 21:36:10 2020 +0200

    Rotate error code on y axis tick labels.
    
    Still part of #34218.
---
 onionperf/visualization.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/onionperf/visualization.py b/onionperf/visualization.py
index daa5c3d..3abcb3f 100644
--- a/onionperf/visualization.py
+++ b/onionperf/visualization.py
@@ -292,6 +292,7 @@ class TGenVisualization(Visualization):
         g.set(title=title, xlabel=xlabel, ylabel=ylabel,
               xlim=(xmin - 0.03 * (xmax - xmin), xmax + 0.03 * (xmax - xmin)))
         plt.xticks(rotation=10)
+        plt.yticks(rotation=80)
         sns.despine()
         self.page.savefig()
         plt.close()



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits