Skip to content

Commit c3e1d11

Browse files
Merge pull request #1 from jposada202020/changing_name
fixing names
2 parents fab435b + c139cd0 commit c3e1d11

File tree

7 files changed

+12
-13
lines changed

7 files changed

+12
-13
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Introduction
33

44

55
.. image:: https://readthedocs.org/projects/circuitpython-uboxplot/badge/?version=latest
6-
:target: https://circuitpython-boxplot.readthedocs.io/
6+
:target: https://circuitpython-uboxplot.readthedocs.io/
77
:alt: Documentation Status
88

99

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
55
.. use this format as the module name: "adafruit_foo.foo"
66
7-
.. automodule:: boxplot
7+
.. automodule:: uboxplot
88
:members:

docs/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Simple test
33

44
Ensure your device works with this simple test.
55

6-
.. literalinclude:: ../examples/boxplot_simpletest.py
7-
:caption: examples/boxplot_simpletest.py
6+
.. literalinclude:: ../examples/uboxplot_simpletest.py
7+
:caption: examples/uboxplot_simpletest.py
88
:linenos:

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Table of Contents
2525
.. toctree::
2626
:caption: Other Links
2727

28-
Download from GitHub <https://github.com/jposada202020/CircuitPython_boxplot/releases/latest>
28+
Download from GitHub <https://github.com/jposada202020/CircuitPython_uboxplot/releases/latest>
2929
Download Library Bundle <https://circuitpython.org/libraries>
3030
CircuitPython Reference Documentation <https://docs.circuitpython.org>
3131
CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60>

examples/boxplot_simpletest.py renamed to examples/uboxplot_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""
88
import displayio
99
import board
10-
from boxplot import Boxplot
10+
from uboxplot import Boxplot
1111

1212
display = board.DISPLAY
1313

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ readme = "README.rst"
1818
authors = [
1919
{name = "Jose D. Montoya", email = "[email protected]"}
2020
]
21-
urls = {Homepage = "https://github.com/jposada202020/CircuitPython-UBoxplot.git"}
21+
urls = {Homepage = "https://github.com/jposada202020/CircuitPython_UBoxplot.git"}
2222
keywords = [
2323
"adafruit",
2424
"blinka",

boxplot.py renamed to 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)