瀏覽代碼

Background color for cell id.

master
Lukas Prause 2 年之前
父節點
當前提交
2f877015d3
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      plot_transmission_timeline.py

+ 2
- 2
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))

Loading…
取消
儲存