Hack90 commited on
Commit
179f7b9
1 Parent(s): 8830eec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -868,7 +868,7 @@ with ui.navset_card_tab(id="tab"):
868
  here = Path(__file__).parent
869
  import matplotlib as mpl
870
  # @output(suspend_when_hidden=True)
871
- @render.plot(output_id="plot_macro_output")
872
  def plot_macro():
873
  #ds = load_dataset('Hack90/virus_tiny')
874
  df = pd.read_parquet('virus_ds.parquet')
@@ -914,7 +914,7 @@ with ui.navset_card_tab(id="tab"):
914
 
915
  import matplotlib as mpl
916
  # @output(suspend_when_hidden=True)
917
- @render.plot(output_id="plot_micro_output")
918
  def plot_micro():
919
  df = pd.read_csv('kmers.csv')
920
  k = input.kmer()
 
868
  here = Path(__file__).parent
869
  import matplotlib as mpl
870
  # @output(suspend_when_hidden=True)
871
+ @render.plot()
872
  def plot_macro():
873
  #ds = load_dataset('Hack90/virus_tiny')
874
  df = pd.read_parquet('virus_ds.parquet')
 
914
 
915
  import matplotlib as mpl
916
  # @output(suspend_when_hidden=True)
917
+ @render.plot()
918
  def plot_micro():
919
  df = pd.read_csv('kmers.csv')
920
  k = input.kmer()