From 6d2ccc543ad7a4c19ca6e6992562a7e6f09c8170 Mon Sep 17 00:00:00 2001 From: chryshumble Date: Mon, 7 Oct 2024 23:54:31 +0100 Subject: [PATCH] corrected styles in doc --- examples/reference/panes/GIF.ipynb | 2 +- examples/reference/panes/Image.ipynb | 2 +- examples/reference/panes/JPG.ipynb | 2 +- examples/reference/panes/PDF.ipynb | 2 +- examples/reference/panes/PNG.ipynb | 2 +- examples/reference/panes/SVG.ipynb | 2 +- examples/reference/panes/Str.ipynb | 2 +- examples/reference/panes/WebP.ipynb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/reference/panes/GIF.ipynb b/examples/reference/panes/GIF.ipynb index ad2ec1a320..ba11c903d1 100644 --- a/examples/reference/panes/GIF.ipynb +++ b/examples/reference/panes/GIF.ipynb @@ -26,7 +26,7 @@ "* **``fixed_aspect``** (boolean, default=True): Whether the aspect ratio of the image should be forced to be equal.\n", "* **``link_url``** (str, default=None): A link URL to make the image clickable and link to some other website.\n", "* **``object``** (str or object): The string to display. If a non-string type is supplied the repr is displayed. \n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ] diff --git a/examples/reference/panes/Image.ipynb b/examples/reference/panes/Image.ipynb index 58090f3cf3..bcd5f62efe 100644 --- a/examples/reference/panes/Image.ipynb +++ b/examples/reference/panes/Image.ipynb @@ -37,7 +37,7 @@ "* **``fixed_aspect``** (boolean, default=True): Whether the aspect ratio of the image should be forced to be equal.\n", "* **``link_url``** (str, default=None): A link URL to make the image clickable and link to some other website.\n", "* **``object``** (str or object): The Image file to display. Can be a string pointing to a local or remote file, or an object with a ``_repr_extension_`` method, where extension is an image file extension.\n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ] diff --git a/examples/reference/panes/JPG.ipynb b/examples/reference/panes/JPG.ipynb index 2f08b9a73a..e12ee8e049 100644 --- a/examples/reference/panes/JPG.ipynb +++ b/examples/reference/panes/JPG.ipynb @@ -26,7 +26,7 @@ "* **``fixed_aspect``** (boolean, default=True): Whether the aspect ratio of the image should be forced to be equal.\n", "* **``link_url``** (str, default=None): A link URL to make the image clickable and link to some other website.\n", "* **``object``** (str or object): The JPEG file to display. Can be a string pointing to a local or remote file, or an object with a ``_repr_jpeg_`` method.\n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ] diff --git a/examples/reference/panes/PDF.ipynb b/examples/reference/panes/PDF.ipynb index 7a9306b36e..3e7a3f0c69 100644 --- a/examples/reference/panes/PDF.ipynb +++ b/examples/reference/panes/PDF.ipynb @@ -24,7 +24,7 @@ "* **``embed``** (boolean, default=False): If given a URL to a file this determines whether the image will be embedded as base64 or merely linked to.\n", "* **``object``** (str or object): The PDF file to display. Can be a string pointing to a local or remote file, or an object with a ``_repr_pdf_`` method.\n", "* **``start_page``** (int): Start page of the `.pdf` file when loading the page. \n", - "* **``style``** (dict): Dictionary specifying CSS styles.\n", + "* **``styles``** (dict): Dictionary specifying CSS styles.\n", "\n", "___" ] diff --git a/examples/reference/panes/PNG.ipynb b/examples/reference/panes/PNG.ipynb index 5769b6f1e2..121d584e61 100644 --- a/examples/reference/panes/PNG.ipynb +++ b/examples/reference/panes/PNG.ipynb @@ -26,7 +26,7 @@ "* **``fixed_aspect``** (boolean, default=True): Whether the aspect ratio of the image should be forced to be equal.\n", "* **``link_url``** (str, default=None): A link URL to make the image clickable and link to some other website.\n", "* **``object``** (str or object): The PNG file to display. Can be a string pointing to a local or remote file, or an object with a ``_repr_png_`` method.\n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ] diff --git a/examples/reference/panes/SVG.ipynb b/examples/reference/panes/SVG.ipynb index ad7e3f45a6..7f990fb28d 100644 --- a/examples/reference/panes/SVG.ipynb +++ b/examples/reference/panes/SVG.ipynb @@ -27,7 +27,7 @@ "* **``link_url``** (str, default=None): A link URL to make the image clickable and link to some other website.\n", "* **``encode``** (bool, default=True): Whether to base64 encode the SVG, when enabled SVG links may not work while disabling encoding will prevent image scaling from working.\n", "* **``object``** (str or object): The svg file to display. Can be a string pointing to a local or remote file, or an object with a ``_repr_svg_`` method.\n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ] diff --git a/examples/reference/panes/Str.ipynb b/examples/reference/panes/Str.ipynb index 62478ab457..70d68a3297 100644 --- a/examples/reference/panes/Str.ipynb +++ b/examples/reference/panes/Str.ipynb @@ -26,7 +26,7 @@ "For details on other options for customizing the component see the [layout](../../how_to/layout/index.md) and [styling](../../how_to/styling/index.md) how-to guides.\n", "\n", "* **``object``** (str or object): The string to display. If a non-string type is supplied, the `repr` of that object is displayed. \n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ] diff --git a/examples/reference/panes/WebP.ipynb b/examples/reference/panes/WebP.ipynb index c511ae8e07..bec9e03502 100644 --- a/examples/reference/panes/WebP.ipynb +++ b/examples/reference/panes/WebP.ipynb @@ -26,7 +26,7 @@ "* **``fixed_aspect``** (boolean, default=True): Whether the aspect ratio of the image should be forced to be equal.\n", "* **``link_url``** (str, default=None): A link URL to make the image clickable and link to some other website.\n", "* **``object``** (str or object): The PNG file to display. Can be a string pointing to a local or remote file, or an object with a ``_repr_png_`` method.\n", - "* **``style``** (dict): Dictionary specifying CSS styles\n", + "* **``styles``** (dict): Dictionary specifying CSS styles\n", "\n", "___" ]