3 ms·
AM I the only one annoyed by plotnine arbitrary use of abbreviations? Some are slightly more excusable, like aes instead of aesthetic, but given today's editor
by pierrebai 6y ago
AM I the only one annoyed by plotnine arbitrary use of abbreviations?
Some are slightly more excusable, like aes instead of aesthetic, but given today's editors auto-completion, I find this kind of choice annoying by making the code less readable for new-comers.
But others are more gratuitous to my sense. For example, the colors gradients. 'Blues' for blue gradient, but GnBl for a gradient going from green to blue? How hard is it to type Greens-Blues? It also makes it harder to remember which are abbreviated and which are not.
- elsherbini 6y agoThose gradient names are annoying, but they are a de facto standard from ColorBrewer[1]. I always have to look at that website to figure out the abbreviation I need in ggplot2. [1] https://colorbrewer2.org/#type=sequential&scheme=GnBu&n=3 https://colorbrewer2.org/#type=sequential&scheme=GnBu&n=3
- has2k1 6y agoPlotnine uses other packages in the scientific Python ecosystem. That is probably where the abbreviations that irk you come from. In some cases those "abbreviations" have roots 20 years deep!