Skip to content

Commit 719603b

Browse files
authored
Merge pull request #1 from tacaswell/typos
Fix a few typos
2 parents 93d2ebb + f44c836 commit 719603b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

data_prototype/containers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def query(
218218
hash_key = hash((xmin, xmax))
219219
if hash_key in self._cache:
220220
return self._cache[hash_key], hash_key
221-
# TODO this gives an artifict with high lw
221+
# TODO this gives an artifact with high lw
222222
edges_in = []
223223
if dmin < xmin:
224224
edges_in.append(np.array([dmin]))

data_prototype/wrappers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _query_and_transform(self, renderer, *, xunits: List[str], yunits: List[str]
112112
# TODO find better way to placate mypy
113113
(int(round(bb_size[0])), int(round(bb_size[1]))),
114114
# TODO sort out how to spell the x/y scale
115-
# TODO is scale enoguh? What do we have to do about non-trivial projection?
115+
# TODO is scale enough? What do we have to do about non-trivial projection?
116116
xscale=None,
117117
yscale=None,
118118
)
@@ -131,7 +131,7 @@ def _query_and_transform(self, renderer, *, xunits: List[str], yunits: List[str]
131131

132132
# doing the nu work here is nice because we can write it once, but we
133133
# really want to push this computation down a layer
134-
# TODO sort out how this interaporates with the transform stack
134+
# TODO sort out how this interoperates with the transform stack
135135
data = {k: self.nus.get(k, lambda x: x)(v) for k, v in data.items()}
136136
self._cache[cache_key] = data
137137
return data

examples/2Dfunc.py

+1
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@
2929
ax.set_xlim(-5, 5)
3030
ax.set_ylim(-5, 5)
3131
fig.colorbar(im)
32+
plt.show()

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
description="Experimental code for the upcoming Matplotlib data refactor.",
3838
long_description=readme,
3939
author="Thomas A Caswell",
40-
author_email='tcaswll@gmail.com',
40+
author_email='tcaswell@gmail.com',
4141
url='https://github.com/tacaswell/data_prototype',
4242
python_requires='>={}'.format('.'.join(str(n) for n in min_version)),
4343
packages=find_packages(exclude=['docs', 'tests']),

0 commit comments

Comments
 (0)