GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix HeatmapCmapFeature · Issue #357 · fastplotlib/fastplotlib

fix HeatmapCmapFeature #357

New issue
Copy link
New issue
Copy link
Closed
#358
Closed
fix HeatmapCmapFeature#357
#358
Copy link

Description

@kushalkolar
kushalkolar
opened on Nov 3, 2023
Issue body actions
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[148], line 1
----> 1 viz_cnmf.plot_heatmap["heatmap"].cmap = "viridis"

File ~/repos/fastplotlib/fastplotlib/graphics/_base.py:139, in Graphic.__setattr__(self, key, value)
    137     attr = getattr(self, key)
    138     if isinstance(attr, GraphicFeature):
--> 139         attr._set(value)
    140         return
    142 super().__setattr__(key, value)

File ~/repos/fastplotlib/fastplotlib/graphics/_features/_colors.py:406, in HeatmapCmapFeature._set(self, cmap_name)
    404 self._parent._material.map.data[:] = make_colors(256, cmap_name)
    405 self._parent._material.map.update_range((0, 0, 0), size=(256, 1, 1))
--> 406 self.name = cmap_name
    408 self._feature_changed(key=None, new_data=self.name)

AttributeError: property 'name' of 'HeatmapCmapFeature' object has no setter

Activity

  1. kushalkolar
    closed this as completedin #358on Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.