We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7cb80 commit ce5343dCopy full SHA for ce5343d
pyhdx/web/views.py
@@ -593,13 +593,13 @@ def _pdb_updated(self, *events):
593
def get_color_data(self):
594
df = self.sources["color"].get()
595
if df is None:
596
- return None, None
+ return None
597
# there should be one column which matches one of the keys in the cmap otps dict
598
matching_columns = set(df.columns) & self._cmap_opts.keys()
599
if not matching_columns:
600
# todo logging.getlogger etc etc
601
print("No matching color opts were found")
602
603
604
qty = matching_columns.pop()
605
opts = self._cmap_opts[qty]
0 commit comments