Skip to content

Commit

Permalink
more rename from style to styles...
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Jun 23, 2023
1 parent 8fff773 commit 03d8233
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/how_to/pipeline/simple_pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class Stage2(param.Parameterized):
@param.depends('c', 'exp')
def view(self):
out = pn.pane.LaTeX('${%s}^{%s}={%.3f}$' % (self.c, self.exp, self.c**self.exp),
style={'font-size': '2em'})
styles={'font-size': '2em'})
return pn.Column(out, margin=(40, 10), styles={'background': '#f0f0f0'})
def panel(self):
Expand Down Expand Up @@ -134,9 +134,9 @@ class Stage1(param.Parameterized):
def view(self):
c, d = self.output()
c_out = pn.pane.LaTeX('${a} * {b} = {c}$'.format(
a=self.a, b=self.b, c=c), style={'font-size': '2em'})
a=self.a, b=self.b, c=c), styles={'font-size': '2em'})
d_out = pn.pane.LaTeX('${a}^{{{b}}} = {d}$'.format(
a=self.a, b=self.b, d=d), style={'font-size': '2em'})
a=self.a, b=self.b, d=d), styles={'font-size': '2em'})
return pn.Column(c_out, d_out, margin=(40, 10), styles={'background': '#f0f0f0'})
def panel(self):
Expand All @@ -150,7 +150,7 @@ class Stage2(param.Parameterized):
@param.depends('c', 'exp')
def view(self):
out = pn.pane.LaTeX('${%s}^{%s}={%.3f}$' % (self.c, self.exp, self.c**self.exp),
style={'font-size': '2em'})
styles={'font-size': '2em'})
return pn.Column(out, margin=(40, 10), styles={'background': '#f0f0f0'})
def panel(self):
Expand Down

0 comments on commit 03d8233

Please sign in to comment.