Closed icostan closed 3 months ago
It seems that the title color setting of the theme config is not used. I will try to debug why this happens. Meanwhile you can use something like this:
Tucan.scatter(:iris, "petal_width", "petal_length")
|> Tucan.color_by("species")
|> Tucan.shape_by("species")
|> Tucan.set_theme(:dark)
|> Tucan.Axes.put_options(:x, title_color: "red")
The problem is that kino_vega_lite
applies a default theme on all rendered plots that may override the Tucan
themes settings. I disabled the theme locally and the axes titles are properly displayed:
Thanks for reporting this, will check what we can do.
I am using latest (0.3.1 version) and it displays the title of both axes in gray, as expected.
When using the dark theme axes' titles are no longer visible because the color is still gray but I would expect to be white, the same as chart's title or legend.
Where is the issue? I can see "tick_color" default option set but not sure if it does the title color switch in dark theme, we might need "title_color" option as well.