Skip to content

Commit 7b15c06

Browse files
committed
remaoved unused imports
1 parent 21c76de commit 7b15c06

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pygame_matplotlib/backend_pygame.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
matplotlib.use("'module://pygame_matplotlib.backend_pygame'")
99
"""
1010
from __future__ import annotations
11-
from logging import setLoggerClass
11+
1212
from typing import List
1313
import matplotlib
1414
from matplotlib.artist import Artist
@@ -18,10 +18,6 @@
1818
import numpy as np
1919
from matplotlib.transforms import Affine2D
2020
import pygame
21-
from pygame import surface
22-
from pygame import time
23-
from pygame.draw import arc
24-
from pygame.event import wait
2521
import pygame.image
2622
from pygame import gfxdraw
2723
from matplotlib._pylab_helpers import Gcf
@@ -41,7 +37,7 @@
4137
console = logging.StreamHandler()
4238
logger.addHandler(console)
4339

44-
# logger.setLevel(logging.DEBUG)
40+
logger.setLevel(logging.WARNING)
4541

4642
logger.warning(
4743
f"{__name__} is still in developpement. Please see our github page."

0 commit comments

Comments
 (0)