Skip to content

Commit c139cd0

Browse files
committed
fixing names
1 parent 78a355a commit c139cd0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

uboxplot.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# SPDX-License-Identifier: MIT
55
"""
6-
`boxplot`
6+
`uboxplot`
77
================================================================================
88
99
Calculates boxplot and creates its graphical representation
@@ -38,6 +38,7 @@
3838
__version__ = "0.0.0+auto.0"
3939
__repo__ = "https://github.com/jposada202020/CircuitPython_boxplot.git"
4040

41+
4142
# pylint: disable=too-many-instance-attributes, too-many-arguments, invalid-name
4243
class Boxplot(displayio.TileGrid):
4344
"""A BoxPlot TileGrid. The origin is set using ``x`` and ``y``.
@@ -53,15 +54,14 @@ class Boxplot(displayio.TileGrid):
5354
:param int fill_color: background color to use defaults to black (0x000000)
5455
:param int line_color: background color to use defaults to white (0xFFFFFF)
5556
56-
57-
**Quickstart: Importing and using Boxplot**
57+
**Quickstart: Importing and using UBoxplot**
5858
5959
Here is one way of importing the `Boxplot` class so you can use it as
6060
the name ``Boxplot``:
6161
6262
.. code-block:: python
6363
64-
from boxplot import Boxplot
64+
from uboxplot import Boxplot
6565
import displayio
6666
6767
Now you can create a boxplot at pixel position x=20, y=30 using:
@@ -82,7 +82,7 @@ class Boxplot(displayio.TileGrid):
8282
8383
**Summary: Boxplot Features and input variables**
8484
85-
The `boxplot` TileGrid has some options for controlling its position, visible appearance,
85+
The `uboxplot` TileGrid has some options for controlling its position, visible appearance,
8686
through a collection of input variables:
8787
8888
- **position**: ``x``, ``y``
@@ -91,7 +91,6 @@ class Boxplot(displayio.TileGrid):
9191
9292
- **color**: ``background_color``, ``fill_color``, ``line_color``
9393
94-
9594
- **range**: ``xrange`` and ``yrange`` This is the range in absolute units.
9695
For example, when using (20-90), the X axis will start at 20 finishing at 90.
9796
However, the height of the graph is given by the height parameter. The scale

0 commit comments

Comments
 (0)