diff --git a/data_prototype/containers.py b/data_prototype/containers.py index b8593c7..140d440 100644 --- a/data_prototype/containers.py +++ b/data_prototype/containers.py @@ -218,7 +218,7 @@ def query( hash_key = hash((xmin, xmax)) if hash_key in self._cache: return self._cache[hash_key], hash_key - # TODO this gives an artifict with high lw + # TODO this gives an artifact with high lw edges_in = [] if dmin < xmin: edges_in.append(np.array([dmin])) diff --git a/data_prototype/wrappers.py b/data_prototype/wrappers.py index c8903d5..fac6e23 100644 --- a/data_prototype/wrappers.py +++ b/data_prototype/wrappers.py @@ -112,7 +112,7 @@ def _query_and_transform(self, renderer, *, xunits: List[str], yunits: List[str] # TODO find better way to placate mypy (int(round(bb_size[0])), int(round(bb_size[1]))), # TODO sort out how to spell the x/y scale - # TODO is scale enoguh? What do we have to do about non-trivial projection? + # TODO is scale enough? What do we have to do about non-trivial projection? xscale=None, yscale=None, ) @@ -131,7 +131,7 @@ def _query_and_transform(self, renderer, *, xunits: List[str], yunits: List[str] # doing the nu work here is nice because we can write it once, but we # really want to push this computation down a layer - # TODO sort out how this interaporates with the transform stack + # TODO sort out how this interoperates with the transform stack data = {k: self.nus.get(k, lambda x: x)(v) for k, v in data.items()} self._cache[cache_key] = data return data diff --git a/examples/2Dfunc.py b/examples/2Dfunc.py index 1368ab0..9c31a86 100644 --- a/examples/2Dfunc.py +++ b/examples/2Dfunc.py @@ -29,3 +29,4 @@ ax.set_xlim(-5, 5) ax.set_ylim(-5, 5) fig.colorbar(im) +plt.show() diff --git a/setup.py b/setup.py index f317230..acbb43c 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ description="Experimental code for the upcoming Matplotlib data refactor.", long_description=readme, author="Thomas A Caswell", - author_email='tcaswll@gmail.com', + author_email='tcaswell@gmail.com', url='https://github.com/tacaswell/data_prototype', python_requires='>={}'.format('.'.join(str(n) for n in min_version)), packages=find_packages(exclude=['docs', 'tests']),