Skip to content

Commit

Permalink
Merge pull request #2452 from greglucas/deprecate-clip-path
Browse files Browse the repository at this point in the history
MNT: Deprecate unused clip_path module
  • Loading branch information
rcomer authored Oct 13, 2024
2 parents 6471087 + 1cc241b commit f8fee7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/cartopy/mpl/clip_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@
#
# This file is part of Cartopy and is released under the BSD 3-clause license.
# See LICENSE in the root of the repository for full licensing details.
import warnings

import matplotlib.path as mpath
import numpy as np


warnings.warn('The clip_path module is deprecated and will be removed '
'in a future release with no replacement.',
DeprecationWarning, stacklevel=2)


def intersection_point(p0, p1, p2, p3):
"""
Returns
Expand Down

0 comments on commit f8fee7f

Please sign in to comment.