ipycanvas icon indicating copy to clipboard operation
ipycanvas copied to clipboard

Interactive Canvas in Jupyter

Results 74 ipycanvas issues
Sort by recently updated
recently updated
newest added

```python canvas = Canvas(width=200, height=200, sync_image_data=True) canvas.fill_styled_rects(20, 20, 50, 50, color=[0,0,0]) canvas.to_file('test.png') ``` ```bash Traceback (most recent call last): File "/home/jzj/test.py", line 58, in canvas.to_file('test.png') File "/home/jzj/miniconda3/lib/python3.9/site-packages/ipycanvas/canvas.py", line 420, in...

Hi @martinRenou, hi all, first of all big thanks for this fantastic tool! I was just experimenting with the example for touch-control and I had to update to the code...

Bumps [terser](https://github.com/terser/terser) from 5.13.1 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Trying to add an alpha chanel to the [example in the docs](https://ipycanvas.readthedocs.io/en/latest/drawing_images.html?highlight=put_image_data#from-a-numpy-array) leads to an error `OSError: cannot write mode RGBA as JPEG` on Mac OS X: ```python import numpy...

Hi all! I'm trying to embed a notebook I previously made directly into our website using the [thebe](https://thebe.readthedocs.io/en/latest/index.html) project to request a kernel. Sadly, this breaks ipycanvas, raising the following...

bug

I use ipycanvas to show a camera stream from a machine vision camera in a jupyter notebook. After updating to 0.12.0 the image has started flickering and the delay in...

bug

The following seems to fail with the latest ipycanvas version: ```python image_data = canvas.get_image_data(x=0, y=0, width=64, height=64) canvas2 = Canvas(width=64, height=64) canvas2.put_image_data( image_data, 0, 0 ) ``` See https://github.com/martinRenou/ipycanvas/discussions/271

bug

There is a race condition in the `Pattern` object creation from an `Image` widget. Setting `fill_style = pattern` just after creating the pattern results in the `fill_style` to not be...

bug

Thank you for this library! I have a couple of questions regarding `MultiCanvas` objects. 1. Is it safe to dynamically add canvases to a `MultiCanvas` object? 2. Is this bad...

enhancement

It would be nice to be capture scroll events in order to implement things like scrolling on zoom. This could borrow from how ipympl achieved this: https://github.com/matplotlib/ipympl/blob/54b2a2213f4941933c00f570f3008bf6db153b99/js/src/mpl_widget.js#L565-L575 --- For context...

enhancement