Commit 20c9421
Rectangle/bbox layouts in a Figure (#740)
* start basic mesh and camera stuff
* progress
* resizing canvas auto-resizes bboxes using internal fractional bbox
* resizing works well
* ranges as array, comments
* layout management logic works! :D git status
* handler color, size
* cleanup
* resize handler highlight
* subplot title works, rename to Frame
* start generalizing layout manager
* cleaner
* start rect and extent class for organization
* start moving rect logic to a dedicated class
* organization
* better extent validation
* progress
* progress
* progress
* almost there
* formatting, subplot toolbar tweaks
* cleanup
* docks
* more stuff
* grid works
* add or remove subplot, not tested
* better highlight behavior
* increase size of example fig
* repr
* sdf for resize handle, better resize handle, overlap stuff with distance
* cleanup
* more space
* spacing tweaks
* add utils._types
* unit circle using extents
* black
* refactor, better organization
* modified: scripts/generate_add_graphic_methods.py
* more stuff
* more
* add examples
* black
* rename
* update test utils
* update nb test utils
* update ground truths
* update nb ground truths
* flex layouts examples 'as screenshot tests
* accidentaly added screenshot
* comments, cleanup
* docs api
* black
* fix
* cleanup
* add README.rst for flex layouts examples dir
* add flex layouts to test utils list
* add spinning spiral scatter example
* modify docs conf
* forgot a comma
* add rect extent ground truths
* fix text
* fix text features
* types
* comments, docstrings
* update w.r.t. text changes
* small typos
# Conflicts:
# fastplotlib/layouts/_engine.py
* small typos
* Update fastplotlib/layouts/_engine.py
Co-authored-by: Almar Klein <almar@almarklein.org>
* rename FlexLayout -> WindowLayout
* better check for imgui
* imports
* comments
* example tests files moved
* smaller canvas initial size for abs pixels until rendercanvs fix for glfw
* better error messages
* update screenshots
* update screenshots
* black
* newer black really was an extra comma for some reason
* update example
* underline
* docstring, better exception messages
---------
Co-authored-by: clewis7 <caitlin9165@gmail.com>
Co-authored-by: Almar Klein <almar@almarklein.org>1 parent 12ef40d commit 20c9421
151 files changed
Lines changed: 1999 additions & 615 deletions
File tree
- docs/source
- api/layouts
- examples
- image_widget
- machine_learning
- notebooks
- screenshots
- scatter
- screenshots
- selection_tools
- tests
- window_layouts
- fastplotlib
- graphics
- _features
- layouts
- ui
- utils
- scripts
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
| 35 | + | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | | - | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
57 | | - | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | | - | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
| 120 | + | |
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments