@@ -85,7 +85,7 @@ class PlotterApp:
8585 SCRIPT_DIR = os .path .dirname (os .path .abspath (__file__ ))
8686 LOGO_FILE_PATH = os .path .join (
8787 SCRIPT_DIR ,
88- ".." , # type: ignore
88+ ".." , # type: ignore
8989 "assets" ,
9090 "LOGO" ,
9191 "UGC_DAE_CSR_NBG.jpeg" )
@@ -958,15 +958,22 @@ def _finalize_plot(self, x_col, y_col, selected_filepaths):
958958 if leg :
959959 leg .get_title ().set_color (self .CLR_CONSOLE_BG )
960960
961- self .ax_main .set_xscale ('log' if self .x_log_var .get () else 'linear' ) # type: ignore
962- self .ax_main .set_yscale ('log' if self .y_log_var .get () else 'linear' )
961+ self .ax_main .set_xscale (
962+ 'log' if self .x_log_var .get () else 'linear' ) # type: ignore
963+ self .ax_main .set_yscale (
964+ 'log' if self .y_log_var .get () else 'linear' )
963965 self .ax_main .set_xlabel (x_col )
964966 self .ax_main .set_ylabel (y_col )
965967
966968 if len (selected_filepaths ) == 1 :
967- self .ax_main .set_title (os .path .basename (selected_filepaths [0 ]), fontweight = 'bold' )
969+ self .ax_main .set_title (
970+ os .path .basename (
971+ selected_filepaths [0 ]),
972+ fontweight = 'bold' )
968973 else :
969- self .ax_main .set_title (f"{ y_col } vs. { x_col } " , fontweight = 'bold' )
974+ self .ax_main .set_title (
975+ f"{ y_col } vs. { x_col } " ,
976+ fontweight = 'bold' )
970977 self .figure .tight_layout ()
971978
972979 def _handle_load_error (self , filepath , e ):
0 commit comments