maom commited on
Commit
860a8d9
1 Parent(s): 7a05a88
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,7 +88,7 @@ coexp_scatter_link_renderer = JsCode("""
88
  class UrlCellRenderer {
89
  init(params) {
90
  this.eGui = document.createElement('a');
91
- this.eGui.innerText = plot;
92
  this.eGui.setAttribute('href', params.value);
93
  this.eGui.setAttribute('style', "text-decoration:none");
94
  this.eGui.setAttribute('target', "_blank");
@@ -130,7 +130,7 @@ grid_option_builder.configure_column(
130
  grid_option_builder.configure_column(
131
  "scatter_link",
132
  header_name="Expression Scatterplot",
133
- #cellRenderer=coexp_scatter_link_renderer,
134
  width=550)
135
 
136
  grid_option_builder.configure_selection(selection_mode=False, use_checkbox=False)
 
88
  class UrlCellRenderer {
89
  init(params) {
90
  this.eGui = document.createElement('a');
91
+ this.eGui.innerText = 'plot';
92
  this.eGui.setAttribute('href', params.value);
93
  this.eGui.setAttribute('style', "text-decoration:none");
94
  this.eGui.setAttribute('target', "_blank");
 
130
  grid_option_builder.configure_column(
131
  "scatter_link",
132
  header_name="Expression Scatterplot",
133
+ cellRenderer=coexp_scatter_link_renderer,
134
  width=550)
135
 
136
  grid_option_builder.configure_selection(selection_mode=False, use_checkbox=False)