Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'linetype' for theme elements #1072

Merged
merged 14 commits into from
Apr 3, 2024
Merged
Prev Previous commit
Rename notebook. Update future_changes.md.
  • Loading branch information
OLarionova-HORIS committed Apr 3, 2024
commit 2dbd3d1a59e7a691981a67af89eb47ef7ac2ccfe
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "65e9aaa7",
"id": "16b70cf7",
"metadata": {},
"source": [
"# Line Type for Plot Elements\n",
Expand All @@ -14,7 +14,7 @@
{
"cell_type": "code",
"execution_count": 1,
"id": "49115e8b",
"id": "49ca5237",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -26,7 +26,7 @@
{
"cell_type": "code",
"execution_count": 2,
"id": "e58064f3",
"id": "cbf716cd",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -54,7 +54,7 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "e6095d8e",
"id": "3b3c06c0",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -167,13 +167,13 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "208b8f7b",
"id": "9b433408",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" <div id=\"To3nQI\"></div>\n",
" <div id=\"IQK9Ys\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -202,15 +202,15 @@
"}],\n",
"\"metainfo_list\":[]\n",
"};\n",
" var plotContainer = document.getElementById(\"To3nQI\");\n",
" var plotContainer = document.getElementById(\"IQK9Ys\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
" })();\n",
" </script>"
],
"text/plain": [
"<lets_plot.plot.core.PlotSpec at 0x7f88e8b287c0>"
"<lets_plot.plot.core.PlotSpec at 0x7fb81f436700>"
]
},
"execution_count": 4,
Expand All @@ -226,13 +226,13 @@
{
"cell_type": "code",
"execution_count": 5,
"id": "37228efe",
"id": "2da1a757",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" <div id=\"m6AfyT\"></div>\n",
" <div id=\"6K41gy\"></div>\n",
" <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n",
" (function() {\n",
" var plotSpec={\n",
Expand Down Expand Up @@ -280,15 +280,15 @@
"}],\n",
"\"metainfo_list\":[]\n",
"};\n",
" var plotContainer = document.getElementById(\"m6AfyT\");\n",
" var plotContainer = document.getElementById(\"6K41gy\");\n",
" window.letsPlotCall(function() {{\n",
" LetsPlot.buildPlotFromProcessedSpecs(plotSpec, -1, -1, plotContainer);\n",
" }});\n",
" })();\n",
" </script>"
],
"text/plain": [
"<lets_plot.plot.core.PlotSpec at 0x7f88edac7160>"
"<lets_plot.plot.core.PlotSpec at 0x7fb824b19190>"
]
},
"execution_count": 5,
Expand Down
6 changes: 6 additions & 0 deletions future_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24b/facet_multiline_titles.ipynb).

- Parameter `linetype` in `element_text()` and `element_rect()` in `theme()` [[LPK-235](https://github.com/JetBrains/lets-plot-kotlin/issues/235)].

See: [example notebook](https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-24b/theme_linetype.ipynb).



### Changed

Expand All @@ -27,6 +32,7 @@
- Missing outer bar annotations when specifying `scale_x_reverse()/scale_y_reverse()` [[#1058](https://github.com/JetBrains/lets-plot/issues/1058)].
- `geom_density2d`: the doc missing some 'computed' variables [[#1062](https://github.com/JetBrains/lets-plot/issues/1062)].
- Weird and problematic behavior : lets-plot does not respect x and y. Sizing problem ?[[#1068](https://github.com/JetBrains/lets-plot/issues/1068)].
- Add `linetype` parameter in `elementLine()` and `elementRect()` [[LPK-235](https://github.com/JetBrains/lets-plot-kotlin/issues/235)].
- Any way to line-wrap facet labels? [[LPK-237](https://github.com/JetBrains/lets-plot-kotlin/issues/237)].
- Missing marginal gridlines.