From 2f877015d326e1d6c16fe8e951528d93b81f2918 Mon Sep 17 00:00:00 2001 From: Lukas Prause Date: Thu, 19 Jan 2023 15:14:14 +0100 Subject: [PATCH] Background color for cell id. --- plot_transmission_timeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plot_transmission_timeline.py b/plot_transmission_timeline.py index 3e2d3d7..cd4e192 100755 --- a/plot_transmission_timeline.py +++ b/plot_transmission_timeline.py @@ -187,7 +187,7 @@ if __name__ == "__main__": plt.figure(figsize=[6.4 * scaley, 4.8 * scalex]) plt.title("{} with {}".format(transmission_direction, cc_algo)) - fig, ax = plt.subplots() + fig, ax = plt.subplots(figsize=(16, 9)) fig.subplots_adjust(right=0.75) twin1 = ax.twinx() @@ -241,7 +241,7 @@ if __name__ == "__main__": twin2.tick_params(axis='y', colors=p3.get_color(), **tkw) ax.tick_params(axis='x', **tkw) - ax.legend(handles=[p1, p2, p3]) + #ax.legend(handles=[p1, p2, p3]) if args.save: plt.savefig("{}timeline_plot.pdf".format(args.save))