From 561fc256f795c34c3c6cc0d30c73a4c3e57bde20 Mon Sep 17 00:00:00 2001 From: John Leeman Date: Thu, 2 Feb 2017 14:29:33 -0700 Subject: [PATCH] Remove limits from examples and tutorials --- examples/Advanced_Sounding.py | 2 -- examples/plots/Simple_Sounding.py | 2 -- examples/plots/Skew-T_Layout.py | 4 ---- tutorials/upperair_soundings.py | 4 ---- 4 files changed, 12 deletions(-) diff --git a/examples/Advanced_Sounding.py b/examples/Advanced_Sounding.py index 592a9a75cf8..9f173d6702f 100644 --- a/examples/Advanced_Sounding.py +++ b/examples/Advanced_Sounding.py @@ -44,8 +44,6 @@ skew.plot(p, T, 'r') skew.plot(p, Td, 'g') skew.plot_barbs(p, u, v) -skew.ax.set_ylim(1000, 100) -skew.ax.set_xlim(-40, 60) # Calculate LCL height and plot as black dot l = mpcalc.lcl(p[0], T[0], Td[0]) diff --git a/examples/plots/Simple_Sounding.py b/examples/plots/Simple_Sounding.py index 2bb37aef318..376a59b4b71 100644 --- a/examples/plots/Simple_Sounding.py +++ b/examples/plots/Simple_Sounding.py @@ -46,7 +46,6 @@ skew.plot_dry_adiabats() skew.plot_moist_adiabats() skew.plot_mixing_lines() -skew.ax.set_ylim(1000, 100) ########################################### @@ -71,7 +70,6 @@ skew.plot_dry_adiabats() skew.plot_moist_adiabats() skew.plot_mixing_lines() -skew.ax.set_ylim(1000, 100) # Show the plot plt.show() diff --git a/examples/plots/Skew-T_Layout.py b/examples/plots/Skew-T_Layout.py index a9f99dc9736..c640d46cd8b 100644 --- a/examples/plots/Skew-T_Layout.py +++ b/examples/plots/Skew-T_Layout.py @@ -41,16 +41,12 @@ skew.plot(p, T, 'r') skew.plot(p, Td, 'g') skew.plot_barbs(p, u, v) -skew.ax.set_ylim(1000, 100) # Add the relevant special lines skew.plot_dry_adiabats() skew.plot_moist_adiabats() skew.plot_mixing_lines() -# Good bounds for aspect ratio -skew.ax.set_xlim(-30, 40) - # Create a hodograph ax = fig.add_subplot(gs[0, -1]) h = Hodograph(ax, component_range=60.) diff --git a/tutorials/upperair_soundings.py b/tutorials/upperair_soundings.py index 61612ef9833..26a73aa908f 100644 --- a/tutorials/upperair_soundings.py +++ b/tutorials/upperair_soundings.py @@ -133,8 +133,6 @@ skew.plot(p, T, 'r') skew.plot(p, Td, 'g') skew.plot_barbs(p, u, v) -skew.ax.set_ylim(1000, 100) -skew.ax.set_xlim(-40, 60) # Plot LCL temperature as black dot skew.plot(parcel_lcl, lcl_temperature, 'ko', markerfacecolor='black') @@ -177,8 +175,6 @@ skew.plot(p, T, 'r') skew.plot(p, Td, 'g') skew.plot_barbs(p, u, v) -skew.ax.set_ylim(1000, 100) -skew.ax.set_xlim(-40, 60) # Plot LCL as black dot skew.plot(parcel_lcl, lcl_temperature, 'ko', markerfacecolor='black')