Skip to content

Commit

Permalink
Update imports due to dropping 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
zbruick committed Sep 19, 2019
1 parent 3b72446 commit aea95c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions metpy/cbook.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2008,2015,2018 MetPy Developers.
# Copyright (c) 2008,2015,2018,2019 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
"""Collection of generally useful utility code from the cookbook."""
Expand All @@ -10,12 +10,6 @@

from . import __version__

try:
string_type = basestring
except NameError:
string_type = str


POOCH = pooch.create(
path=pooch.os_cache('metpy'),
base_url='https://github.com/Unidata/MetPy/raw/{version}/staticdata/',
Expand Down
1 change: 0 additions & 1 deletion metpy/plots/_mpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""Functionality that we have upstreamed or will upstream into matplotlib."""

# See if we should monkey-patch Barbs for better pivot
import matplotlib
import matplotlib.transforms as transforms
import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion metpy/plots/skewt.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
`SkewT`, as well as a class for making a `Hodograph`.
"""

import warnings
from contextlib import ExitStack
import warnings

import matplotlib
from matplotlib.axes import Axes
Expand Down

0 comments on commit aea95c5

Please sign in to comment.