Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylab deprecation #303

Merged
merged 2 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion miscellaneous/rankine.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def plot_rankine( vlsvReader, point1, point2 ):
:param point1: The first point of interest along the bow-shock
:param point2: The second point of interest along the bow-shock
:returns: pylab figure
:returns: matplotlib figure
'''
# Get spatial grid sizes:
xcells = (int)(vlsvReader.read_parameter("xcells_ini"))
Expand Down
2 changes: 1 addition & 1 deletion pyCalculations/timeevolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def cell_time_evolution( vlsvReader_list, variables, cellids, units="" ):
.. code-block:: python
import pytools as pt; import pylab as pl
import pytools as pt; import matplotlib.pyplot as pl
# Example of usage:
time_data = pt.calculations.cell_time_evolution( vlsvReader_list=[VlsvReader("bulk.000.vlsv"), VlsvReader("bulk.001.vlsv"), VlsvReader("bulk.002.vlsv")], variables=["rho", "Pressure", "B"], cellids=[2,4], units=["N", "Pascal", "T"] )
Expand Down
2 changes: 1 addition & 1 deletion pyMayaVi/particlepusherinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from mayavi.core.ui.mayavi_scene import MayaviScene
import vlsvfile
from numpy import mgrid, empty, sin, pi, ravel
import pylab as pl

from tvtk.api import tvtk
import traits.api
import mayavi.api
Expand Down
1 change: 0 additions & 1 deletion scripts/magnetopause2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Finds the magnetopause position by tracing steamines of the plasma flow for two-dimensional Vlasiator runs. Needs the yt package.
'''

import matplotlib.pylab as plt
import numpy as np
import pytools as pt
import plot_colormap
Expand Down
2 changes: 1 addition & 1 deletion scripts/magnetopause3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Finds the magnetopause position by tracing steamines of the plasma flow for three-dimensional Vlasiator runs. Needs the yt package.
'''
from pyCalculations import ids3d
import matplotlib.pylab as plt
import matplotlib.pyplot as plt
import numpy as np
import pytools as pt
import plot_colormap3dslice
Expand Down
Loading