plotly plot updated
This commit is contained in:
parent
d9c436cd98
commit
6bf2fb9e1b
|
|
@ -39,9 +39,13 @@ debug_conf: &debug_conf
|
||||||
main:
|
main:
|
||||||
confs: &main_confs
|
confs: &main_confs
|
||||||
- DATASET_NAME: rcv1
|
- DATASET_NAME: rcv1
|
||||||
DATASET_TARGET: CCAT
|
DATASET_TARGET: MCAT
|
||||||
other_confs:
|
other_confs:
|
||||||
- DATASET_NAME: imdb
|
- DATASET_NAME: imdb
|
||||||
|
- DATASET_NAME: rcv1
|
||||||
|
DATASET_TARGET: CCAT
|
||||||
|
- DATASET_NAME: rcv1
|
||||||
|
DATASET_TARGET: GCAT
|
||||||
|
|
||||||
sld_lr_conf: &sld_lr_conf
|
sld_lr_conf: &sld_lr_conf
|
||||||
|
|
||||||
|
|
@ -284,4 +288,4 @@ d_kde_rbf_conf: &d_kde_rbf_conf
|
||||||
DATASET_TARGET: CCAT
|
DATASET_TARGET: CCAT
|
||||||
|
|
||||||
|
|
||||||
exec: *kde_lr_conf
|
exec: *d_sld_rbf_conf
|
||||||
|
|
|
||||||
|
|
@ -46,10 +46,13 @@ class PlotlyPlot(BasePlot):
|
||||||
|
|
||||||
def update_layout(self, fig, title, x_label, y_label):
|
def update_layout(self, fig, title, x_label, y_label):
|
||||||
fig.update_layout(
|
fig.update_layout(
|
||||||
title=title,
|
# title=title,
|
||||||
xaxis_title=x_label,
|
xaxis_title=x_label,
|
||||||
yaxis_title=y_label,
|
yaxis_title=y_label,
|
||||||
template=self.theme["template"],
|
template=self.theme["template"],
|
||||||
|
font=dict(
|
||||||
|
size=18,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
def save_fig(self, fig, base_path, title) -> Path:
|
def save_fig(self, fig, base_path, title) -> Path:
|
||||||
|
|
|
||||||
3504
remote.log
3504
remote.log
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue