Fixed errorbar plots in gh chapter.
I changed the ZZy-axis earlier, which meant that the bar for sensor A was not visible.
This commit is contained in:
@@ -25,16 +25,17 @@ import pylab as plt
|
||||
def plot_errorbar1():
|
||||
with book_format.figsize(y=1.5):
|
||||
book_plots.plot_errorbars([(160, 8, 'A'), (170, 8, 'B')],
|
||||
xlims=(145, 185))
|
||||
xlims=(145, 185), ylims=(-1, 2))
|
||||
|
||||
def plot_errorbar2():
|
||||
with book_format.figsize(y=1.5):
|
||||
book_plots.plot_errorbars([(160, 3, 'A'), (170, 9, 'B')],
|
||||
xlims=(145, 185))
|
||||
xlims=(145, 185), ylims=(-1, 2))
|
||||
|
||||
def plot_errorbar3():
|
||||
with book_format.figsize(y=1.5):
|
||||
book_plots.plot_errorbars([(160, 1, 'A'), (170, 9, 'B')], xlims=(145, 185))
|
||||
book_plots.plot_errorbars([(160, 1, 'A'), (170, 9, 'B')],
|
||||
xlims=(145, 185), ylims=(-1, 2))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user