Skip to content

Commit 254c5e5

Browse files
committed
spelling FormatedText->FormattedText
1 parent a8813d5 commit 254c5e5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

data_prototype/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _update_wrapped(self, data):
332332
self._wrapped_instance.set_data(data["density"], data["edges"])
333333

334334

335-
class FormatedText(ProxyWrapper):
335+
class FormattedText(ProxyWrapper):
336336
_wrapped_class = _Text
337337
_privtized_methods = ("set_text",)
338338

examples/animation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
================
55
66
An animated line using a custom container class,
7-
:class:`.wrappers.LineWrapper`, and :class:`.wrappers.FormatedText`.
7+
:class:`.wrappers.LineWrapper`, and :class:`.wrappers.FormattedText`.
88
99
"""
1010
import time
@@ -19,7 +19,7 @@
1919
from data_prototype.containers import _MatplotlibTransform, Desc
2020
from data_prototype.conversion_node import FunctionConversionNode
2121

22-
from data_prototype.wrappers import LineWrapper, FormatedText
22+
from data_prototype.wrappers import LineWrapper, FormattedText
2323

2424

2525
class SinOfTime:
@@ -62,7 +62,7 @@ def update(frame, art):
6262

6363
sot_c = SinOfTime()
6464
lw = LineWrapper(sot_c, lw=5, color="green", label="sin(time)")
65-
fc = FormatedText(
65+
fc = FormattedText(
6666
sot_c,
6767
FunctionConversionNode.from_funcs(
6868
{"text": lambda phase: f"ϕ={phase:.2f}", "x": lambda: 2 * np.pi, "y": lambda: 1}

examples/mapped.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from matplotlib.colors import Normalize
1414

15-
from data_prototype.wrappers import LineWrapper, FormatedText
15+
from data_prototype.wrappers import LineWrapper, FormattedText
1616
from data_prototype.containers import ArrayContainer
1717
from data_prototype.conversion_node import FunctionConversionNode
1818

@@ -63,7 +63,7 @@
6363
)
6464
)
6565
ax.add_artist(
66-
FormatedText(
66+
FormattedText(
6767
ac,
6868
text_converter,
6969
x=2 * np.pi,

0 commit comments

Comments
 (0)