`Gridplot` -> `Figure` by kushalkolar · Pull Request #479 · fastplotlib/fastplotlib · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
dae0105
figure refactor seems to work
kushalkolar Apr 7, 2024
97d2101
update nbs w.r.t. new figure
kushalkolar Apr 7, 2024
1e7c17c
update test util
kushalkolar Apr 7, 2024
01fe334
black
kushalkolar Apr 7, 2024
5e730c1
remove lingering uses of gridplot
kushalkolar Apr 7, 2024
594eaaa
update API doc generation
kushalkolar Apr 7, 2024
e767a50
update contributing
kushalkolar Apr 7, 2024
1686307
typo
kushalkolar Apr 12, 2024
e7d940d
Iw refactor (#482)
kushalkolar Apr 12, 2024
c3f35c5
figure refactor seems to work
kushalkolar Apr 7, 2024
fab08bf
update nbs w.r.t. new figure
kushalkolar Apr 7, 2024
deda9ab
update test util
kushalkolar Apr 7, 2024
0a0e6fa
black
kushalkolar Apr 7, 2024
40b7533
remove lingering uses of gridplot
kushalkolar Apr 7, 2024
04740bb
update API doc generation
kushalkolar Apr 7, 2024
b28480f
update contributing
kushalkolar Apr 7, 2024
1cdf4f8
typos
kushalkolar Apr 12, 2024
f8cd545
update iw with FIgure
kushalkolar Apr 12, 2024
712fa54
update api docs
kushalkolar Apr 12, 2024
ca0aba6
fix merge conflict
kushalkolar Apr 12, 2024
158b3f9
black
kushalkolar Apr 12, 2024
4829fe7
update quickstart
kushalkolar Apr 12, 2024
a69ebca
update iw examples
kushalkolar Apr 12, 2024
e3e5e83
update iw type annotations
kushalkolar Apr 12, 2024
39de5bc
default cmap iw
kushalkolar Apr 12, 2024
ee12e5b
remove gp docs
kushalkolar Apr 12, 2024
cf52694
update readme
kushalkolar Apr 12, 2024
25864fb
forgot to delete more api docs
kushalkolar Apr 12, 2024
2da5f1d
I need to run nbs before committing them
kushalkolar Apr 12, 2024
76bc98f
more docs
kushalkolar Apr 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions CONTRIBUTING.md
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,23 @@
[![CI](https://github.com/kushalkolar/fastplotlib/actions/workflows/ci.yml/badge.svg)](https://github.com/kushalkolar/fastplotlib/actions/workflows/ci.yml)
[![PyPI version](https://badge.fury.io/py/fastplotlib.svg)](https://badge.fury.io/py/fastplotlib)
[![Documentation Status](https://readthedocs.org/projects/fastplotlib/badge/?version=latest)](https://fastplotlib.readthedocs.io/en/latest/?badge=latest)
[![Gitter](https://badges.gitter.im/fastplotlib/community.svg)](https://gitter.im/fastplotlib/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

[**Installation**](https://github.com/kushalkolar/fastplotlib#installation) |
[**GPU Drivers**](https://github.com/kushalkolar/fastplotlib#graphics-drivers) |
[**Documentation**](https://github.com/fastplotlib/fastplotlib#documentation) |
[**Examples**](https://github.com/kushalkolar/fastplotlib#examples) |
[**Contributing**](https://github.com/kushalkolar/fastplotlib#heart-contributing)

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! We also aim to be an expressive plotting library that enables rapid prototyping for large scale explorative scientific visualization.
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` also aims to be an expressive plotting library that enables rapid prototyping for large scale explorative scientific visualization.

![scipy-fpl](https://github.com/fastplotlib/fastplotlib/assets/9403332/b981a54c-05f9-443f-a8e4-52cd01cd802a)

### SciPy 2023 Talk

[![fpl_thumbnail](http://i3.ytimg.com/vi/Q-UJpAqljsU/hqdefault.jpg)](https://www.youtube.com/watch?v=Q-UJpAqljsU)

Notebooks from talk: https://github.com/fastplotlib/fastplotlib-scipy2023

Note that the API is currently evolving quickly. We recommend using the latest notebooks from the repo but the general
concepts are similar to those from the API shown in the video.

# Supported frameworks

Expand All @@ -36,9 +35,9 @@ Notebooks from talk: https://github.com/fastplotlib/fastplotlib-scipy2023
:heavy_check_mark: `wxPython`

**Notes:**\
:heavy_check_mark: Non-blocking Qt output is supported in ipython and notebooks by using [`%gui qt`](https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-gui) before creating plots. This hook only supports pyqt6 at the moment.\
: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`!
:grey_exclamation: We do not officially support `jupyter notebook` through `jupyter_rfb`, this may change with notebook v7\
:disappointed: [`jupyter_rfb`](https://github.com/vispy/jupyter_rfb) does not work in collab yet, see https://github.com/vispy/jupyter_rfb/pull/77
:disappointed: [`jupyter_rfb`](https://github.com/vispy/jupyter_rfb) does not work in collab, see https://github.com/vispy/jupyter_rfb/pull/77

> **Note**
>
Expand Down Expand Up @@ -169,4 +168,4 @@ WGPU uses Metal instead of Vulkan on Mac. You will need at least Mac OSX 10.13.

We welcome contributions! See the contributing guide: https://github.com/kushalkolar/fastplotlib/blob/main/CONTRIBUTING.md

You can also take a look at our [**Roadmap for 2024**](https://github.com/kushalkolar/fastplotlib/issues/55) and [**Issues**](https://github.com/kushalkolar/fastplotlib/issues) for ideas on how to contribute!
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!
33 changes: 33 additions & 0 deletions docs/source/api/graphic_features/Deleted.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.. _api.Deleted:

Deleted
*******

=======
Deleted
=======
.. currentmodule:: fastplotlib.graphics._features

Constructor
~~~~~~~~~~~
.. autosummary::
:toctree: Deleted_api

Deleted

Properties
~~~~~~~~~~
.. autosummary::
:toctree: Deleted_api


Methods
~~~~~~~
.. autosummary::
:toctree: Deleted_api

Deleted.add_event_handler
Deleted.block_events
Deleted.clear_event_handlers
Deleted.remove_event_handler

1 change: 1 addition & 0 deletions docs/source/api/graphic_features/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ Graphic Features
to_gpu_supported_dtype
LinearSelectionFeature
LinearRegionSelectionFeature
Deleted
3 changes: 3 additions & 0 deletions docs/source/api/graphics/HeatmapGraphic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Properties
:toctree: HeatmapGraphic_api

HeatmapGraphic.children
HeatmapGraphic.name
HeatmapGraphic.position
HeatmapGraphic.position_x
HeatmapGraphic.position_y
HeatmapGraphic.position_z
HeatmapGraphic.rotation
HeatmapGraphic.visible
HeatmapGraphic.world_object

Expand All @@ -37,5 +39,6 @@ Methods
HeatmapGraphic.add_linear_selector
HeatmapGraphic.link
HeatmapGraphic.reset_feature
HeatmapGraphic.rotate
HeatmapGraphic.set_feature

3 changes: 3 additions & 0 deletions docs/source/api/graphics/ImageGraphic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Properties
:toctree: ImageGraphic_api

ImageGraphic.children
ImageGraphic.name
ImageGraphic.position
ImageGraphic.position_x
ImageGraphic.position_y
ImageGraphic.position_z
ImageGraphic.rotation
ImageGraphic.visible
ImageGraphic.world_object

Expand All @@ -37,5 +39,6 @@ Methods
ImageGraphic.add_linear_selector
ImageGraphic.link
ImageGraphic.reset_feature
ImageGraphic.rotate
ImageGraphic.set_feature

3 changes: 3 additions & 0 deletions docs/source/api/graphics/LineCollection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ Properties
LineCollection.cmap
LineCollection.cmap_values
LineCollection.graphics
LineCollection.name
LineCollection.position
LineCollection.position_x
LineCollection.position_y
LineCollection.position_z
LineCollection.rotation
LineCollection.visible
LineCollection.world_object

Expand All @@ -42,5 +44,6 @@ Methods
LineCollection.link
LineCollection.remove_graphic
LineCollection.reset_feature
LineCollection.rotate
LineCollection.set_feature

3 changes: 3 additions & 0 deletions docs/source/api/graphics/LineGraphic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Properties
:toctree: LineGraphic_api

LineGraphic.children
LineGraphic.name
LineGraphic.position
LineGraphic.position_x
LineGraphic.position_y
LineGraphic.position_z
LineGraphic.rotation
LineGraphic.visible
LineGraphic.world_object

Expand All @@ -37,5 +39,6 @@ Methods
LineGraphic.add_linear_selector
LineGraphic.link
LineGraphic.reset_feature
LineGraphic.rotate
LineGraphic.set_feature

3 changes: 3 additions & 0 deletions docs/source/api/graphics/LineStack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ Properties
LineStack.cmap
LineStack.cmap_values
LineStack.graphics
LineStack.name
LineStack.position
LineStack.position_x
LineStack.position_y
LineStack.position_z
LineStack.rotation
LineStack.visible
LineStack.world_object

Expand All @@ -42,5 +44,6 @@ Methods
LineStack.link
LineStack.remove_graphic
LineStack.reset_feature
LineStack.rotate
LineStack.set_feature

3 changes: 3 additions & 0 deletions docs/source/api/graphics/ScatterGraphic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ Properties
:toctree: ScatterGraphic_api

ScatterGraphic.children
ScatterGraphic.name
ScatterGraphic.position
ScatterGraphic.position_x
ScatterGraphic.position_y
ScatterGraphic.position_z
ScatterGraphic.rotation
ScatterGraphic.visible
ScatterGraphic.world_object

Expand All @@ -33,4 +35,5 @@ Methods
.. autosummary::
:toctree: ScatterGraphic_api

ScatterGraphic.rotate

3 changes: 3 additions & 0 deletions docs/source/api/graphics/TextGraphic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ Properties

TextGraphic.children
TextGraphic.face_color
TextGraphic.name
TextGraphic.outline_color
TextGraphic.outline_size
TextGraphic.position
TextGraphic.position_x
TextGraphic.position_y
TextGraphic.position_z
TextGraphic.rotation
TextGraphic.text
TextGraphic.text_size
TextGraphic.visible
Expand All @@ -38,4 +40,5 @@ Methods
.. autosummary::
:toctree: TextGraphic_api

TextGraphic.rotate

44 changes: 44 additions & 0 deletions docs/source/api/layouts/figure.rst
42 changes: 0 additions & 42 deletions docs/source/api/layouts/gridplot.rst

This file was deleted.

Loading