Skip to content

Commit

Permalink
pie example
Browse files Browse the repository at this point in the history
  • Loading branch information
jposada202020 committed Jul 29, 2023
1 parent 5906d76 commit 3984717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/uplot_pie_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import time
import board
from circuitpython_uplot.plot import Plot
from circuitpython_uplot.pie import upie
from circuitpython_uplot.pie import Pie


# Setting up the display
Expand All @@ -17,7 +17,7 @@
plot.axs_params(axstype="box")
a = [5, 2, 7, 3]

upie(plot, a)
Pie(plot, a)

# Plotting and showing the plot
display.show(plot)
Expand Down

0 comments on commit 3984717

Please sign in to comment.