lpnguyen commited on
Commit
798d5aa
1 Parent(s): b23adf8

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -2,7 +2,7 @@ import plotly.graph_objects as go
2
  import plotly.express as px
3
  import numpy as np
4
 
5
- ef plot_3D_invfitness(trait, fitness, resident, range, color="RdBu"):
6
  X, Y = np.meshgrid(trait, trait)
7
  f_projection = (np.min(fitness) - 0.5) * np.ones(fitness.shape)
8
  axis = dict(
 
2
  import plotly.express as px
3
  import numpy as np
4
 
5
+ def plot_3D_invfitness(trait, fitness, resident, range, color="RdBu"):
6
  X, Y = np.meshgrid(trait, trait)
7
  f_projection = (np.min(fitness) - 0.5) * np.ones(fitness.shape)
8
  axis = dict(