improved label formatting
This commit is contained in:
parent
2cd91859e5
commit
b249da8b77
5
graph.py
5
graph.py
@ -36,7 +36,7 @@ for i, j in zip(datenums, data_frame.tempWarmSide1C):
|
||||
|
||||
plt.plot(datenums, data_frame.tempWarmSide2C, label='Warm 2', color='orangered', marker='x')
|
||||
for i, j in zip(datenums, data_frame.tempWarmSide2C):
|
||||
ax.annotate(str(round(j, 2)), xy=(i, j), rotation=45)
|
||||
ax.annotate(str(round(j, 2)), xy=(i, j-30), rotation=300)
|
||||
|
||||
plt.plot(datenums, data_frame.tempCoolSide1C, label='Cool 1', color='blue', marker='x')
|
||||
for i, j in zip(datenums, data_frame.tempCoolSide1C):
|
||||
@ -44,9 +44,10 @@ for i, j in zip(datenums, data_frame.tempCoolSide1C):
|
||||
|
||||
plt.plot(datenums, data_frame.tempCoolSide2C, label='Cool 2', color='navy', marker='x')
|
||||
for i, j in zip(datenums, data_frame.tempCoolSide2C):
|
||||
ax.annotate(str(round(j, 2)), xy=(i, j), rotation=45)
|
||||
ax.annotate(str(round(j, 2)), xy=(i, j-30), rotation=300)
|
||||
|
||||
plt.axhline(y=-223, color='darkblue', linestyle=':', label='Operating temperature')
|
||||
plt.ylim(ymin=-273.15)
|
||||
|
||||
launch_date = datetime.datetime.fromisoformat('2021-12-25T12:20+00:00')
|
||||
deployment_names = [
|
||||
|
Loading…
Reference in New Issue
Block a user