Commit 11aa422
committed
Set layout engine in _create_figure() instead of draw()
Only the figure creator should own the layout engine. Moving
set_layout_engine into _create_figure() ensures this — the existing
hasattr(self, "figure") guard prevents embedded plots/compositions
from setting it.1 parent 4bd2378 commit 11aa422
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
| 475 | + | |
474 | 476 | | |
475 | 477 | | |
476 | 478 | | |
| |||
532 | 534 | | |
533 | 535 | | |
534 | 536 | | |
535 | | - | |
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
| |||
557 | 558 | | |
558 | 559 | | |
559 | 560 | | |
560 | | - | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | 349 | | |
352 | 350 | | |
353 | 351 | | |
| |||
373 | 371 | | |
374 | 372 | | |
375 | 373 | | |
376 | | - | |
377 | 374 | | |
378 | 375 | | |
379 | 376 | | |
| |||
395 | 392 | | |
396 | 393 | | |
397 | 394 | | |
| 395 | + | |
398 | 396 | | |
399 | 397 | | |
400 | 398 | | |
| 399 | + | |
401 | 400 | | |
402 | 401 | | |
403 | 402 | | |
| |||
0 commit comments