Igor Alshannikov

Results 285 comments of Igor Alshannikov

Hi @ccjernigan Try to use `breaks` instead of `labels`: ``` scaleColorManual( values = labelColors.map { it.color }, breaks = labelColors.map { it.label } ) ``` Maybe remove `asDiscrete` for beginnings....

I'm not sure I understand, how do you label your data-points in the dataframe? Is it a numeric column or a column of strings?

In this event you will use those strings in the `breaks` parameter as is: ``` scaleColorManual( values = labelColors.map { it.color }, breaks = labelColors.map { it.label } ) ```

Oh, you are right, the doc is misleading. Thanks for lets us know.

We need to support `nudge_x, nudge_y` parameters (#74). Also 'label.padding' may help. (https://ggplot2.tidyverse.org/reference/geom_text.html).

Internal use: https://forum.datalore-plot.jetbrains-boston.com/t/tooltips-config/114/79

https://towardsdatascience.com/6-reasons-why-you-should-stop-using-histograms-and-which-plot-you-should-use-instead-31f937a0a81c

If we show two plots it could be a feature )

According to [ggplot2 docs](https://ggplot2.tidyverse.org/reference/geom_text.html#details) > axis limits are not automatically expanded to include all text. Therefore we might have the correct behavior here.