diff --git a/openTEPES/openTEPES_OutputResults.py b/openTEPES/openTEPES_OutputResults.py index 82cf7096..aff2b283 100644 --- a/openTEPES/openTEPES_OutputResults.py +++ b/openTEPES/openTEPES_OutputResults.py @@ -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='
Zone: '+loc_df['index']+'
[Lon, Lat]: '+'('+loc_df['Lon'].astype(str)+', '+loc_df['Lat'].astype(str)+')'+'
Zone: '+loc_df['Zone']+'
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='
Node: ' + loc_df['index'] + '
[Lon, Lat]: ' + '(' + loc_df['Lon'].astype(str) + ', ' + loc_df['Lat'].astype(str) + ')' + '
Zone: ' + loc_df['Zone'] + '
Demand: ' + loc_df['Demand'].astype(str) + ' MW',)) # Add edges for ni, nf, cc in mTEPES.la: