Skip to content

Commit

Permalink
Update openTEPES_OutputResults.py
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfilias committed Jan 20, 2022
1 parent 141f15b commit fd653fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openTEPES/openTEPES_OutputResults.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def oT_selecting_data(sc, p, n):
fig = go.Figure()

# Add nodes
fig.add_trace(go.Scattermapbox(lat=loc_df['Lat'], lon=loc_df['Lon'], mode='markers', marker=go.scattermapbox.Marker(size=loc_df['Size']*10, sizeref=1.1, sizemode='area', color='LightSkyBlue',), hoverinfo='text', text='<br>Zone: '+loc_df['index']+'<br>[Lon, Lat]: '+'('+loc_df['Lon'].astype(str)+', '+loc_df['Lat'].astype(str)+')'+'<br>Zone: '+loc_df['Zone']+'<br>Demand: '+loc_df['Demand'].astype(str)+' MW',))
fig.add_trace(go.Scattermapbox(lat=loc_df['Lat'], lon=loc_df['Lon'], mode='markers', marker=go.scattermapbox.Marker(size=loc_df['Size']*10, sizeref=1.1, sizemode="area", color='LightSkyBlue',), hoverinfo='text', text='<br>Node: ' + loc_df['index'] + '<br>[Lon, Lat]: ' + '(' + loc_df['Lon'].astype(str) + ', ' + loc_df['Lat'].astype(str) + ')' + '<br>Zone: ' + loc_df['Zone'] + '<br>Demand: ' + loc_df['Demand'].astype(str) + ' MW',))

# Add edges
for ni, nf, cc in mTEPES.la:
Expand Down

0 comments on commit fd653fb

Please sign in to comment.