Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28ab632

Browse filesBrowse files
authored
bug fix cmap_str not being set in line collection (#285)
1 parent 699ed89 commit 28ab632
Copy full SHA for 28ab632

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎fastplotlib/graphics/line_collection.py

Copy file name to clipboardExpand all lines: fastplotlib/graphics/line_collection.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ def cmap(self, cmap: str):
228228
for i, g in enumerate(self.graphics):
229229
g.colors = colors[i]
230230

231+
self._cmap_str = cmap
232+
231233
@property
232234
def cmap_values(self) -> np.ndarray:
233235
return self._cmap_values

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.