Commit ca2f49a
committed
FIX: cross figure legends with patches
Found via biocore/qiime#2117
The `update_props` method on `Patch` was setting the figure along
with the style. This was setting the new patch for the legend to have
the same figure as the original handle, but this is later attempted to
be set to the figure the legend is in when the patch is added to the
legend.
This fix should not break anything as if the patch is going to be drawn
it should be added to the draw tree which _should_ in turn set the
correct figure.1 parent 7cb9d1f commit ca2f49a
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
243 | 252 | | |
244 | 253 | | |
245 | 254 | | |
| |||
0 commit comments