euler314 commited on
Commit
269833c
·
verified ·
1 Parent(s): c820030

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -342,7 +342,7 @@ def generate_track_video(year, typhoon, standard):
342
  lon_padding = max((max_lon - min_lon) * 0.3, 5)
343
 
344
  # Set up the figure with Gradio-friendly scale (1000x700 pixels at 100 DPI)
345
- fig = plt.figure(figsize=(7, 10), dpi=100) # 10x7 inches = 1000x700 pixels
346
  ax = plt.axes([0.05, 0.05, 0.65, 0.9], projection=ccrs.PlateCarree()) # Map on left 65% of figure
347
  ax.set_extent([min_lon - lon_padding, max_lon + lon_padding, min_lat - lat_padding, max_lat + lat_padding], crs=ccrs.PlateCarree())
348
 
 
342
  lon_padding = max((max_lon - min_lon) * 0.3, 5)
343
 
344
  # Set up the figure with Gradio-friendly scale (1000x700 pixels at 100 DPI)
345
+ fig = plt.figure(figsize=(20, 10), dpi=300) # 10x7 inches = 1000x700 pixels
346
  ax = plt.axes([0.05, 0.05, 0.65, 0.9], projection=ccrs.PlateCarree()) # Map on left 65% of figure
347
  ax.set_extent([min_lon - lon_padding, max_lon + lon_padding, min_lat - lat_padding, max_lat + lat_padding], crs=ccrs.PlateCarree())
348