You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* misc -> misc-dev
* remove empty README file
* examples/desktop -> examples
* update examples
* remove old nb example stuff
* set offset for both dims for selectors
* update actions
* rename lint -> black
* update docs to use pydata sphinx theme and switcher
* update toctrees w.r.t pydata theme
* update deploy docs to deploy to version dir
* fix github var name
* update headings
* update links and homepage
* tryign to learn github actions properly blargh
* add a /
* update docs deploy
* update readme and guide
* update readme
* comments in workflow
* force fail if there are doc build warnings
* update job name
* no longer need separate doc CI test
* fix headings
* activate minigalleries
* comment on PR with link to built docs
* proper link
* update intersphinx for fastplotlib
* remove fastplotlib from intersphinx inventory for now
Next-gen plotting library built using the [`pygfx`](https://github.com/pygfx/pygfx) rendering engine that can utilize [Vulkan](https://en.wikipedia.org/wiki/Vulkan), [DX12](https://en.wikipedia.org/wiki/DirectX#DirectX_12), or [Metal](https://developer.apple.com/metal/) via WGPU, so it is very fast! `fastplotlib` is an expressive plotting library that enables rapid prototyping for large scale explorative scientific visualization.
Note that the API is currently evolving quickly. We recommend using the latest notebooks from the repo but the general
27
-
concepts are similar to those from the API shown in the video.
20
+
> **Note**
21
+
>
22
+
> `fastplotlib` is currently in the **late alpha stage**, but you're welcome to try it out or contribute! See our [Roadmap](https://github.com/kushalkolar/fastplotlib/issues/55). See this for a discussion on API stability: https://github.com/fastplotlib/fastplotlib/issues/121
28
23
29
24
# Supported frameworks
30
25
@@ -36,43 +31,52 @@ concepts are similar to those from the API shown in the video.
36
31
:heavy_check_mark:`wxPython`
37
32
38
33
**Notes:**\
39
-
:heavy_check_mark: Non-blocking Qt/PySide output is supported in ipython and notebooks by using [`%gui qt`](https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-gui). This **must** be called *before* importing `fastplotlib`!
34
+
:heavy_check_mark: Non-blocking interactive Qt/PySide output is supported in ipython and notebooks, see http://fastplotlib.org/ver/dev/user_guide/guide.html#using-fastplotlib-in-an-interactive-shell\
40
35
:grey_exclamation: We do not officially support `jupyter notebook` through `jupyter_rfb`, this may change with notebook v7\
36
+
:grey_exclamation: We only officially support jupyterlab for use in notebook. This means we do not support vscode notebooks etc. Jupyterlab is the most reliable way to use `fastplotlib` in notebooks.\
41
37
:disappointed:[`jupyter_rfb`](https://github.com/vispy/jupyter_rfb) does not work in collab, see https://github.com/vispy/jupyter_rfb/pull/77
42
38
43
-
> **Note**
44
-
>
45
-
> `fastplotlib` is currently in the **late alpha stage**, but you're welcome to try it out or contribute! See our [Roadmap](https://github.com/kushalkolar/fastplotlib/issues/55). See this for a discussion on API stability: https://github.com/fastplotlib/fastplotlib/issues/121
39
+
We recommend sticking to jupyter-lab for notebooks. From our experience the usage on other platforms, such as vscode
40
+
notebooks, is not optimal.
46
41
47
-
# Documentation
48
42
49
-
http://fastplotlib.readthedocs.io/
43
+
# Documentation
50
44
51
-
The examples are interactive if you run them locally on your computer. If someone wants to integrate `pyodide` with `pygfx` we would be able to have live interactive examples on the website!
45
+
http://www.fastplotlib.org/
52
46
53
47
Questions, issues, ideas? You are welcome to post an [issue](https://github.com/fastplotlib/fastplotlib/issues) or post on the [discussion forum](https://github.com/fastplotlib/fastplotlib/discussions)! :smiley:
54
48
55
49
# Installation
56
50
57
-
### Minimal, use with your own `Qt` or `glfw` applications
51
+
To install use pip:
52
+
58
53
```bash
59
-
pip install fastplotlib
60
-
```
54
+
# with imgui and jupyterlab
55
+
pip install -U "fastplotlib[notebook,imgui]"
61
56
62
-
**This does not give you `PyQt`/`PySide` or `glfw`, you will have to install your preferred GUI framework separately**.
57
+
# minimal install, install glfw, pyqt6 or pyside6 separately
58
+
pip install -U fastplotlib
63
59
64
-
### Notebook
65
-
```bash
66
-
pip install "fastplotlib[notebook]"
60
+
# with imgui
61
+
pip install -U "fastplotlib[imgui]"
62
+
63
+
# to use in jupyterlab, no imgui
64
+
pip install -U "fastplotlib[notebook]"
67
65
```
68
66
69
-
**Strongly recommended: install `simplejpeg` for much faster notebook visualization, this requires you to first install [libjpeg-turbo](https://libjpeg-turbo.org/)**
67
+
We strongly recommend installing ``simplejpeg`` for use in notebooks, you must first install [libjpeg-turbo](https://libjpeg-turbo.org/)
68
+
69
+
- If you use ``conda``, you can get ``libjpeg-turbo`` through conda.
70
+
- If you are on linux you can get it through your distro's package manager.
71
+
- For Windows and Mac compiled binaries are available on their release page: https://github.com/libjpeg-turbo/libjpeg-turbo/releases
> `fastplotlib` and `pygfx` are fast evolving projects, the version available through pip might be outdated, you will need to follow the "For developers" instructions below if you want the latest features. You can find the release history here: https://github.com/fastplotlib/fastplotlib/releases
78
82
@@ -95,42 +99,23 @@ Se [Contributing](https://github.com/fastplotlib/fastplotlib?tab=readme-ov-file#
> **Note:**`fastplotlib` and `pygfx` are fast evolving, you will probably require the latest `pygfx` and `fastplotlib` from github to use the examples in the main branch.
101
-
102
-
`fastplotlib` code is identical across notebook (`jupyter`), and desktop use with `Qt`/`PySide` or `glfw`.
103
-
104
-
Even if you do not intend to use notebooks with `fastplotlib`, the `quickstart.ipynb` tutorial notebook is the best way to get familiar with the API: https://github.com/fastplotlib/fastplotlib/tree/main/examples/notebooks/quickstart.ipynb
105
-
106
-
The specifics for running `fastplotlib` in different GUI frameworks are:
107
-
- Running in `glfw` requires a `fastplotlib.run()` call (which is really just a `wgpu``run()` call)
108
-
- With `Qt` you can encapsulate it within a `QApplication`, see `examples/qt`
109
-
- Notebooks plots have ipywidget-based toolbars and widgets. There are plans to move toward an identical in-canvas toolbar with UI elements across all supported frameworks 😄
110
-
111
-
### Embedding in a `Qt` app
112
-
113
-
See these for examples on embedding within a Qt app. Note that you can also use `fastplotlib` with qt interactively using `%gui qt` in jupyter or ipython.
`fastplotlib` code is identical across notebook (`jupyterlab`), and desktop use with `Qt`/`PySide` or `glfw`.
122
107
123
-
### Video
108
+
**Notebooks**
124
109
125
-
Our SciPy 2023 talk walks through numerous demos: https://github.com/fastplotlib/fastplotlib#scipy-talk
110
+
The `quickstart.ipynb` tutorial notebook is a great way to get familiar with the API: https://github.com/fastplotlib/fastplotlib/tree/main/examples/notebooks/quickstart.ipynb
126
111
127
112
## Graphics drivers
128
113
129
-
You will need a relatively modern GPU (newer integrated GPUs in CPUs are usually fine). Generally if your GPU is from 2017 or later it should be fine.
114
+
You will need a relatively modern GPU, modern integrated graphics are usually fine for many use cases. Generally if your GPU is from 2017 or later it should be fine.
130
115
131
116
For more detailed information, such as use on cloud computing infrastructure, see: https://wgpu-py.readthedocs.io/en/stable/start.html#platform-requirements
132
117
133
-
Some more information on GPUs is here: https://fastplotlib.readthedocs.io/en/latest/user_guide/gpu.html
118
+
Some more information on GPUs is here: http://fastplotlib.org/ver/dev/user_guide/gpu.html
134
119
135
120
### Windows:
136
121
Vulkan drivers should be installed by default on Windows 11, but you will need to install your GPU manufacturer's driver package (Nvidia or AMD). If you have an integrated GPU within your CPU, you might still need to install a driver package too, check your CPU manufacturer's info.
@@ -161,6 +146,6 @@ WGPU uses Metal instead of Vulkan on Mac. You will need at least Mac OSX 10.13.
161
146
162
147
# :heart: Contributing
163
148
164
-
We welcome contributions! See the contributing guide: https://github.com/kushalkolar/fastplotlib/blob/main/CONTRIBUTING.md
149
+
We welcome contributions! See the contributing guide: https://github.com/fastplotlib/fastplotlib/blob/main/CONTRIBUTING.md
165
150
166
-
You can also take a look at our [**Roadmap for 2025**](https://github.com/kushalkolar/fastplotlib/issues/55) and [**Issues**](https://github.com/kushalkolar/fastplotlib/issues) for ideas on how to contribute!
151
+
You can also take a look at our [**Roadmap for 2025**](https://github.com/fastplotlib/fastplotlib/issues/55) and [**Issues**](https://github.com/fastplotlib/fastplotlib/issues) for ideas on how to contribute!
0 commit comments