Skip to content

Commit

Permalink
linter formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Mar 31, 2024
1 parent 50b07e9 commit 3e31439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions examples/ag-grid/hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
app = Dash(__name__)

columnDefs = [
{ 'field': 'direction' },
{ 'field': 'strength' },
{ 'field': 'frequency'},
{"field": "direction"},
{"field": "strength"},
{"field": "frequency"},
]

grid = dag.AgGrid(
Expand Down
5 changes: 1 addition & 4 deletions examples/plugins/web_components/model_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def update_contents(self, model: Model) -> go.Figure:
pie_values = [random.randint(10, 30) for _ in range(3)]

# Create a pie chart with the endpoint name as the title
fig = go.Figure(
data=[go.Pie(labels=["A", "B", "C"], values=pie_values)],
layout=go.Layout(title=model_name)
)
fig = go.Figure(data=[go.Pie(labels=["A", "B", "C"], values=pie_values)], layout=go.Layout(title=model_name))
return fig


Expand Down

0 comments on commit 3e31439

Please sign in to comment.