Skip to content

Commit

Permalink
Simplify code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrocher committed Feb 6, 2020
1 parent bf83591 commit 43d6597
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/demo/multiaxis.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
def _create_plot_component():

container = OverlayPlotContainer(padding=60, fill_padding=True,
bgcolor="lightgray", use_backbuffer=True)
use_backbuffer=True, border_visible=True)

# Create the initial X-series of data
numpoints = 100
Expand All @@ -51,9 +51,6 @@ def _create_plot_component():
y = jn(i, x)
plot = create_line_plot((x, y), color=tuple(COLOR_PALETTE[i]),
width=2.0)
plot.index.sort_order = "ascending"
plot.bgcolor = "white"
plot.border_visible = True
if i == 0:
add_default_grids(plot)
left_axis, _ = add_default_axes(plot)
Expand Down

0 comments on commit 43d6597

Please sign in to comment.