Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Jul 5, 2024
1 parent 6faa89e commit 23a46a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions vizro-core/examples/_dev/utils/_deviation.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,7 @@
Use Scatter Plots when you want to show the relationship between two variables. Scatter plots are sometimes called Correlation plots because they show how two variables are correlated. Scatter plots are ideal when you have paired numerical data and you want to see if one variable impacts the other. However, do remember that correlation is not causation, and another unnoticed variable may be influencing results. Make sure your audience does not draw the wrong conclusions.
"""
),
vm.Graph(
figure=px.scatter(
iris, x="sepal_width", y="sepal_length", color="species"
)
),
vm.Graph(figure=px.scatter(iris, x="sepal_width", y="sepal_length", color="species")),
CodeClipboard(
text="""
```python
Expand Down
4 changes: 1 addition & 3 deletions vizro-core/examples/_dev/utils/_magnitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@
),
vm.Graph(
figure=px.bar(
data_frame=tips.groupby("day")
.agg({"total_bill": "sum"})
.reset_index(),
data_frame=tips.groupby("day").agg({"total_bill": "sum"}).reset_index(),
x="total_bill",
y="day",
orientation="h",
Expand Down

0 comments on commit 23a46a2

Please sign in to comment.