From 040895bb5f119a0a7ea333a36a6891540d218f72 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Thu, 5 Nov 2020 12:01:30 +0000 Subject: [PATCH] README: fix typos. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ef58e88..0ff6d99 100644 --- a/README.md +++ b/README.md @@ -321,7 +321,6 @@ modules required by the application. For each font to be used import the Python font and create a `CWriter` instance (for monochrome displays a `Writer` is used): ```python -from color_setup import ssd, height # Create a display instance from gui.core.nanogui import refresh from gui.widgets.label import Label # Import any widgets you plan to use from gui.widgets.dial import Dial, Pointer @@ -437,7 +436,7 @@ Keyword only args: 8. `ptcolor=None` Color of meter pointer or bar. Default is foreground color. 9. `bdcolor=False` If `False` no border is displayed. If `None` a border is shown in the `Writer` forgeround color. If a color is passed, it is used. - 10. `divisions=5` No. of gradutions to show. + 10. `divisions=5` No. of graduations to show. 11. `label=None` A text string will cause a `Label` to be drawn below the meter. An integer will create a `Label` of that width for later use. 12. `style=Meter.LINE` The pointer is a horizontal line. `Meter.BAR` causes a @@ -572,7 +571,7 @@ def clock(ssd, wri): ###### [Contents](./README.md#contents) -## 5.6 Scale class +## 3.6 Scale class This displays floating point data having a wide dynamic range. It is modelled on old radios where a large scale scrolls past a small window having a fixed