Commit e4bcc0e2 authored by Hafiz Emin Kosar's avatar Hafiz Emin Kosar
Browse files

- removed figure height settings

parent 2e78559e
......@@ -194,7 +194,7 @@
},
"outputs": [],
"source": [
"fig,axs = plt.subplots(2,1); #fig.canvas.layout.height = '600px';\n",
"fig,axs = plt.subplots(2,1);
"@widgets.interact(N=widgets.IntSlider(min=1, max=50, step=1, description='$N$', continuous_update=False),\n",
" T1=widgets.FloatSlider(min=0.125, max=.75, step=0.125, value=.5, description='$T_1$', \n",
" continuous_update=False, readout_format='.3f',))\n",
......
......@@ -267,11 +267,11 @@
%% Cell type:code id: tags:
``` python
T0 = T/4 # width of rects for shape-top sampling
plt.close(); fig, axs = plt.subplots(4, 1, **ient_landscape); fig.canvas.layout.height = '800px'; plt.tight_layout();
plt.close(); fig, axs = plt.subplots(4, 1, **ient_landscape); plt.tight_layout();
@widgets.interact(sampling_type=widgets.Dropdown(options=['Shape-top', 'Flat-top'], description=r'Art der Abtastung:', style=ient_wdgtl_style),
s_type=widgets.Dropdown(options=list(signals_t.keys()), description=r'Wähle $s(t)$:'),
F=widgets.FloatSlider(min=0.1, max=2, value=0.9, step=.1, description=r'$F$', style=ient_wdgtl_style, continuous_update=False))
def update_plots(sampling_type, s_type, F):
s = lambda t: signals_t[s_type](t*F);
......
......@@ -142,7 +142,6 @@ class pzPlot():
# initial dirac plot
(self.cp, self.cn) = ient_plot_dirac(self.handles['axh'], [-1, 1], [-1, 1], 'rwth')
ient_dirac_set_data((self.cp, self.cn), [], [])
self.fig.canvas.layout.height = '600px'
fig.tight_layout();
#plt.subplots_adjust(wspace=.25)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment