Hack90 commited on
Commit
eaac7ee
·
verified ·
1 Parent(s): 434be3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,6 +14,7 @@ from utils import (
14
  plot_distrobutions
15
  )
16
  import os
 
17
  import matplotlib as mpl
18
  mpl.rcParams.update(mpl.rcParamsDefault)
19
 
@@ -85,7 +86,7 @@ with ui.navset_card_tab(id="tab"):
85
  def plot_distro():
86
  df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
87
  ax = sns.histplot(data=df, x='charts', hue='organism_name')
88
- return plot_distrobutions(grouped, grouped.index, input.basepair())
89
 
90
  with ui.nav_panel("Viral Microstructure"):
91
  ui.panel_title("Kmer Distribution")
 
14
  plot_distrobutions
15
  )
16
  import os
17
+ import seaborn as sns
18
  import matplotlib as mpl
19
  mpl.rcParams.update(mpl.rcParamsDefault)
20
 
 
86
  def plot_distro():
87
  df = MASTER_DF[MASTER_DF["organism_name"].isin(input.virus_selector_1())].copy()
88
  ax = sns.histplot(data=df, x='charts', hue='organism_name')
89
+ return ax
90
 
91
  with ui.nav_panel("Viral Microstructure"):
92
  ui.panel_title("Kmer Distribution")