Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data_prototype/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down
4 changes: 2 additions & 2 deletions data_prototype/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions examples/2Dfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@
ax.set_xlim(-5, 5)
ax.set_ylim(-5, 5)
fig.colorbar(im)
plt.show()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand Down