Background color for cell id.
This commit is contained in:
@@ -187,7 +187,7 @@ if __name__ == "__main__":
|
|||||||
plt.figure(figsize=[6.4 * scaley, 4.8 * scalex])
|
plt.figure(figsize=[6.4 * scaley, 4.8 * scalex])
|
||||||
plt.title("{} with {}".format(transmission_direction, cc_algo))
|
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)
|
fig.subplots_adjust(right=0.75)
|
||||||
|
|
||||||
twin1 = ax.twinx()
|
twin1 = ax.twinx()
|
||||||
@@ -241,7 +241,7 @@ if __name__ == "__main__":
|
|||||||
twin2.tick_params(axis='y', colors=p3.get_color(), **tkw)
|
twin2.tick_params(axis='y', colors=p3.get_color(), **tkw)
|
||||||
ax.tick_params(axis='x', **tkw)
|
ax.tick_params(axis='x', **tkw)
|
||||||
|
|
||||||
ax.legend(handles=[p1, p2, p3])
|
#ax.legend(handles=[p1, p2, p3])
|
||||||
|
|
||||||
if args.save:
|
if args.save:
|
||||||
plt.savefig("{}timeline_plot.pdf".format(args.save))
|
plt.savefig("{}timeline_plot.pdf".format(args.save))
|
||||||
|
|||||||
Reference in New Issue
Block a user