Skip to content

Commit

Permalink
reorder imports in autoplot_dockwidget (#2555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetam-Das26 authored Oct 6, 2024
1 parent 446eb8f commit 26c90b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
8 changes: 5 additions & 3 deletions mslib/msui/autoplot_dockwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@
limitations under the License.
"""

import json
import os
import json
from datetime import datetime

import click
from mslib.utils.mssautoplot import main as cli_tool
from PyQt5.QtWidgets import QWidget, QFileDialog, QTreeWidgetItem, QMessageBox
from PyQt5 import QtCore

from mslib.utils.mssautoplot import main as cli_tool
from mslib.msui.qt5.ui_mss_autoplot import Ui_AutoplotDockWidget
from mslib.msui import constants as const
from datetime import datetime


class AutoplotDockWidget(QWidget, Ui_AutoplotDockWidget):
Expand Down
17 changes: 9 additions & 8 deletions mslib/utils/mssautoplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@
limitations under the License.
"""

from datetime import datetime, timedelta
import io
import logging
import re
import os
import sys
import requests
from urllib.parse import urljoin
import io
import re
import json
from PyQt5.QtCore import Qt
import logging
from datetime import datetime, timedelta
from urllib.parse import urljoin

import requests
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QMessageBox, QProgressDialog
import click
import defusedxml.ElementTree as etree
import PIL.Image
import matplotlib
from PyQt5.QtWidgets import QMessageBox, QProgressDialog
from fs import open_fs

import mslib
Expand All @@ -62,6 +62,7 @@
from mslib.utils.loggerdef import configure_mpl_logger
from mslib.utils.verify_user_token import verify_user_token


TEXT_CONFIG = {
"bbox": dict(boxstyle="round", facecolor="white", alpha=0.5, edgecolor="none"), "fontweight": "bold",
"zorder": 4, "fontsize": 6, "clip_on": True}
Expand Down

0 comments on commit 26c90b7

Please sign in to comment.