Comments (3)
from fastplotlib.
Downgrade pygfx to 0.1.17 solves the above issue. But I got an error here:
iw = ImageWidget(data=data_orig,
cmap="gray")
iw.show()
TypeError Traceback (most recent call last)
Cell In[8], line 1
----> 1 iw = ImageWidget(data=data_orig,
2 cmap="gray")
3 iw.show()
File C:\ProgramData\anaconda3\envs\mescore\lib\site-packages\fastplotlib\widgets\image.py:561, in ImageWidget.init(self, data, dims_order, slider_dims, window_funcs, frame_apply, grid_shape, names, grid_plot_kwargs, histogram_widget, **kwargs)
557 # update the default kwargs with any user-specified kwargs
558 # user specified kwargs will overwrite the defaults
559 grid_plot_kwargs_default.update(grid_plot_kwargs)
--> 561 self._gridplot: GridPlot = GridPlot(shape=grid_shape, **grid_plot_kwargs_default)
563 for data_ix, (d, subplot) in enumerate(zip(self.data, self.gridplot)):
564 if self._names is not None:
File C:\ProgramData\anaconda3\envs\mescore\lib\site-packages\fastplotlib\layouts_gridplot.py:93, in GridPlot.init(self, shape, cameras, controller_types, controller_ids, canvas, renderer, size, names)
90 else:
91 self.names = None
---> 93 canvas, renderer = make_canvas_and_renderer(canvas, renderer)
95 if isinstance(cameras, str):
96 # create the array representing the views for each subplot in the grid
97 cameras = np.array([cameras] * self.shape[0] * self.shape[1]).reshape(
98 self.shape
99 )
File C:\ProgramData\anaconda3\envs\mescore\lib\site-packages\fastplotlib\layouts_utils.py:70, in make_canvas_and_renderer(canvas, renderer)
68 if canvas is None:
69 Canvas = auto_determine_canvas()
---> 70 canvas = Canvas(max_fps=60)
72 elif isinstance(canvas, str):
73 if canvas not in CANVAS_OPTIONS:
TypeError: 'bool' object is not callable
from fastplotlib.
This is with fastplotlib 0.1.0a16, pygfx 0.1.17, and wgpu 0.13.2.
from fastplotlib.
Related Issues (20)
- Know when a jupyter cell output has been "overwritten" HOT 2
- Color arrays
- use of weakref.proxy HOT 1
- move nb testing module to withins source tree HOT 1
- error with creating ImageWidget HOT 7
- last release for mesviz HOT 1
- docs on what fastplotlib is HOT 1
- pygfx optional picking
- explore, document, and type annotate supported array-like objects
- Examples, tutorials, galleries in docs HOT 4
- 2D polygon graphics HOT 1
- ImageWidget should take `bool` rgb kwarg
- Scope of graphic features HOT 1
- sphinx breaking HOT 3
- Tutorial simple videoloop capture HOT 6
- Qt UI small toolbar buttons on Mac HOT 1
- Add arrow line graphic HOT 1
- Animations can be difficult to debug HOT 2
- rename `position_x`, `position_y`, `position_z` to offsets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastplotlib.