jeremyLE-Ekimetrics commited on
Commit
aa98996
1 Parent(s): 851dbaf

center title

Browse files
Files changed (1) hide show
  1. biomap/utils.py +2 -2
biomap/utils.py CHANGED
@@ -146,7 +146,7 @@ def plot_image(months, imgs, imgs_label, nb_values, scores, title="Single Date")
146
  },)
147
  fig.update_xaxes(row=1, col=2, visible=False)
148
  fig.update_yaxes(row=1, col=2, visible=False)
149
- fig.update_layout(title=title, title_x=0.5)
150
 
151
  return fig
152
 
@@ -325,7 +325,7 @@ def plot_imgs_labels(months, imgs, imgs_label, nb_values, scores, title="TimeLap
325
 
326
 
327
  fig.update_layout(margin=dict(b=0, r=0))
328
- fig.update_layout(title=title, title_x=0.5)
329
  return fig
330
 
331
 
 
146
  },)
147
  fig.update_xaxes(row=1, col=2, visible=False)
148
  fig.update_yaxes(row=1, col=2, visible=False)
149
+ fig.update_layout(title=title, title_x=0.5, title_xanchor="center")
150
 
151
  return fig
152
 
 
325
 
326
 
327
  fig.update_layout(margin=dict(b=0, r=0))
328
+ fig.update_layout(title=title, title_x=0.5, title_xanchor="center")
329
  return fig
330
 
331