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 61d2903

Browse filesBrowse files
committed
remove simplejpeg as hard dep, update readme
1 parent 8bfcad6 commit 61d2903
Copy full SHA for 61d2903

File tree

Expand file treeCollapse file tree

2 files changed

+15
-10
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+15
-10
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ A fast plotting library built using the `pygfx` render engine that can use [Vulk
66
Checkout pygfx!
77
https://github.com/pygfx/pygfx
88

9-
`fastplotlib` is in the alpha stage and experimental but you're welcome to try it out or contribute!
9+
`fastplotlib` is in the alpha stage and experimental, but you're welcome to try it out or contribute!
1010

1111
Questions, ideas? Chat on gitter: https://gitter.im/fastplotlib/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link
1212

1313
# Examples
1414

15-
**See the examples directory. Start out with `simple.ipynb` which uses the high level API.**
15+
**See the examples directory. Start out with `simple.ipynb`.**
1616

1717
### Simple image plot
1818
```python
@@ -21,8 +21,8 @@ import numpy as np
2121

2222
plot = Plot()
2323

24-
data = np.random.rand(512, 512) * 255
25-
plot.image(data=data, vmin=0, vmax=255, cmap='viridis')
24+
data = np.random.rand(512, 512)
25+
plot.image(data=data)
2626

2727
plot.show()
2828
```
@@ -34,14 +34,14 @@ import numpy as np
3434

3535
plot = Plot()
3636

37-
data = np.random.rand(512, 512) * 255
38-
image = plot.image(data=data, vmin=0, vmax=255, cmap='viridis')
37+
data = np.random.rand(512, 512)
38+
image = plot.image(data=data)
3939

4040
def update_data():
41-
new_data = np.random.rand(512, 512) * 255
41+
new_data = np.random.rand(512, 512)
4242
image.update_data(new_data)
4343

44-
plot.add_animations([update_data])
44+
plot.add_animations(update_data)
4545

4646
plot.show()
4747
```
@@ -56,6 +56,12 @@ pip install git+https://github.com/kushalkolar/fastplotlib.git
5656

5757
Note: do not download the version that is currently on PYPI (i.e. don't just do `pip install fastplotlib`, it is outdated (we're waiting for the next release of `pygfx`)
5858

59+
**Installing `simplejpeg` is recommended for faster plotting in notebooks using rfb. You will need C compilers setup on your computer to install it:**
60+
61+
```bash
62+
pip install simplejpeg
63+
```
64+
5965
Clone or download the repo to try the examples
6066

6167
```bash
@@ -87,7 +93,7 @@ jupyter lab
8793
For more information see: https://github.com/pygfx/wgpu-py#platform-requirements
8894

8995
### Windows:
90-
Apparently Vulkan should be installed by default on Windows 11.
96+
Vulkan should be installed by default on Windows 11.
9197

9298
### Linux:
9399
Debian based distros:

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
'jupyterlab-widgets==1.1.1',
1010
'ipywidgets<8.0.0',
1111
'jupyter-rfb',
12-
'simplejpeg'
1312
]
1413

1514

0 commit comments

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