psalama commited on
Commit
13aaf84
·
1 Parent(s): 4a589ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,9 +95,9 @@ def get_max_extent(*gdfs): # takes in unlimited number of gdfs and calculates ma
95
  return minx, miny, maxx, maxy
96
 
97
  def create_plot(filename, extent, *gdfs): # takes in unlimited number of gdfs
98
- fig, ax = plt.subplots(figsize=(5, 3)) #Sets image size by width & height (in inches)
99
 
100
- colors = ['tan', 'mediumseagreen', 'thistle', 'lightcoral', 'brown', 'yellow'] # Extend/improve this list as needed
101
 
102
  for idx, gdf in enumerate(gdfs):
103
  gdf.plot(ax=ax, color=colors[idx % len(colors)]) # Cycle through colors
 
95
  return minx, miny, maxx, maxy
96
 
97
  def create_plot(filename, extent, *gdfs): # takes in unlimited number of gdfs
98
+ fig, ax = plt.subplots(figsize=(10, 8)) #Sets image size by width & height (in inches)
99
 
100
+ colors = ['tan', 'mediumseagreen', 'thistle', 'lightcoral', 'sienna', 'yellow'] # Extend/improve this list as needed
101
 
102
  for idx, gdf in enumerate(gdfs):
103
  gdf.plot(ax=ax, color=colors[idx % len(colors)]) # Cycle through colors