Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
Add warning that vis.myv will be removed in v0.7 (#336)
Browse files Browse the repository at this point in the history
Fixes #331
  • Loading branch information
rafaelmds authored and leouieda committed Nov 22, 2016
1 parent a33d37a commit 495ccaf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fatiando/vis/myv.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Wrappers for calls to Mayavi2's `mlab` module for plotting
:mod:`fatiando.mesher` objects and automating common tasks.
.. warning::
This module will be **removed** in v0.7.
**Objects**
* :func:`~fatiando.vis.myv.prisms`
Expand Down Expand Up @@ -35,12 +40,16 @@
----
"""
import warnings
import numpy

from fatiando import utils
from fatiando.constants import MEAN_EARTH_RADIUS


# Tell users that this module will be removed in v0.7
warnings.warn("This module will be removed in v0.7.")

# Do lazy imports of mlab and tvtk to avoid the slow imports when I don't need
# 3D plotting
mlab = None
Expand Down

0 comments on commit 495ccaf

Please sign in to comment.