Commit 31105cb
authored
auto mixin class for generating add_<graphic> methods (#248)
* automixin class for generating add_<graphic> methods
* generating the class and methods seems to work fine until I try to import the class elsewhere, graphic names not being defined
* moving mixin class to layouts, adding mixin to subplot
* requested changes, methods still not working
* fix add graphic methods
* revert to orig
* trying to use locals() to circumvent issue
* generated methods should work now
* regenerate methods to align with most up-to-date fpl graphics
* fix automixin generated methods
* add disclaimer, change return type annotation
* change return type1 parent 19adf82 commit 31105cb
File tree
3 files changed
+637
-28
lines changed- fastplotlib
- layouts
- utils
3 files changed
+637
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 120 | | |
128 | 121 | | |
129 | 122 | | |
130 | 123 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 124 | | |
147 | 125 | | |
148 | 126 | | |
| |||
0 commit comments