INNER CODE UNIT · Python

_setup_splash_screen

cunarist/solie · package/solie/window/main.py:167

    async def _setup_splash_screen(self) -> None:
        """Initialize and display the splash screen."""
        self.gauge.hide()
        self.board.hide()
        self._splash_screen = SplashScreen()
        central_layout = self.centralWidget().layout()
        if central_layout is None:
            msg = "There's no central layout"
            raise ValueError(msg)
        central_layout.addWidget(self._splash_screen)
        self.show()

    def _configure_global_settings(self) -> None:
        """Configure global settings for libraries."""
        os.get_terminal_size = lambda *_: os.terminal_size((150, 90))  # type:ignore
        pd.set_option("display.precision", 6)
        pd.set_option("display.min_rows", 100)
        pd.set_option("display.max_rows", 100)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…