|
70 | 70 | citychecklist = []
|
71 | 71 | labelcheck = [0, 0, 0, 0]
|
72 | 72 | while n<len(city):
|
73 |
| - if status[n]=='done': |
74 |
| - topiclabel = None |
75 |
| - if m == 1: |
76 |
| - ms = 35 |
77 |
| - elif city[n]=="8xNationalChemotion" or city[n]=="8xNationalRDM": |
78 |
| - ms = 0 |
| 73 | + topiclabel = None |
| 74 | + if m == 1: |
| 75 | + ms = 35 |
| 76 | + elif city[n]=="8xNationalChemotion" or city[n]=="8xNationalRDM": |
| 77 | + ms = 0 |
| 78 | + else: |
| 79 | + ms = 20 |
| 80 | + |
| 81 | + #plot locations dependend of status and topic, kind is not taken into account |
| 82 | + if topic[n] =='RDM' and status[n]=='done': |
| 83 | + markersymbol = 'o' |
| 84 | + if status[n] =='done': |
| 85 | + colordata = nfdi4chempetrol |
| 86 | + if labelcheck[0] == 0: |
| 87 | + topiclabel = 'RDM (past)' |
| 88 | + labelcheck[0] = 1 |
| 89 | + else: |
| 90 | + colordata = nfdi4chemorange |
| 91 | + if labelcheck[1] == 0: |
| 92 | + topiclabel = 'RDM (planned)' |
| 93 | + labelcheck[1] = 1 |
| 94 | + elif topic[n] =='Chemotion': |
| 95 | + markersymbol = 's' |
| 96 | + if status[n] =='done': |
| 97 | + colordata = nfdi4chempetrol |
| 98 | + if labelcheck[2] == 0: |
| 99 | + topiclabel = 'Chemotion ELN (past)' |
| 100 | + labelcheck[2] = 1 |
79 | 101 | else:
|
80 |
| - ms = 20 |
81 |
| - |
82 |
| - #plot locations dependend of status and topic, kind is not taken into account |
83 |
| - if topic[n] =='RDM' and status[n]=='done': |
84 |
| - markersymbol = 'o' |
85 |
| - if status[n] =='done': |
86 |
| - colordata = nfdi4chempetrol |
87 |
| - if labelcheck[0] == 0: |
88 |
| - topiclabel = 'RDM (past)' |
89 |
| - labelcheck[0] = 1 |
90 |
| - else: |
91 |
| - colordata = nfdi4chemorange |
92 |
| - if labelcheck[1] == 0: |
93 |
| - topiclabel = 'RDM (planned)' |
94 |
| - labelcheck[1] = 1 |
95 |
| - elif topic[n] =='Chemotion': |
96 |
| - markersymbol = 's' |
97 |
| - if status[n] =='done': |
98 |
| - colordata = nfdi4chempetrol |
99 |
| - if labelcheck[2] == 0: |
100 |
| - topiclabel = 'Chemotion ELN (past)' |
101 |
| - labelcheck[2] = 1 |
102 |
| - else: |
103 |
| - colordata = nfdi4chemorange |
104 |
| - if labelcheck[3] == 0: |
105 |
| - topiclabel = 'Chemotion ELN (planned)' |
106 |
| - labelcheck[3] = 1 |
| 102 | + colordata = nfdi4chemorange |
| 103 | + if labelcheck[3] == 0: |
| 104 | + topiclabel = 'Chemotion ELN (planned)' |
| 105 | + labelcheck[3] = 1 |
107 | 106 |
|
108 | 107 | #avoid distortion of the plot by treating the coordinates right
|
109 | 108 | # change markersize when multiple events are at the same location
|
|
0 commit comments