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

taup: added a time plot -- analogue to the existing ray path plot #1877

merged 49 commits into from Oct 9, 2017
Jump to file or symbol
Failed to load files and symbols.
+3 −2
Diff settings


Just for now

Viewing a subset of changes. View all

amended the docstring to plot_rays(), explaining what will be plotted…

… by default. Also increased the distance between symbol phase name label slightly, so it holds up on a smaller figure.
  • Loading branch information...
Kasper Van wijk
Kasper Van wijk committed Oct 5, 2017
commit 2de935629b046b254f75c51c2e348bb804cd45c7
@@ -236,7 +236,8 @@ def plot_rays(self, phase_list=("ttall",), plot_type="spherical",
Plot ray paths if any have been calculated.
:param phase_list: List of phases for which ray paths are plotted,
if they exist.
if they exist. Default is to plot all phases in arrivals object
that are defined in ``"ttall"``
:type phase_list: list of str
:param plot_type: Either ``"spherical"`` or ``"cartesian"``.
A spherical plot is always global whereas a Cartesian one can
@@ -362,7 +363,7 @@ def plot_rays(self, phase_list=("ttall",), plot_type="spherical",
# We cannot just set the text of the annotations above because
# it changes the arrow path.
t = _SmartPolarText(np.deg2rad(distance),
station_radius + radius * 0.07,
station_radius + radius * 0.1,
name, clip_on=False)
ProTip! Use n and p to navigate between commits in a pull request.