Sfoglia il codice sorgente

Background color for cell id.

master
Lukas Prause 2 anni fa
parent
commit
bcab8745a0
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. +2
    -4
      plot_transmission_timeline.py

+ 2
- 4
plot_transmission_timeline.py Vedi File



scaley = 1.5 scaley = 1.5
scalex = 1.0 scalex = 1.0
plt.figure(figsize=[6.4 * scaley, 4.8 * scalex])
fig, ax = plt.subplots(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(figsize=(16, 9))
fig.subplots_adjust(right=0.75) fig.subplots_adjust(right=0.75)


twin1 = ax.twinx() twin1 = ax.twinx()
twin2 = ax.twinx() twin2 = ax.twinx()
# Offset the right spine of twin2. The ticks and label have already been # Offset the right spine of twin2. The ticks and label have already been
# placed on the right by twinx above. # placed on the right by twinx above.
twin2.spines.right.set_position(("axes", 0.6))
twin2.spines.right.set_position(("axes", 1.2))




# create list fo color indices # create list fo color indices

Loading…
Annulla
Salva