Replies: 9 comments
-
These are mostly not (yet) implemented. To answer specific questions:
Not yet implemented.
Can you say more about what you mean by this?
Not yet implemented. There will likely be a
Controlled by calling the
Not yet implemented (legends are super annoying).
If you mean saving an image of the plot, this is If you mean saving a serialized version of the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the very swift response and the pointers. Caption: smaller text that usually appears below charts and gives the source of the data or any other relevant contextual information. eg in the second example here for ggplot2. Or in a 'real-world' example here from the FT where the caption reads "Source: Indeed". Annotations: yeah, I mean an equivalent of Legends: I can believe it! Saving: okay, thanks---and yes, was just wondering about how to do a vanilla save to file! |
Beta Was this translation helpful? Give feedback.
-
For captions, I wonder if it's worth pitching that upstream to matplotlib as a first-classs figure concept. It's possible to add arbitrary text to figures, of course, but I'm not sure it would always play well with the auto-layout algorithms. |
Beta Was this translation helpful? Give feedback.
-
Yeah that makes sense. |
Beta Was this translation helpful? Give feedback.
-
For titles (and subtitles / captions, although without true support for those in matplotlib it's trickier and i may wait to implement), I am thinking that folding them into the One complication is that either:
I am curious what you would think about the following proposal for property customization. I think it might make sense to have a
The alternatives would be:
Having a ps I think you could do |
Beta Was this translation helpful? Give feedback.
-
Yeah I completely see that the subtitle and caption features need to be built in at a fairly low level otherwise very hard to implement. Having titles in ggplot(mpg, aes(displ, hwy)) +
geom_point(aes(color = class)) +
geom_smooth(se = FALSE) +
labs(title = "Fuel efficiency generally decreases with engine size", x="displ", y="hwy") I think On property customisation, I can see the rationale for a signature like |
Beta Was this translation helpful? Give feedback.
-
I think the thing that bugs me about
While there will be a way to pass a dictionary of arbitrary rc parameters, I think that is not ideal as the only way to do aesthetic tweaking. The discoverability of rc paramters is pretty low ... the matplotlib documentation for them is not very good and they have periods, so cannot be used as keyword arguments that you could tab-complete out. |
Beta Was this translation helpful? Give feedback.
-
For titles, see #2934 |
Beta Was this translation helpful? Give feedback.
-
Super exciting, thanks for flagging! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm sure this is all on the radar / plan for the next gen Seaborn anyway, but just thought I'd flag some features that I couldn't work out how to do today using the next gen syntax (most likely because these features haven't landed yet or aren't in the next gen documentation yet).
They are:
They're all from here: https://aeturrell.github.io/python4DS/communicate-plots.html, a training page on data vis that goes through how to do various things with next gen Seaborn and which has placeholders in for these features for now.
I am so impressed with the next gen version, can't wait to see more of it!
Beta Was this translation helpful? Give feedback.
All reactions