GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ImageWidget.set_data() does not work if the histogram widget was never used · Issue #850 · fastplotlib/fastplotlib Closed DescriptionIndexError Traceback (most recent call last) Cell In[11], line 2 1 sub_df = df[(df["fly"] == 4) & (df["cw"] == "rot-ccw-0.06")] ----> 2 iw.set_data([row["sample"].get_video() for i, row in sub_df.iterrows()]) File [~/repos/fastplotlib/fastplotlib/widgets/image_widget/_widget.py:946](http://localhost:8888/lab/tree/repos/fastplotlib/examples/repos/fastplotlib/fastplotlib/widgets/image_widget/_widget.py#line=945), in ImageWidget.set_data(self, new_data, reset_vmin_vmax, reset_indices) 943 new_graphic = ImageGraphic(data=frame, name="image_widget_managed") 945 # set hlut tool to use new graphic --> 946 subplot.docks["right"]["histogram_lut"].image_graphic = new_graphic 947 # delete old graphic after setting hlut tool to new graphic 948 # this ensures gc 949 subplot.delete_graphic(graphic=subplot["image_widget_managed"]) File [~/repos/fastplotlib/fastplotlib/layouts/_plot_area.py:689](http://localhost:8888/lab/tree/repos/fastplotlib/examples/repos/fastplotlib/fastplotlib/layouts/_plot_area.py#line=688), in PlotArea.__getitem__(self, name) 686 if graphic.name == name: 687 return graphic --> 689 raise IndexError(f"No graphic or selector of given name in plot area.\n") IndexError: No graphic or selector of given name in plot area. ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |