You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Importantly, there's no distinction between \"axes-level\" and \"figure-level\" here. Any kind of plot can be faceted or paired by adding a method call to the `Plot` definition, without changing anything else about how you are creating the figure."
822
822
]
823
823
},
824
+
{
825
+
"cell_type": "markdown",
826
+
"id": "9933b5fa-5b1a-4e05-a4d3-b2142e5337ef",
827
+
"metadata": {},
828
+
"source": [
829
+
"------\n",
830
+
"\n",
831
+
"## Customization\n",
832
+
"\n",
833
+
"This API is less developed than other aspects of the new interface, but it will be possible to customize various aspects of the plot through the seaborn interface, without dropping down to matplotlib:"
Copy file name to clipboardExpand all lines: doc/nextgen/index.ipynb
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,21 @@
40
40
"id": "c76dbb00-20ee-4508-bca3-76a4763e5640",
41
41
"metadata": {},
42
42
"source": [
43
-
"## Testing the alpha release\n",
43
+
"## Testing the pre-release\n",
44
44
"\n",
45
-
"If you're interested, please install the alpha and kick the tires. It is very far from complete, so expect some rough edges and instability! But feedback will be very helpful in pushing this towards a more stable broad release:\n",
45
+
"If you're interested, please install the pre-release and kick the tires. It is still a work in progress, so expect some rough edges and instability! But feedback will be very helpful in pushing this towards a more stable broad release:\n",
"The documentation is still a work in progress, but there's a reasonably thorough demo of the main parts, and some basic API documentation for the existing classes."
57
+
"The formal documentation is still a work-in-progress, so this preview serves as an introduction and reference for testing. There's a reasonably thorough demo of the main components and some basic API documentation for the existing classes:"
50
58
]
51
59
},
52
60
{
@@ -57,8 +65,8 @@
57
65
".. toctree::\n",
58
66
" :maxdepth: 1\n",
59
67
"\n",
60
-
" demo\n",
61
-
" api"
68
+
"Demonstration <demo>\n",
69
+
"API Overview <api>"
62
70
]
63
71
},
64
72
{
@@ -76,7 +84,7 @@
76
84
"\n",
77
85
"So the new interface is designed to provide a more comprehensive experience, such that all of the steps involved in the creation of a reasonably-customized plot can be accomplished in the same way. And the compositional nature of the objects provides much more flexibility than currently exists in seaborn with a similar level of abstraction: this lets you focus on *what* you want to show rather than *how* to show it.\n",
78
86
"\n",
79
-
"One will note that the result looks a bit (a lot?) like ggplot. That's not unintentional, but the goal is also *not* to \"port ggplot2 to Python\". (If that's what you're looking for, check out the very nice [plotnine](https://plotnine.readthedocs.io/en/stable/) package). There is an immense amount of wisdom in the grammar of graphics and in its particular implementation as ggplot2. But, as languages, R and Python are just too different for idioms from one to feel natural when translated literally into the other. So while I have taken much inspiration from ggplot (along with vega-lite, d3, and other great libraries), I've also made plenty of choices differently, for better or for worse."
87
+
"One will note that the result looks a bit (a lot?) like ggplot. That's not unintentional: while the original seaborn interface was never explicitly intended to implement a grammar of graphics, the redesign is. But the goal is also *not* to \"port ggplot2 to Python\". (If that's what you're looking for, check out the very nice [plotnine](https://plotnine.readthedocs.io/en/stable/) package). I do think that ggplot2 gets a lot right, especially its approach to layering. But, as languages, R and Python are just too different for idioms from one to feel natural when translated literally into the other. So while I have taken much inspiration from ggplot (along with vega-lite, d3, and other great libraries), I've also made plenty of choices differently, for better or for worse."
0 commit comments