Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cdholmes committed Sep 10, 2024
1 parent 8ee74e4 commit 2ea37ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions tests/plots/test_emagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
"""Tests for the `Emagram` class."""
import warnings

import matplotlib
from matplotlib.gridspec import GridSpec
import matplotlib.pyplot as plt
import numpy as np
import pytest

from metpy.plots import Hodograph, Emagram
from metpy.plots import Emagram
from metpy.testing import autoclose_figure, version_check
from metpy.units import units

Expand Down Expand Up @@ -367,4 +365,3 @@ def test_emagram_barb_unit_conversion_exception(u, v):
emagram = Emagram(fig, aspect='auto')
with pytest.raises(ValueError):
emagram.plot_barbs(p_wind, u, v, plot_units='knots')

5 changes: 1 addition & 4 deletions tests/plots/test_stuve.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
"""Tests for the `Stuve` class."""
import warnings

import matplotlib
from matplotlib.gridspec import GridSpec
import matplotlib.pyplot as plt
import numpy as np
import pytest

from metpy.plots import Hodograph, Stuve
from metpy.plots import Stuve
from metpy.testing import autoclose_figure, version_check
from metpy.units import units

Expand Down Expand Up @@ -367,4 +365,3 @@ def test_stuve_barb_unit_conversion_exception(u, v):
stuve = Stuve(fig, aspect='auto')
with pytest.raises(ValueError):
stuve.plot_barbs(p_wind, u, v, plot_units='knots')

0 comments on commit 2ea37ae

Please sign in to comment.