rguilcas commited on
Commit
208a003
·
1 Parent(s): 93d2c1c

change layout again

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -28,7 +28,8 @@ def plot_precursor_map_gdf(variable='z500', season='SON',region='Egypt + East Li
28
  return gdf_precursors.query("variable==@variable & season==@season & region ==@region").hvplot.polygons( crs=ccrs.PlateCarree(), color='variable_level')\
29
  .opts(
30
  # height=300,
31
- frame_width=500,
 
32
  # tools=['hover'],
33
  tools=['hover'], # Ensure tap is here
34
  cmap = 'RdBu',
@@ -102,7 +103,7 @@ def get_plot(model='CESM2', season='DJF', term='bias', source=['dyn'], vmax=50):
102
  precursor += get_precursor_plot(season=season, region=regions[k])
103
  bars_out = bars.opts(height=500,
104
  width=200)*hv.HLine(0).opts(color='k')#f"### You clicked on: \n{region_names}"
105
- final_plot = (bars_out+precursor)
106
  return final_plot
107
 
108
 
 
28
  return gdf_precursors.query("variable==@variable & season==@season & region ==@region").hvplot.polygons( crs=ccrs.PlateCarree(), color='variable_level')\
29
  .opts(
30
  # height=300,
31
+ frame_width=300,
32
+ frame_height=300,
33
  # tools=['hover'],
34
  tools=['hover'], # Ensure tap is here
35
  cmap = 'RdBu',
 
103
  precursor += get_precursor_plot(season=season, region=regions[k])
104
  bars_out = bars.opts(height=500,
105
  width=200)*hv.HLine(0).opts(color='k')#f"### You clicked on: \n{region_names}"
106
+ final_plot = (bars_out+precursor).cols(1)
107
  return final_plot
108
 
109