Commit 7af365c
authored
fix: don't ignore
For polar plots the (unsightly, and unhelpful) r-axis is hidden by default, instead of the grid being enabled by default.
This PR handles rticks(), rtickformat(), rticklabels() and rtickangle() to generate the corresponding gnuplot commands even when the r-axis is hidden.
Additionally, it handles `rticks({})` and `rticklabels({})` properly by essentially setting `rtickformat("")`. This ensures that labels are hidden without having to disable the grid.rticks() when the r-axis is not visible1 parent e32cabd commit 7af365c
1 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
433 | 441 | | |
434 | 442 | | |
435 | 443 | | |
| |||
461 | 469 | | |
462 | 470 | | |
463 | 471 | | |
464 | | - | |
| 472 | + | |
465 | 473 | | |
466 | 474 | | |
467 | 475 | | |
468 | 476 | | |
469 | 477 | | |
470 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
471 | 487 | | |
472 | 488 | | |
473 | 489 | | |
| |||
0 commit comments