Commit 1c642e0
Use literal color for outlines when outline_color is not set
When color is a literal (e.g., 'white') and no outline_color is given,
use the literal color for outlines. This fixes the invisible-outline
case from issue #462 where color='white' with outline_alpha=1 produced
white outlines on a white background because the data-driven path was
used instead.
When color is a column name (data-driven), outlines still inherit
per-label colors from the colormap.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9407fae commit 1c642e0
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1379 | 1379 | | |
1380 | 1380 | | |
1381 | 1381 | | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
1382 | 1390 | | |
1383 | 1391 | | |
1384 | 1392 | | |
| |||
1395 | 1403 | | |
1396 | 1404 | | |
1397 | 1405 | | |
1398 | | - | |
| 1406 | + | |
1399 | 1407 | | |
1400 | 1408 | | |
1401 | 1409 | | |
| |||
1409 | 1417 | | |
1410 | 1418 | | |
1411 | 1419 | | |
1412 | | - | |
| 1420 | + | |
1413 | 1421 | | |
1414 | 1422 | | |
1415 | 1423 | | |
| |||
0 commit comments