From 0ce3df1822204ff6290ae89773522d910162ec4d Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Tue, 10 Jun 2025 13:33:14 -0400 Subject: [PATCH 1/5] feat: convert from black to ruff and clean up code generation - Remove `requires-optional.txt` and `test_requirements/*` (no longer used). - Convert `commands.py` to use `argparse` instead of hand-rolled. - Rationalize imports in `codegen/__init__.py` (all at top level). - Update `"dev"` section of `pyproject.toml` to use `ruff` instead of `black`. - Update `pyproject.toml` to install `inflect` and `requests`. - Modify `uv.lock` file. - Modify code reformatting in `codegen/__init__.py` to use `ruff` instead of `black`. - Add new function to use `ruff` to reformat existing code (run `python commands.py format`). - Add new function to use `ruff` to check code (run `python commands.py lint`). This PR currently fails the build because Circle CI is expecting `requires-optional.txt`, which this PR removes. We need to decide if we're leaving build on Circle CI or moving it to GitHub. --- .github/ISSUE_TEMPLATE.md | 12 +- .github/pull_request_template.md | 58 +-- CONTRIBUTING.md | 391 +++++++++----------- codegen/__init__.py | 125 +++---- codegen/compatibility.py | 15 +- codegen/datatypes.py | 63 ++-- codegen/figure.py | 88 ++--- codegen/utils.py | 33 +- codegen/validators.py | 5 - commands.py | 145 +++++--- pyproject.toml | 55 +-- requires-optional.txt | 56 --- test_requirements/requirements_core.txt | 2 - test_requirements/requirements_optional.txt | 27 -- uv.lock | 211 ++++++----- 15 files changed, 584 insertions(+), 702 deletions(-) delete mode 100644 requires-optional.txt delete mode 100644 test_requirements/requirements_core.txt delete mode 100644 test_requirements/requirements_optional.txt diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index c862d73cb9e..5c36a25339b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,7 +1,9 @@ -Thanks for your interest in Plotly.py! +Thanks for your interest in Plotly.py. +Before opening an issue, please: -Before opening an issue, please search for existing and closed issues :) +- Use the [latest version](https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md) of plotly.py in your report unless not applicable. +- Search for existing and closed issues. +- Include a minimal reproducible example with bug reports. -**Please** accompany bug reports with a reproducible example. Please use the [latest version](https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md) of plotly.py in your report unless not applicable. - -Note that GitHub Issues are meant to be used for bug reports and feature requests only. Implementation or usage questions should be asked on [community.plotly.com](https://community.plotly.com/c/graphing-libraries/python/10) or on Stack Overflow (tagged [`plotly`](https://stackoverflow.com/questions/tagged/plotly)). +Note that GitHub Issues are meant to be used for bug reports and feature requests. +Questions about usage should be asked on [community.plotly.com](https://community.plotly.com/c/graphing-libraries/python/10). diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 79e3829585f..0ac4aea78e7 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,38 +1,38 @@ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6ab588ed0d..2ec86237c01 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,310 +1,259 @@ # Contributing -Thank you for your interest in contributing to plotly.py! We are actively looking for -diverse contributors, with diverse background and skills. +Thank you for your interest in contributing to plotly.py! +We are actively looking for diverse contributors with diverse background and skills. -This guide starts with a general description of the different ways to contribute -to plotly.py, then we explain some technical aspects of preparing your -contribution. +This guide starts with a general description of the different ways to contribute to plotly.py, +then explains the technical aspects of preparing your contribution. ## Code of Conduct -Please check out the [Code of Conduct](CODE_OF_CONDUCT.md). Don't skip it, -but the general idea is to be nice. +Please note that all contributos are required to abide by our [Code of Conduct](CODE_OF_CONDUCT.md). -## What are the different ways to contribute? +## Different Ways to Contribute -There are many ways to contribute to plotly.py. To contribute effectively, it is important to first gain an understanding of the structure of the code and of the repository. +There are many ways to contribute to plotly.py. +To do any effectively, +it is important to understand the structure of the code and the repository. -- [the `plotly.graph_objects` module](https://plotly.com/python/graph-objects/) (usually imported as `go`) - is [generated from the Plotly.js schema](https://plotly.com/python/figure-structure/), - so changes to be made in this package need to be - [contributed to Plotly.js](https://github.com/plotly/plotly.js) or to the `codegen` system - in `codegen/`. Most of the codegen code concerns the generation of docstrings from - the schema JSON in Plotly.js. Traces and - Layout classes have a direct correspondence with their Javascript - counterpart. Higher-level methods that work on figures regardless of the current schema (e.g., `BaseFigure.for_each_trace`) are defined in `plotly/basedatatypes.py`. Additional helper methods are defined there for the `Figure` object, such as - `update_layout`, `add_trace`, etc. +- The [`plotly.graph_objects`](https://plotly.com/python/graph-objects/) module (usually imported as `go`) + is [generated from the plotly.js schema](https://plotly.com/python/figure-structure/), + so changes to be made in this package need to be contributed to [plotly.js](https://github.com/plotly/plotly.js) + or to the code generation system in `./codegen/`. + Code generation creates traces and layout classes that have a direct correspondence to their JavaScript counterparts, + while higher-level methods that work on figures regardless of the current schema (e.g., `BaseFigure.for_each_trace`) + are defined in `plotly/basedatatypes.py`. + Additional helper methods such as `update_layout` `add_trace` are also defined there for the `Figure` object. -- [the `plotly.express` module](https://plotly.com/python/plotly-express/) (usually imported as `px`) is a high-level - functional API that uses `graph_objects` under the hood. Its code is in `plotly/express/`. - Plotly Express functions - are designed to be highly consistent with each other, and to do *as little computation - in Python as possible*, generally concerning themselves with formatting data and creating - figures out of `plotly.graph_objects` instances. Most - functions of `plotly.express` call the same internal `_make_figure` function - in `_core.py`. More generally, the internals of `px` consist of general - functions taking care of building the figure (defining subplots, traces - or frames, for example), with special cases for different traces handled - within these functions. There is also subsequent code reuse for `px` - docstrings, in particular for documenting parameters. +- The [`plotly.express`](https://plotly.com/python/plotly-express/) module (usually imported as `px`) + is a high-level API that uses `graph_objects` under the hood. + Its code is in `plotly/express/`. + Plotly Express functions generally concern themselves with formatting data and creating figures out of `plotly.graph_objects` instances; + they are designed to be consistent with each other and to do as little computation in Python as possible. -- [the `plotly.figure_factory` module](https://plotly.com/python/figure-factories/) (usually imported as `ff`) - provides Python "recipes" for building - advanced visualizations with involved computation done in Python, such as - Hexbin maps, ternary contour plots, etc. - Figure factories are one of the easiest entry points into contributing to plotly.py, since - they consist of Python-only code, with standalone, well-separated functions. - However, please note that some of the figure factories become less relevant - as we are introducing more features into `plotly.express`. Some issues in the - tracker are labeled "figure_factory" and can be good issues to work on. More - instructions on figure factories are found - [here](plotly/figure_factory/README.md). +- Other pure-Python submodules include `plotly.io` (a low-level interface for displaying, reading and writing figures) + and `plotly.subplots` (helper function for layout of multi-plot figures) -- other pure-Python submodules are: `plotly.io` (low-level interface for - displaying, reading and writing figures), `plotly.subplots` (helper function - for layout of multi-plot figures) +- Tests are found in `tests`. + These are organized in subdirectories according to what they test: + see the "Setup" section below for more details. -- tests are found in `plotly/tests`. Different - directories correspond to different test jobs (with different dependency sets) - run in continuous integration. More is explained about tests - in the following "Technical aspects" section. +- Documentation is found in `doc/`, and its structure is described in [its README file](doc/README.md). + The documentation is a great place to start contributing, + since you can add or modify examples without setting up a full environment. -- the **documentation** is part of this repository. Its structure and some - explanations are described [here](doc/README.md). The documentation, in - particular example-based tutorials, is a great place to start contributing. - The contribution process is also more lightweight, since you can modify - tutorial notebooks without setting up an environment, etc. - We maintain a wishlist of examples to add on - https://github.com/plotly/plotly.py/issues/1965. If you have writing skills, - the wording of existing examples can also be improved in places. +Code and documentation are not the only way to contribute: +you can also help by: -Contributing code or documentation is not the only way to contribute! You can -also contribute to the project by +- Reporting bugs at . + Please take a moment to see if your problem has already been reported, and if so, add a comment to the existing issue; + we will try to prioritize those that affect the most people. -- reporting bugs (see below). +- Submitting feature requests (also at ). + Again, please add a comment to an existing issue if the feature you want has already been requested. -- submitting feature requests (maybe we'll convince you to contribute it as a - pull request!). +- Helping other users on the community forum at . -- helping other users on the [community forum](https://community.plot.ly/). - Join the list of [nice people](https://community.plot.ly/u) helping other - plotly users :-). +If you'd like to know more, +we recommend reading [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/). -We also recommend reading the great -[how to contribute to open source](https://opensource.guide/how-to-contribute/) -guide. +## Setup -## Have a Bug Report? +This section explains how to set up a development environment so that you can contribute code and/or tests. +Note that if you are modifying a single documentation page, +you can do it directly on GitHub by clicking on the "Edit this page on GitHub" link without cloning the repository. -Open an issue! Go to https://github.com/plotly/plotly.py/issues. It's possible that your issue was already addressed. If it wasn't, open it. We also accept pull requests; take a look at the steps below for instructions on how to do this. +### Get a Local Copy of the Project -## Have Questions about Plotly? +We use Git and GitHub to manage our project; +if you are not familiar with them, +there are great resources like to get you started. -Check out our Community Forum: https://community.plot.ly/. +The first step is to [fork the repository](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) on GitHub +so that you have your own copy to work with. +Once you have done that, +you can run the following command to get a local copy of your repository +(replacing `your_github_id` with your GitHub ID): -## Want to improve the plotly documentation? - -Thank you! Instructions on how to contribute to the documentation are given [here](doc/README.md). Please also read the next section if you need to setup a development environment. - -## How to contribute - Technical Aspects - -Below we explain the technical aspects of contributing. It is not strictly necessary to follow all points (for example, you will not write tests when writing documentation, most of the time), but we want to make sure that you know how to deal with most cases. - -Note that if you are modifying a single documentation page, you can do it -directly on Github by clicking on the "Edit this page on GitHub" link, without -cloning the repository. - -## Setup a Development Environment - -### Fork, Clone, Setup Your Version of the Plotly Python API - -First, you'll need to *get* our project. This is the appropriate *clone* command (if you're unfamiliar with this process, https://help.github.com/articles/fork-a-repo): +```bash +git clone https://github.com/your_github_id/plotly.py.git +``` -**DO THIS (in the directory where you want the repo to live)** +You can then go into that newly-forked repository using: ```bash -git clone https://github.com/your_github_username/plotly.py.git cd plotly.py ``` -Note: if you're just getting started with git, there exist great resources to -learn and become confident about git, like http://try.github.io/. - -### Create a virtual environment for plotly development +### Create a Virtual Environment -You can use either [conda][conda-env] or [virtualenv][virtualenv] to create a virtual environment for plotly development, e.g.: +Next, +you should create a *virtual environment* for the project +so that packages you install won't affect other projects you are working on. +We recommend using [`uv`](https://docs.astral.sh/uv/) for this: ```bash -conda create -n plotly-dev python=3.11 -conda activate plotly-dev +uv venv --python 3.12 +source .venv/bin/activate ``` -As of May 2024 our dependencies have been tested against Python versions 3.8 to 3.11. -We will support Python 3.12 and higher versions soon. +Alternatively, +you can use [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands) +or [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/) +to create and manage your virtual environment; +see those tools' documentation for more information. -[conda-env]: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands -[virtualenv]: http://docs.python-guide.org/en/latest/dev/virtualenvs/ +### Install Packages -### Install development requirements (Non-Windows) -```bash -(plotly_dev) $ pip install -r requires-optional.txt - ``` -### Install development requirements (Windows + Conda) -Because Windows requires Visual Studio libraries to compile some of the optional dependencies, follow these steps to -complete installation and avoid gdal-config errors. +If you are using `uv`, +you can install all of the packages needed for developing and testing plotly.py with this command: ```bash -(plotly_dev) $ conda install fiona -(plotly_dev) $ pip install -r requires-optional.txt +uv pip install -e '.[dev]' ``` -### Editable install of plotly packages -```bash -(plotly_dev) $ pip install -e . -``` - -**Note**: To test `go.FigureWidget` locally, you'll need to generate the javascript bundle as follows: -``` -cd js -npm install && npm run build -``` - -Running `pip install -e` will ensure that the installed packages links to your local development -directory, meaning that all changes you make reflect directly in your -environment (don't forget to restart the Jupyter kernel though!). For more -information see the -[`setuptools`](https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode) -and -[`pip`](https://pip.pypa.io/en/stable/reference/pip_install/#install-editable) -documentation on _development mode_. - -### Updating the `js/` directory -**This is only necessary if you're making changes to files in the `js/` directory.** -If you make changes to any files in the `js/` directory, you must run `npm install && npm run build` from the `js/` directory to rebuild the FigureWidget and JupyterLab extension. -You must then commit the build artifacts produced in `plotly/labextension`. A CI job will verify that this step has been done correctly. - -**Notes on the contents of the `js/` directory:** -The `js/` directory contains Javascript code which helps with using Plotly in Jupyter notebooks. - -There are two kinds of Jupyter support included in the `js/` directory: -1. **Mime Renderer JupyterLab extension**: This is the default renderer for Plotly `Figure()` objects in Jupyter notebooks. The Plotly mime renderer JupyterLab extension is used automatically by JupyterLab / Jupyter Notebook -when it sees the mimetype `application/vnd.plotly.v1+json` in the notebook output. The mime renderer loads `plotly.js` a single time and references it each time a Plotly figure is used in the notebook. This allows us to avoid embedding `plotly.js` in the notebook output. The JupyterLab extension source code is located at `js/src/mimeExtension.ts` and the compiled extension code is located at `plotly/labextension` in the built Python package. The command `jupyter labextension build` (which is one of the steps called by `npm run build`) compiles the extension and places the build artifacts in `plotly/labextension`. -2. **FigureWidget**: This is a more-interactive method for rendering Plotly charts in notebooks. FigureWidget used by creating a `FigureWidget()` object inside the notebook code (in place of a `Figure()`). It allows for communication between the Javascript frontend and Python backend, and requires the installation of an additional Python package (`anywidget`). The FigureWidget source code is located at `js/src/widget.ts`, and is included in the built Python package at `plotly/package_data/widgetbundle.js`. - -### Configure black code formatting - -This repo uses the [Black](https://black.readthedocs.io/en/stable/) code formatter, -and the [pre-commit](https://pre-commit.com/) library to manage a git commit hook to -run Black prior to each commit. Both pre-commit and black are included in the -`requires-optional.txt` file, so you should have them -installed already if you've been following along. - -To enable the Black formatting git hook, run the following from within your virtual -environment. +If you are using `conda` or `virtualenv`, you can install all packages with: ```bash -(plotly_dev) $ pre-commit install +pip install -e '.[dev]' ``` -Now, whenever you perform a commit, the Black formatter will run. If the formatter -makes no changes, then the commit will proceed. But if the formatter does make changes, -then the commit will abort. To proceed, stage the files that the formatter -modified and commit again. +These commands also create an *editable install* of plotly.py +so that you can test your changes iteratively without having to rebuild the plotly.py package explicitly; +for more information please see +[the `pip` documentation on editable installs](https://pip.pypa.io/en/stable/reference/pip_install/#install-editable) +Please note that the single quotes are needed to escape the `[]` characters. -If you don't want to use `pre-commit`, then you can run black manually prior to making -a PR as follows. +### Formatting + +This repo uses [ruff](https://astral.sh/ruff) to format Python code consistently. +(Ruff is included in `pyproject.toml`, +so you should have installed it already if you've been following along.) +You can run ruff prior to making a PR with: ```bash -(plotly_dev) $ black . +ruff check . ``` -### Making a Development Branch +### Making Your Change -Third, *don't* work in the `main` branch. As soon as you get your main branch ready, run: +Do *not* work in the `main` branch directly. +Instead, +create a new branch for your work with the following command +(replacing `your-branch` with a meaningful name): -**DO THIS (but change the branch name)** ```bash -git checkout -b my-dev-branch +git checkout -b your-branch ``` -... where you should give your branch a more descriptive name than `my-dev-branch` - -### Pull Request When Ready - -Once you've made your changes (and hopefully written some tests, see below for more about testing...), -make that pull request! +Once you have made your changes and tested them, +push your changes to your fork of the plotly.py repository on GitHub +and create your pull request. +### Testing -## Update to a new version of Plotly.js -First update the version of the `plotly.js` dependency in `js/package.json`. +We use [pytest](https://docs.pytest.org/) for managing and running tests. +You are strongly encouraged to write or modify tests whenever you add or change functionality; +we are more likely to review and merge PRs with tests than ones without. -Then run the `updateplotlyjs` command with: +If you have installed all the dependencies as explained above, +you can run all the tests with: ```bash -$ python commands.py updateplotlyjs +python -m pytest tests ``` -This will download new versions of `plot-schema.json` and `plotly.min.js` from -the `plotly/plotly.js` GitHub repository (and place them in -`plotly/package_data`). It will then regenerate all of the `graph_objs` -classes based on the new schema. +During development, +you can speed things up by running only the tests in a particular file: -For dev branches, it is also possible to use `updateplotlyjsdev` in two configurations: - -### CircleCI Release - -If your devbranch is part of the official plotly.js repository, you can use ```bash -python commands.py updateplotlyjsdev --devrepo reponame --devbranch branchname +python -m pytest tests/test_plotly/test_plot.py ``` -to update to development versions of `plotly.js`. This will fetch the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`. If `--devrepo` or `--devbranch` are omitted, `updateplotlyjsdev` defaults using `plotly/plotly.js` and `master` respectively. -### Local Repository +See [pytest's documentation](https://docs.pytest.org/) for more details. -If you have a local repository of `plotly.js` you'd like to try, you can run: +## Advanced -```bash -# In your plotly.js/ directory, prepare the package: +### Generating the JavaScript Bundles for Jupyter -$ npm run build -$ npm pack -$ mv plotly.js-*.tgz plotly.js.tgz +To test `go.FigureWidget` locally, you'll need to generate the JavaScript bundle as follows: -# In your plotly.py/ directory: -$ python commands.py updateplotlyjsdev --local /path/to/your/plotly.js/ +``` +cd js +npm install && npm run build ``` -## Testing - -To run tests, we use [`pytest`](https://docs.pytest.org/en/latest/), a powerful framework for unit testing. - -### Running Tests with `pytest` - -Since our tests cover *all* the functionality, to prevent tons of errors from showing up and having to parse through a messy output, you'll need to install `requires-optional.txt` as explained above. - -After you've done that, go ahead and run the test suite! +If you make changes to any files in the `js/` directory, +you must run `npm install && npm run build` in the `js/` directory to rebuild the FigureWidget and JupyterLab extension. +You must then commit the build artifacts produced in `plotly/labextension`. +A CI job will verify that this step has been done correctly. + +### Jupyter + +The `js/` directory contains Javascript code which helps use Plotly in Jupyter notebooks. +Two kinds of Jupyter support are included: + +1. **Mime Renderer JupyterLab extension**: + This is the default renderer for Plotly `Figure()` objects in Jupyter notebooks. + The Plotly mime renderer JupyterLab extension is used automatically by JupyterLab (and Jupyter Notebook) + when it sees the MIME type `application/vnd.plotly.v1+json` in the notebook output. + The MIME renderer loads `plotly.js` a single time and references it each time a Plotly figure is used in the notebook, + which allows us to avoid embedding `plotly.js` in the notebook output. + The JupyterLab extension source code is located at `js/src/mimeExtension.ts` + and the compiled extension code is located at `plotly/labextension` in the built Python package. + The command `jupyter labextension build` (which is one of the steps called by `npm run build`) compiles the extension + and places the build artifacts in `plotly/labextension`. + +2. **FigureWidget**: + This is a more interactive method for rendering Plotly charts in notebooks. + FigureWidget is used by creating a `FigureWidget` object inside the notebook code in place of a `Figure`. + It supports communication between the Javascript frontend and Python backend, + but requires the installation of an additional Python package called `anywidget`. + The FigureWidget source code is located at `js/src/widget.ts`, + and is included in the built Python package at `plotly/package_data/widgetbundle.js`. + +### Updating to a New Version of plotly.js + +First, update the version of the `plotly.js` dependency in `js/package.json`. +Once you have done that, +run the `updateplotlyjs` command: ```bash -pytest tests/ +python commands.py updateplotlyjs ``` -Or for more *verbose* output: +This downloads new versions of `plot-schema.json` and `plotly.min.js` from the `plotly/plotly.js` GitHub repository +and places them in `plotly/package_data`. +It then regenerates all of the `graph_objs` classes based on the new schema. -```bash -pytest -v tests/ -``` +### Using a Development Branch of Plotly.js -Either of those will run *every* test we've written for the Python API. You can get more granular by running something like: +If your development branch is in [the plotly.js repository](https://github.com/plotly/plotly.js) +you can update to development versions of `plotly.js` with this command: ```bash -pytest tests/test_core/ +python commands.py updateplotlyjsdev --devrepo reponame --devbranch branchname ``` -... or even more granular by running something like: +This fetches the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`. +If `--devrepo` or `--devbranch` are omitted, +`updateplotlyjsdev` defaults to `plotly/plotly.js` and `master` respectively. -```bash -pytest tests/test_plotly/test_plot.py -``` +### Local Repository -or for a specific test function +If you have a local repository of `plotly.js` you'd like to try, +you can prepare the package by running the following commands +*in your local plotly.js repository*: ```bash -pytest tests/test_plotly/test_plot.py::test_function +npm run build +npm pack +mv plotly.js-*.tgz plotly.js.tgz ``` -### Writing Tests +You can then run the following command +*in your local plotly.py repository*: -You're *strongly* encouraged to write tests that check your added functionality. - -When you write a new test anywhere under the `tests` directory, if your PR gets accepted, that test will run in a virtual machine to ensure that future changes don't break your contributions! +```bash +python commands.py updateplotlyjsdev --local /path/to/your/plotly.js/ +``` diff --git a/codegen/__init__.py b/codegen/__init__.py index 06bb0745bf8..5dfe6b31cf6 100644 --- a/codegen/__init__.py +++ b/codegen/__init__.py @@ -3,6 +3,7 @@ import os.path as opath import shutil import subprocess +import sys from codegen.datatypes import build_datatype_py, write_datatype_py from codegen.compatibility import ( @@ -27,10 +28,6 @@ get_data_validator_instance, ) -# Target Python version for code formatting with Black. -# Must be one of the values listed in pyproject.toml. -BLACK_TARGET_VERSIONS = "py38 py39 py310 py311 py312" - # Import notes # ------------ @@ -40,7 +37,7 @@ # helpers that are only needed during code generation should reside in the # codegen/ package, and helpers used both during code generation and at # runtime should reside in the _plotly_utils/ package. -# ---------------------------------------------------------------------------- + def preprocess_schema(plotly_schema): """ Central location to make changes to schema before it's seen by the @@ -48,7 +45,6 @@ def preprocess_schema(plotly_schema): """ # Update template - # --------------- layout = plotly_schema["layout"]["layoutAttributes"] # Create codegen-friendly template scheme @@ -90,33 +86,41 @@ def preprocess_schema(plotly_schema): items["colorscale"] = items.pop("concentrationscales") -def perform_codegen(reformat=True): - # Set root codegen output directory - # --------------------------------- - # (relative to project root) - abs_file_path = opath.realpath(__file__) - project_root = opath.dirname(opath.dirname(abs_file_path)) - outdir = opath.join(project_root, "plotly") +def make_paths(outdir): + """Make various paths needed for formatting and linting.""" + + validators_dir = opath.join(outdir, "validators") + graph_objs_dir = opath.join(outdir, "graph_objs") + graph_objects_path = opath.join(outdir, "graph_objects", "__init__.py") + return validators_dir, graph_objs_dir, graph_objects_path + + +def lint_code(outdir): + """Check Python code using settings in pyproject.toml.""" + + subprocess.call(["ruff", "check", *make_paths(outdir)]) + + +def reformat_code(outdir): + """Reformat Python code using settings in pyproject.toml.""" + + subprocess.call(["ruff", "format", *make_paths(outdir)]) + + +def perform_codegen(outdir, noformat=False): + """Generate code (and possibly reformat).""" + + # Get paths + validators_dir, graph_objs_dir, graph_objects_path = make_paths(outdir) # Delete prior codegen output - # --------------------------- - validators_pkgdir = opath.join(outdir, "validators") - if opath.exists(validators_pkgdir): - shutil.rmtree(validators_pkgdir) - - graph_objs_pkgdir = opath.join(outdir, "graph_objs") - if opath.exists(graph_objs_pkgdir): - shutil.rmtree(graph_objs_pkgdir) - - # plotly/datatypes is not used anymore, but was at one point so we'll - # still delete it if we find it in case a developer is upgrading from an - # older version - datatypes_pkgdir = opath.join(outdir, "datatypes") - if opath.exists(datatypes_pkgdir): - shutil.rmtree(datatypes_pkgdir) + if opath.exists(validators_dir): + shutil.rmtree(validators_dir) + if opath.exists(graph_objs_dir): + shutil.rmtree(graph_objs_dir) # Load plotly schema - # ------------------ + project_root = opath.dirname(outdir) plot_schema_path = opath.join( project_root, "codegen", "resources", "plot-schema.json" ) @@ -125,19 +129,18 @@ def perform_codegen(reformat=True): plotly_schema = json.load(f) # Preprocess Schema - # ----------------- preprocess_schema(plotly_schema) # Build node lists - # ---------------- - # ### TraceNode ### + + # TraceNode base_traces_node = TraceNode(plotly_schema) compound_trace_nodes = PlotlyNode.get_all_compound_datatype_nodes( plotly_schema, TraceNode ) all_trace_nodes = PlotlyNode.get_all_datatype_nodes(plotly_schema, TraceNode) - # ### LayoutNode ### + # LayoutNode compound_layout_nodes = PlotlyNode.get_all_compound_datatype_nodes( plotly_schema, LayoutNode ) @@ -156,14 +159,14 @@ def perform_codegen(reformat=True): if node.is_array_element and node.has_child("xref") and node.has_child("yref") ] - # ### FrameNode ### + # FrameNode compound_frame_nodes = PlotlyNode.get_all_compound_datatype_nodes( plotly_schema, FrameNode ) frame_node = compound_frame_nodes[0] all_frame_nodes = PlotlyNode.get_all_datatype_nodes(plotly_schema, FrameNode) - # ### All nodes ### + # All nodes all_datatype_nodes = all_trace_nodes + all_layout_nodes + all_frame_nodes all_compound_nodes = [ @@ -172,43 +175,40 @@ def perform_codegen(reformat=True): if node.is_compound and not isinstance(node, ElementDefaultsNode) ] - validator_params = {} # Write out validators - # -------------------- - # # ### Layout ### + validator_params = {} + + # Layout for node in all_layout_nodes: get_validator_params(node, validator_params) - # ### Trace ### + # Trace for node in all_trace_nodes: get_validator_params(node, validator_params) - # ### Frames ### + # Frames for node in all_frame_nodes: get_validator_params(node, validator_params) - # ### Data (traces) validator ### + # Data (traces) validator get_data_validator_params(base_traces_node, validator_params) # Write out the JSON data for the validators - os.makedirs(validators_pkgdir, exist_ok=True) + os.makedirs(validators_dir, exist_ok=True) write_validator_json(outdir, validator_params) # Alls - # ---- alls = {} # Write out datatypes - # ------------------- for node in all_compound_nodes: write_datatype_py(outdir, node) - # ### Deprecated ### + # Deprecated # These are deprecated legacy datatypes like graph_objs.Marker write_deprecated_datatypes(outdir) # Write figure class to graph_objs - # -------------------------------- data_validator = get_data_validator_instance(base_traces_node) layout_validator = layout_node.get_validator_instance() frame_validator = frame_node.get_validator_instance() @@ -224,7 +224,6 @@ def perform_codegen(reformat=True): ) # Write datatype __init__.py files - # -------------------------------- datatype_rel_class_imports = {} datatype_rel_module_imports = {} @@ -242,16 +241,16 @@ def perform_codegen(reformat=True): f".{node.name_undercase}" ) - # ### Write plotly/graph_objs/graph_objs.py ### - # This if for backward compatibility. It just imports everything from + # Write plotly/graph_objs/graph_objs.py + # This is for backward compatibility. It just imports everything from # graph_objs/__init__.py write_graph_objs_graph_objs(outdir) - # ### Add Figure and FigureWidget ### + # Add Figure and FigureWidget root_datatype_imports = datatype_rel_class_imports[()] root_datatype_imports.append("._figure.Figure") - # ### Add deprecations ### + # Add deprecations for dep_clas in DEPRECATED_DATATYPES: root_datatype_imports.append(f"._deprecations.{dep_clas}") @@ -287,14 +286,14 @@ def __getattr__(import_name): return orig_getattr(import_name) """ - # ### __all__ ### + # __all__ for path_parts, class_names in alls.items(): if path_parts and class_names: filepath = opath.join(outdir, "graph_objs", *path_parts, "__init__.py") with open(filepath, "at") as f: f.write(f"\n__all__ = {class_names}") - # ### Output datatype __init__.py files ### + # Output datatype __init__.py files graph_objs_pkg = opath.join(outdir, "graph_objs") for path_parts in datatype_rel_class_imports: rel_classes = sorted(datatype_rel_class_imports[path_parts]) @@ -305,7 +304,7 @@ def __getattr__(import_name): init_extra = "" write_init_py(graph_objs_pkg, path_parts, rel_modules, rel_classes, init_extra) - # ### Output graph_objects.py alias + # Output graph_objects.py alias graph_objects_rel_classes = [ "..graph_objs." + rel_path.split(".")[-1] for rel_path in datatype_rel_class_imports[()] @@ -325,17 +324,15 @@ def __getattr__(import_name): with open(graph_objects_path, "wt") as f: f.write(graph_objects_init_source) - # ### Run black code formatter on output directories ### - if reformat: - target_version = [ - f"--target-version={v}" for v in BLACK_TARGET_VERSIONS.split() - ] - subprocess.call(["black", *target_version, validators_pkgdir]) - subprocess.call(["black", *target_version, graph_objs_pkgdir]) - subprocess.call(["black", *target_version, graph_objects_path]) - else: + # Run black code formatter on output directories + if noformat: print("skipping reformatting") + else: + reformat_code(outdir) if __name__ == "__main__": - perform_codegen() + if len(sys.argv) != 2: + print("Usage: codegen [dirname]", file=sys.stderr) + sys.exit(1) + perform_codegen(sys.argv[1]) diff --git a/codegen/compatibility.py b/codegen/compatibility.py index d806afa09f2..a8bacedc204 100644 --- a/codegen/compatibility.py +++ b/codegen/compatibility.py @@ -51,21 +51,14 @@ def build_deprecated_datatypes_py(): str """ - # Initialize source code buffer - # ----------------------------- buffer = StringIO() - - # Write warnings import - # --------------------- buffer.write("import warnings\n") - # Write warnings filter - # --------------------- # Use filter to enable DeprecationWarnings on our deprecated classes buffer.write( r""" -warnings.filterwarnings('default', - r'plotly\.graph_objs\.\w+ is deprecated', +warnings.filterwarnings("default", + r"plotly\.graph_objs\.\w+ is deprecated", DeprecationWarning) @@ -73,7 +66,6 @@ def build_deprecated_datatypes_py(): ) # Write deprecated class definitions - # ---------------------------------- for class_name, opts in DEPRECATED_DATATYPES.items(): base_class_name = opts["base_type"].__name__ depr_msg = build_deprecation_message(class_name, **opts) @@ -93,7 +85,6 @@ def __init__(self, *args, **kwargs): ) # Return source string - # -------------------- return buffer.getvalue() @@ -175,12 +166,10 @@ def write_deprecated_datatypes(outdir): None """ # Generate source code - # -------------------- datatype_source = build_deprecated_datatypes_py() filepath = opath.join(outdir, "graph_objs", "_deprecations.py") # Write file - # ---------- write_source_py(datatype_source, filepath) diff --git a/codegen/datatypes.py b/codegen/datatypes.py index e313c1563f3..1f52f1d66ec 100644 --- a/codegen/datatypes.py +++ b/codegen/datatypes.py @@ -112,7 +112,7 @@ def build_datatype_py(node): class {datatype_class}(_{node.name_base_datatype}):\n""" ) - ### Layout subplot properties + # Layout subplot properties if datatype_class == "Layout": subplot_nodes = [ node @@ -167,13 +167,13 @@ def _subplot_re_match(self, prop): # class properties buffer.write( f""" - _parent_path_str = '{node.parent_path_str}' - _path_str = '{node.path_str}' + _parent_path_str = "{node.parent_path_str}" + _path_str = "{node.path_str}" _valid_props = {{"{'", "'.join(valid_props_list)}"}} """ ) - ### Property definitions + # Property definitions for subtype_node in subtype_nodes: if subtype_node.is_array_element: prop_type = ( @@ -194,7 +194,7 @@ def _subplot_re_match(self, prop): else: prop_type = get_typing_type(subtype_node.datatype, subtype_node.is_array_ok) - #### Get property description #### + # Get property description raw_description = subtype_node.description property_description = "\n".join( textwrap.wrap( @@ -205,12 +205,12 @@ def _subplot_re_match(self, prop): ) ) - # #### Get validator description #### + # Get validator description validator = subtype_node.get_validator_instance() if validator: validator_description = reindent_validator_description(validator, 4) - #### Combine to form property docstring #### + # Combine to form property docstring if property_description.strip(): property_docstring = f"""{property_description} @@ -220,42 +220,42 @@ def _subplot_re_match(self, prop): else: property_docstring = property_description - #### Write get property #### + # Write get property buffer.write( - f"""\ + f'''\ @property def {subtype_node.name_property}(self): - \"\"\" + """ {property_docstring} Returns ------- {prop_type} - \"\"\" - return self['{subtype_node.name_property}']""" + """ + return self["{subtype_node.name_property}"]''' ) - #### Write set property #### + # Write set property buffer.write( f""" @{subtype_node.name_property}.setter def {subtype_node.name_property}(self, val): - self['{subtype_node.name_property}'] = val\n""" + self["{subtype_node.name_property}"] = val\n""" ) - ### Literals + # Literals for literal_node in literal_nodes: buffer.write( f"""\ @property def {literal_node.name_property}(self): - return self._props['{literal_node.name_property}']\n""" + return self._props["{literal_node.name_property}"]\n""" ) - ### Private properties descriptions + # Private properties descriptions valid_props = {node.name_property for node in subtype_nodes} buffer.write( f""" @@ -280,7 +280,7 @@ def _prop_descriptions(self): _mapped_properties = {repr(mapped_properties)}""" ) - ### Constructor + # Constructor buffer.write( f""" def __init__(self""" @@ -288,7 +288,7 @@ def __init__(self""" add_constructor_params(buffer, subtype_nodes, prepend_extras=["arg"]) - ### Constructor Docstring + # Constructor Docstring header = f"Construct a new {datatype_class} object" class_name = ( f"plotly.graph_objs" f"{node.parent_dotpath_str}." f"{node.name_datatype_class}" @@ -312,9 +312,9 @@ def __init__(self""" buffer.write( f""" - super().__init__('{node.name_property}') - if '_parent' in kwargs: - self._parent = kwargs['_parent'] + super().__init__("{node.name_property}") + if "_parent" in kwargs: + self._parent = kwargs["_parent"] return """ ) @@ -343,8 +343,8 @@ def __init__(self""" constructor must be a dict or an instance of :class:`{class_name}`\"\"\") - self._skip_invalid = kwargs.pop('skip_invalid', False) - self._validate = kwargs.pop('_validate', True) + self._skip_invalid = kwargs.pop("skip_invalid", False) + self._validate = kwargs.pop("_validate", True) """ ) @@ -360,15 +360,15 @@ def __init__(self""" # we suppress deprecation warnings for this line only. with warnings.catch_warnings(): warnings.filterwarnings("ignore", category=DeprecationWarning) - self._set_property('{name_prop}', arg, {name_prop})""" + self._set_property("{name_prop}", arg, {name_prop})""" ) else: buffer.write( f""" - self._set_property('{name_prop}', arg, {name_prop})""" + self._set_property("{name_prop}", arg, {name_prop})""" ) - ### Literals + # Literals if literal_nodes: buffer.write("\n\n") for literal_node in literal_nodes: @@ -376,8 +376,8 @@ def __init__(self""" lit_val = repr(literal_node.node_data) buffer.write( f""" - self._props['{lit_name}'] = {lit_val} - arg.pop('{lit_name}', None)""" + self._props["{lit_name}"] = {lit_val} + arg.pop("{lit_name}", None)""" ) buffer.write( @@ -475,7 +475,7 @@ def add_constructor_params( )""" ) if output_type: - buffer.write(f"-> '{output_type}'") + buffer.write(f'-> "{output_type}"') buffer.write(":") @@ -552,8 +552,7 @@ def add_docstring( # Write any append extras for p, v in append_extras: if "\n" in v: - # If v contains newlines then assume it's already wrapped as - # desired + # If v contains newlines assume it's already wrapped v_wrapped = v else: v_wrapped = "\n".join( diff --git a/codegen/figure.py b/codegen/figure.py index c412104af0c..907fbeaa8ff 100644 --- a/codegen/figure.py +++ b/codegen/figure.py @@ -53,28 +53,23 @@ def build_figure_py( """ # Initialize source code buffer - # ----------------------------- buffer = StringIO() buffer.write(CAVEAT) # Get list of trace type nodes - # ---------------------------- trace_nodes = trace_node.child_compound_datatypes - # Write imports - # ------------- - # ### Import base class ### + # Import base class buffer.write(f"from plotly.{base_package} import {base_classname}\n") # Write class definition - # ---------------------- buffer.write( f""" class {fig_classname}({base_classname}):\n""" ) - # ### Constructor ### + # Constructor # Build constructor description strings data_description = reindent_validator_description(data_validator, 8) layout_description = reindent_validator_description(layout_validator, 8) @@ -115,13 +110,13 @@ def __init__(self, data=None, layout=None, def add_wrapper(wrapped_name, full_params, param_list): buffer.write( - f""" + f''' def {wrapped_name}(self, {full_params}) -> "{fig_classname}": - ''' + """ {getattr(BaseFigure, wrapped_name).__doc__} - ''' + """ return super().{wrapped_name}({param_list}) - """ + ''' ) add_wrapper( @@ -189,20 +184,20 @@ def {wrapped_name}(self, {full_params}) -> "{fig_classname}": "rows, cols, **make_subplots_args", ) - # ### add_trace methods for each trace type ### + # add_trace methods for each trace type for trace_node in trace_nodes: include_secondary_y = bool( [d for d in trace_node.child_datatypes if d.name_property == "yaxis"] ) - # #### Function signature #### + # Function signature buffer.write( f""" def add_{trace_node.plotly_name}(self""" ) - # #### Function params#### + # Function params param_extras = ["row", "col"] if include_secondary_y: param_extras.append("secondary_y") @@ -213,7 +208,7 @@ def add_{trace_node.plotly_name}(self""" output_type=fig_classname, ) - # #### Docstring #### + # Docstring header = f"Add a new {trace_node.name_datatype_class} trace" doc_extras = [ @@ -259,7 +254,7 @@ def add_{trace_node.plotly_name}(self""" return_type=fig_classname, ) - # #### Function body #### + # Function body buffer.write( f""" from plotly.graph_objs import {trace_node.name_datatype_class} @@ -291,7 +286,6 @@ def add_{trace_node.plotly_name}(self""" ) # update layout subplots - # ---------------------- inflect_eng = inflect.engine() for subplot_node in subplot_nodes: singular_name = subplot_node.name_property @@ -319,11 +313,11 @@ def add_{trace_node.plotly_name}(self""" secondary_y_docstring = "" buffer.write( - f""" + f''' def select_{plural_name}( self, selector=None, row=None, col=None{secondary_y_1}): - \"\"\" + """ Select {singular_name} subplot objects from a particular subplot cell and/or {singular_name} subplot objects that satisfy custom selection criteria. @@ -351,14 +345,14 @@ def select_{plural_name}( generator Generator that iterates through all of the {singular_name} objects that satisfy all of the specified selection criteria - \"\"\" + """ return self._select_layout_subplots_by_prefix( - '{singular_name}', selector, row, col{secondary_y_2}) + "{singular_name}", selector, row, col{secondary_y_2}) def for_each_{singular_name}( - self, fn, selector=None, row=None, col=None{secondary_y_1}) -> '{fig_classname}': - \"\"\" + self, fn, selector=None, row=None, col=None{secondary_y_1}) -> "{fig_classname}": + """ Apply a function to all {singular_name} objects that satisfy the specified selection criteria @@ -386,7 +380,7 @@ def for_each_{singular_name}( ------- self Returns the {fig_classname} object that the method was called on - \"\"\" + """ for obj in self.select_{plural_name}( selector=selector, row=row, col=col{secondary_y_2}): fn(obj) @@ -399,8 +393,8 @@ def update_{plural_name}( selector=None, overwrite=False, row=None, col=None{secondary_y_1}, - **kwargs) -> '{fig_classname}': - \"\"\" + **kwargs) -> "{fig_classname}": + """ Perform a property update operation on all {singular_name} objects that satisfy the specified selection criteria @@ -438,16 +432,15 @@ def update_{plural_name}( ------- self Returns the {fig_classname} object that the method was called on - \"\"\" + """ for obj in self.select_{plural_name}( selector=selector, row=row, col=col{secondary_y_2}): obj.update(patch, overwrite=overwrite, **kwargs) - return self""" + return self''' ) # update annotations/shapes/images - # -------------------------------- for node in layout_array_nodes: singular_name = node.plotly_name plural_name = node.name_property @@ -459,11 +452,11 @@ def update_{plural_name}( method_prefix = "" buffer.write( - f""" + f''' def select_{method_prefix}{plural_name}( self, selector=None, row=None, col=None, secondary_y=None ): - \"\"\" + """ Select {plural_name} from a particular subplot cell and/or {plural_name} that satisfy custom selection criteria. @@ -503,7 +496,7 @@ def select_{method_prefix}{plural_name}( generator Generator that iterates through all of the {plural_name} that satisfy all of the specified selection criteria - \"\"\" + """ return self._select_annotations_like( "{plural_name}", selector=selector, row=row, col=col, secondary_y=secondary_y ) @@ -511,7 +504,7 @@ def select_{method_prefix}{plural_name}( def for_each_{method_prefix}{singular_name}( self, fn, selector=None, row=None, col=None, secondary_y=None ): - \"\"\" + """ Apply a function to all {plural_name} that satisfy the specified selection criteria @@ -552,9 +545,9 @@ def for_each_{method_prefix}{singular_name}( ------- self Returns the {fig_classname} object that the method was called on - \"\"\" + """ for obj in self._select_annotations_like( - prop='{plural_name}', + prop="{plural_name}", selector=selector, row=row, col=col, @@ -572,8 +565,8 @@ def update_{method_prefix}{plural_name}( col=None, secondary_y=None, **kwargs - ) -> '{fig_classname}': - \"\"\" + ) -> "{fig_classname}": + """ Perform a property update operation on all {plural_name} that satisfy the specified selection criteria @@ -620,9 +613,9 @@ def update_{method_prefix}{plural_name}( ------- self Returns the {fig_classname} object that the method was called on - \"\"\" + """ for obj in self._select_annotations_like( - prop='{plural_name}', + prop="{plural_name}", selector=selector, row=row, col=col, @@ -631,7 +624,7 @@ def update_{method_prefix}{plural_name}( obj.update(patch, **kwargs) return self -""" +''' ) # Add layout array items buffer.write( @@ -677,7 +670,7 @@ def add_{method_prefix}{singular_name}(self""" return_type=fig_classname, ) - # #### Function body #### + # Function body buffer.write( f""" from plotly.graph_objs import layout as _layout @@ -697,8 +690,8 @@ def add_{method_prefix}{singular_name}(self""" buffer.write( f""" return self._add_annotation_like( - '{singular_name}', - '{plural_name}', + "{singular_name}", + "{plural_name}", new_obj, row=row, col=col, @@ -708,7 +701,6 @@ def add_{method_prefix}{singular_name}(self""" ) # Return source string - # -------------------- buffer.write("\n") return buffer.getvalue() @@ -750,15 +742,13 @@ def write_figure_classes( """ # Validate inputs - # --------------- if trace_node.node_path: raise ValueError( f"Expected root trace node.\n" - f'Received node with path "{trace_node.path_str}"' + f"Received node with path '{trace_node.path_str}'" ) # Loop over figure types - # ---------------------- base_figures = [ ("basewidget", "BaseFigureWidget", "FigureWidget"), ("basedatatypes", "BaseFigure", "Figure"), @@ -766,7 +756,7 @@ def write_figure_classes( for base_package, base_classname, fig_classname in base_figures: - # ### Build figure source code string ### + # Build figure source code string figure_source = build_figure_py( trace_node, base_package, @@ -779,6 +769,6 @@ def write_figure_classes( layout_array_nodes, ) - # ### Format and write to file### + # Format and write to file filepath = opath.join(outdir, "graph_objs", f"_{fig_classname.lower()}.py") write_source_py(figure_source, filepath) diff --git a/codegen/utils.py b/codegen/utils.py index 8557c22ff97..e2eb51ebfdb 100644 --- a/codegen/utils.py +++ b/codegen/utils.py @@ -36,14 +36,12 @@ def write_source_py(py_source, filepath, leading_newlines=0): """ if py_source: # Make dir if needed - # ------------------ filedir = opath.dirname(filepath) # The exist_ok kwarg is only supported with Python 3, but that's ok since # codegen is only supported with Python 3 anyway os.makedirs(filedir, exist_ok=True) # Write file - # ---------- py_source = "\n" * leading_newlines + py_source with open(filepath, "at") as f: f.write(py_source) @@ -121,11 +119,9 @@ def write_init_py(pkg_root, path_parts, rel_modules=(), rel_classes=(), init_ext None """ # Generate source code - # -------------------- init_source = build_from_imports_py(rel_modules, rel_classes, init_extra) # Write file - # ---------- filepath = opath.join(pkg_root, *path_parts, "__init__.py") write_source_py(init_source, filepath) @@ -159,7 +155,7 @@ def format_description(desc): ] for s in other_strings: - desc = desc.replace("*%s*" % s, '"%s"' % s) + desc = desc.replace(f"*{s}*", f'"{s}"') # Replace {array} with list desc = desc.replace("an {array}", "a list") @@ -221,7 +217,6 @@ class PlotlyNode: """ # Constructor - # ----------- def __init__(self, plotly_schema, node_path=(), parent=None): """ Superclass constructor for all node types @@ -237,17 +232,15 @@ def __init__(self, plotly_schema, node_path=(), parent=None): Reference to the node's parent """ # Save params - # ----------- self.plotly_schema = plotly_schema self._parent = parent - # ### Process node path ### + # Process node path if isinstance(node_path, str): node_path = (node_path,) self.node_path = node_path # Compute children - # ---------------- # Note the node_data is a property that must be computed by the # subclass based on plotly_schema and node_path if isinstance(self.node_data, dict_like): @@ -271,12 +264,10 @@ def __init__(self, plotly_schema, node_path=(), parent=None): self._children = [] # Magic methods - # ------------- def __repr__(self): return self.path_str # Abstract methods - # ---------------- @property def node_data(self): """ @@ -312,7 +303,6 @@ def name_base_datatype(self): raise NotImplementedError # Names - # ----- @property def root_name(self): """ @@ -368,11 +358,9 @@ def name_undercase(self): return self.plotly_name # Lowercase leading char - # ---------------------- name1 = self.plotly_name[0].lower() + self.plotly_name[1:] # Replace capital chars by underscore-lower - # ----------------------------------------- name2 = "".join([("" if not c.isupper() else "_") + c.lower() for c in name1]) return name2 @@ -439,7 +427,6 @@ def name_base_validator(self) -> str: return validator_base # Validators - # ---------- def get_validator_params(self): """ Get kwargs to pass to the constructor of this node's validator @@ -528,7 +515,6 @@ def get_validator_instance(self): return validator_class(**params) # Datatypes - # --------- @property def datatype(self) -> str: """ @@ -656,7 +642,6 @@ def is_mapped(self) -> bool: return False # Node path - # --------- def tidy_path_part(self, p): """ Return a tidy version of raw path entry. This allows subclasses to @@ -697,7 +682,6 @@ def path_parts(self): return tuple(res) # Node path strings - # ----------------- @property def path_str(self): """ @@ -762,7 +746,6 @@ def parent_dotpath_str(self): return path_str # Children - # -------- @property def parent(self): """ @@ -974,7 +957,6 @@ def get_constructor_params_docstring(self, indent=12): return buffer.getvalue() # Static helpers - # -------------- @staticmethod def get_all_compound_datatype_nodes(plotly_schema, node_class): """ @@ -1048,7 +1030,6 @@ class TraceNode(PlotlyNode): """ # Constructor - # ----------- def __init__(self, plotly_schema, node_path=(), parent=None): super().__init__(plotly_schema, node_path, parent) @@ -1064,7 +1045,6 @@ def root_name(self): return "" # Raw data - # -------- @property def node_data(self) -> dict: if not self.node_path: @@ -1078,7 +1058,6 @@ def node_data(self) -> dict: return node_data # Description - # ----------- @property def description(self) -> str: if len(self.node_path) == 0: @@ -1105,7 +1084,6 @@ class LayoutNode(PlotlyNode): """ # Constructor - # ----------- def __init__(self, plotly_schema, node_path=(), parent=None): # Get main layout properties layout = plotly_schema["layout"]["layoutAttributes"] @@ -1147,7 +1125,6 @@ def plotly_name(self) -> str: return self.node_path[-1] # Description - # ----------- @property def description(self) -> str: desc = self.node_data.get("description", "") @@ -1156,7 +1133,6 @@ def description(self) -> str: return format_description(desc) # Raw data - # -------- @property def node_data(self) -> dict: node_data = self.layout_data @@ -1172,7 +1148,6 @@ class FrameNode(PlotlyNode): """ # Constructor - # ----------- def __init__(self, plotly_schema, node_path=(), parent=None): super().__init__(plotly_schema, node_path, parent) @@ -1189,7 +1164,7 @@ def plotly_name(self) -> str: if len(self.node_path) < 2: return self.root_name elif len(self.node_path) == 2: - return "frame" # override 'frames_entry' + return "frame" # override frames_entry else: return self.node_path[-1] @@ -1197,7 +1172,6 @@ def tidy_path_part(self, p): return "frame" if p == "frames_entry" else p # Description - # ----------- @property def description(self) -> str: desc = self.node_data.get("description", "") @@ -1206,7 +1180,6 @@ def description(self) -> str: return format_description(desc) # Raw data - # -------- @property def node_data(self) -> dict: node_data = self.plotly_schema["frames"] diff --git a/codegen/validators.py b/codegen/validators.py index 7eafa0f0749..0a143c59e9a 100644 --- a/codegen/validators.py +++ b/codegen/validators.py @@ -76,12 +76,10 @@ def write_validator_json(outdir, params: dict): import json # Validate inputs - # --------------- if not isinstance(params, dict): raise ValueError("Expected params to be a dictionary") # Write file - # ---------- filepath = opath.join(outdir, "validators", "_validators.json") with open(filepath, "w") as f: f.write(json.dumps(params, indent=4)) @@ -101,7 +99,6 @@ def build_data_validator_params(base_trace_node: TraceNode): Mapping from property name to repr-string of property value. """ # Get list of trace nodes - # ----------------------- tracetype_nodes = base_trace_node.child_compound_datatypes class_strs_map = dict( [(node.name_property, node.name_datatype_class) for node in tracetype_nodes] @@ -129,11 +126,9 @@ def get_data_validator_instance(base_trace_node: TraceNode): """ # Build constructor params - # ------------------------ # We need to eval the values to convert out of the repr-form of the # params. e.g. '3' -> 3 params = build_data_validator_params(base_trace_node) # Build and return BaseDataValidator instance - # ------------------------------------------- return _plotly_utils.basevalidators.BaseDataValidator(**params) diff --git a/commands.py b/commands.py index 3d9977bdd94..51c9b670ded 100644 --- a/commands.py +++ b/commands.py @@ -1,17 +1,24 @@ -from distutils import log +"""Utility command runner.""" + +import argparse +import logging import json import os import platform +import requests import shutil from subprocess import check_call import sys import time -USAGE = "usage: python commands.py [updateplotlyjsdev | updateplotlyjs | codegen]" +from codegen import perform_codegen, lint_code, reformat_code + + +LOGGER = logging.getLogger(__name__) PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) NODE_ROOT = os.path.join(PROJECT_ROOT, "js") NODE_MODULES = os.path.join(NODE_ROOT, "node_modules") -TARGETS = [ +WIDGET_TARGETS = [ os.path.join(PROJECT_ROOT, "plotly", "package_data", "widgetbundle.js"), ] @@ -23,8 +30,9 @@ ) -# Load plotly.js version from js/package.json def plotly_js_version(): + """Load plotly.js version from js/package.json.""" + path = os.path.join(PROJECT_ROOT, "js", "package.json") with open(path, "rt") as f: package_json = json.load(f) @@ -34,8 +42,9 @@ def plotly_js_version(): return version -# install package.json dependencies using npm def install_js_deps(local): + """Install package.json dependencies using npm.""" + npmName = "npm" if platform.system() == "Windows": npmName = "npm.cmd" @@ -48,11 +57,11 @@ def install_js_deps(local): skip_npm = os.environ.get("SKIP_NPM", False) if skip_npm: - log.info("Skipping npm-installation") + LOGGER.info("Skipping npm-installation") return if not has_npm: - log.error( + LOGGER.error( "`npm` unavailable. If you're running this command using sudo, make sure `npm` is available to sudo" ) @@ -60,7 +69,7 @@ def install_js_deps(local): env["PATH"] = NPM_PATH if has_npm: - log.info("Installing build dependencies with npm. This may take a while...") + LOGGER.info("Installing build dependencies with npm. This may take a while...") check_call( [npmName, "install"], cwd=NODE_ROOT, @@ -83,29 +92,21 @@ def install_js_deps(local): ) os.utime(NODE_MODULES, None) - for t in TARGETS: - if not os.path.exists(t): - msg = "Missing file: %s" % t + for target in WIDGET_TARGETS: + if not os.path.exists(target): + msg = "Missing file: %s" % target raise ValueError(msg) -# Generate class hierarchy from Plotly JSON schema -def run_codegen(): - if sys.version_info < (3, 8): - raise ImportError("Code generation must be executed with Python >= 3.8") - - from codegen import perform_codegen - - perform_codegen() - - def overwrite_schema_local(uri): + """Replace plot-schema.json with local copy.""" + path = os.path.join(PROJECT_ROOT, "codegen", "resources", "plot-schema.json") shutil.copyfile(uri, path) def overwrite_schema(url): - import requests + """Replace plot-schema.json with web copy.""" req = requests.get(url) assert req.status_code == 200 @@ -115,12 +116,14 @@ def overwrite_schema(url): def overwrite_bundle_local(uri): + """Replace minified JavaScript bundle.json with local copy.""" + path = os.path.join(PROJECT_ROOT, "plotly", "package_data", "plotly.min.js") shutil.copyfile(uri, path) def overwrite_bundle(url): - import requests + """Replace minified JavaScript bundle.json with web copy.""" req = requests.get(url) print("url:", url) @@ -131,6 +134,8 @@ def overwrite_bundle(url): def overwrite_plotlyjs_version_file(plotlyjs_version): + """Replace plotly.js version file.""" + path = os.path.join(PROJECT_ROOT, "plotly", "offline", "_plotlyjs_version.py") with open(path, "w") as f: f.write( @@ -138,20 +143,20 @@ def overwrite_plotlyjs_version_file(plotlyjs_version): # DO NOT EDIT # This file is generated by the updatebundle commands.py command __plotlyjs_version__ = "{plotlyjs_version}" -""".format( - plotlyjs_version=plotlyjs_version - ) +""".format(plotlyjs_version=plotlyjs_version) ) def request_json(url): - import requests + """Get JSON data from a URL.""" req = requests.get(url) return json.loads(req.content.decode("utf-8")) def get_latest_publish_build_info(repo, branch): + """Get build info from Circle CI.""" + url = ( r"https://circleci.com/api/v1.1/project/github/" r"{repo}/tree/{branch}?limit=100&filter=completed" @@ -173,6 +178,8 @@ def get_latest_publish_build_info(repo, branch): def get_bundle_schema_local(local): + """Get paths to local build files.""" + plotly_archive = os.path.join(local, "plotly.js.tgz") plotly_bundle = os.path.join(local, "dist/plotly.min.js") plotly_schemas = os.path.join(local, "dist/plot-schema.json") @@ -180,6 +187,8 @@ def get_bundle_schema_local(local): def get_bundle_schema_urls(build_num): + """Get URLs for required files.""" + url = ( "https://circleci.com/api/v1.1/project/github/" "plotly/plotly.js/{build_num}/artifacts" @@ -202,8 +211,9 @@ def get_bundle_schema_urls(build_num): return archive["url"], bundle["url"], schema["url"] -# Download latest version of the plot-schema JSON file def update_schema(plotly_js_version): + """Download latest version of the plot-schema JSON file.""" + url = ( "https://raw.githubusercontent.com/plotly/plotly.js/" "v%s/dist/plot-schema.json" % plotly_js_version @@ -211,8 +221,9 @@ def update_schema(plotly_js_version): overwrite_schema(url) -# Download latest version of the plotly.js bundle def update_bundle(plotly_js_version): + """Download latest version of the plotly.js bundle.""" + url = ( "https://raw.githubusercontent.com/plotly/plotly.js/" "v%s/dist/plotly.min.js" % plotly_js_version @@ -224,15 +235,17 @@ def update_bundle(plotly_js_version): overwrite_plotlyjs_version_file(plotlyjs_version) -# Update project to a new version of plotly.js -def update_plotlyjs(plotly_js_version): +def update_plotlyjs(plotly_js_version, outdir): + """Update project to a new version of plotly.js.""" + update_bundle(plotly_js_version) update_schema(plotly_js_version) - run_codegen() + perform_codegen(outdir) -# Update the plotly.js schema and bundle from master +# FIXME: switch to argparse def update_schema_bundle_from_master(): + """Update the plotly.js schema and bundle from master.""" if "--devrepo" in sys.argv: devrepo = sys.argv[sys.argv.index("--devrepo") + 1] @@ -293,23 +306,65 @@ def update_schema_bundle_from_master(): install_js_deps(local) -# Update project to a new development version of plotly.js -def update_plotlyjs_dev(): +def update_plotlyjs_dev(outdir): + """Update project to a new development version of plotly.js.""" + update_schema_bundle_from_master() - run_codegen() + perform_codegen(outdir) + + +def parse_args(): + """Parse command-line arguments.""" + + parser = argparse.ArgumentParser() + subparsers = parser.add_subparsers(dest="cmd", help="Available subcommands") + + p_codegen = subparsers.add_parser("codegen", help="generate code") + p_codegen.add_argument( + "--noformat", action="store_true", help="prevent reformatting" + ) + + p_lint = subparsers.add_parser("lint", help="lint code") + + p_format = subparsers.add_parser("format", help="reformat code") + + p_updateplotlyjsdev = subparsers.add_parser( + "updateplotlyjsdev", help="update plotly.js for development" + ) + + p_updateplotlyjs = subparsers.add_parser("updateplotlyjs", help="update plotly.js") + + return parser.parse_args() def main(): - if len(sys.argv) != 2: - print(USAGE, file=sys.stderr) + """Main driver.""" + + project_root = os.path.dirname(os.path.realpath(__file__)) + outdir = os.path.join(project_root, "plotly") + + args = parse_args() + + if args.cmd == "codegen": + perform_codegen(outdir, noformat=args.noformat) + + elif args.cmd == "format": + reformat_code(outdir) + + elif args.cmd == "lint": + lint_code(outdir) + + elif args.cmd == "updateplotlyjsdev": + update_plotlyjs_dev(outdir) + + elif args.cmd == "updateplotlyjs": + version = plotly_js_version() + print(version) + update_plotlyjs(version, outdir) + + else: + print(f"unknown command {args.cmd}", file=sys.stderr) sys.exit(1) - elif sys.argv[1] == "codegen": - run_codegen() - elif sys.argv[1] == "updateplotlyjsdev": - update_plotlyjs_dev() - elif sys.argv[1] == "updateplotlyjs": - print(plotly_js_version()) - update_plotlyjs(plotly_js_version()) if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index 020c7322462..95d8203e12e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,12 +47,40 @@ dependencies = [ [project.optional-dependencies] express = ["numpy"] kaleido = ["kaleido==1.0.0rc15"] -dev = ["black==25.1.0"] +dev = [ + # pin precise version of ruff to prevent accidental reformatting in case its defaults are updated + "ruff==0.11.12", + + # other dependencies required to test and build + "anywidget", + "build", + "colorcet", + "geopandas", + "inflect", + "jupyter", + "plotly[kaleido]", + "numpy", + "orjson", + "pandas", + "pdfrw", + "pillow", + "plotly-geo", + "polars", + "pyarrow", + "pyshp", + "pytest", + "pytz", + "requests", + "scipy", + "scikit-image", + "shapely", + "statsmodels", + "xarray" +] [project.scripts] plotly_get_chrome = "plotly.io._kaleido:get_chrome" - [tool.setuptools.packages.find] where = ["."] include = ["plotly*", "_plotly*"] @@ -63,31 +91,8 @@ plotly = [ "package_data/*", "package_data/templates/*", "package_data/datasets/*", - "validators/_validators.json", ] -[tool.black] -line-length = 88 -target_version = ['py38', 'py39', 'py310', 'py311', 'py312'] -include = '\.pyi?$' -exclude = ''' -/( - \.eggs # exclude a few common directories in the - | \.git # root of the project - | \.hg - | \.mypy_cache - | \.tox - | \.venv - | _build - | buck-out - | build - | dist - | js - | submodules - | plotly/matplotlylib/mplexporter -)/ -''' - [tool.jupyter-packaging.builder] factory = "jupyter_packaging.npm_builder" auto_data_files = true diff --git a/requires-optional.txt b/requires-optional.txt deleted file mode 100644 index a772dedd876..00000000000 --- a/requires-optional.txt +++ /dev/null @@ -1,56 +0,0 @@ -### Optional Dependencies for Additional Plotly Functionality ### -### ### -### This file lists packages which are not strictly required ### -### by Plotly.py, but which are needed to use some of the ### -### library's functionality. See headings below for more ### -### See headings below for more detail. ### -### ### -### Packages used in the development process are also listed ### -### here. ### -### ### -### To install, run: ### -### $ pip install -r requires-optional.txt ### -### ### -################################################################### - -## numpy (required by Plotly Express) ## -numpy - -## matplotlylib dependencies ## -# matplotlib==2.2.2 - -## testing dependencies ## -# see also test_requirements/*.txt for specific Python versions -coverage==4.3.1 -mock==2.0.0 -pytest==8.1.1 -xarray -pytz - -## code formatting ## -pre-commit -black==22.3.0 - -## codegen dependencies ## -inflect - -## template generation ## -colorcet - -## pandas (for some matplotlib functionality) ## -pandas - -## scipy deps (for some Figure Factory functions) ## -scipy - -## jupyter ## -jupyter -anywidget - -## deps for _county_choropleth.py (Figure Factory) ## -pyshp -geopandas -shapely - -## image uri conversion ## -pillow diff --git a/test_requirements/requirements_core.txt b/test_requirements/requirements_core.txt deleted file mode 100644 index 2001f3e2567..00000000000 --- a/test_requirements/requirements_core.txt +++ /dev/null @@ -1,2 +0,0 @@ -requests -pytest diff --git a/test_requirements/requirements_optional.txt b/test_requirements/requirements_optional.txt deleted file mode 100644 index 1c385d989bd..00000000000 --- a/test_requirements/requirements_optional.txt +++ /dev/null @@ -1,27 +0,0 @@ -requests -pandas -numpy -xarray -statsmodels -Pillow -pytest -pytz -ipython -jupyter -anywidget -scipy -Shapely -geopandas -fiona<=1.9.6;python_version<="3.8" # fiona>1.9.6 is not compatible with geopandas<1; geopandas>=1 is not compatible with python 3.8 -pyshp -matplotlib -scikit-image -psutil -# kaleido>=1.0.0 # Uncomment and delete line below once Kaleido v1 is released -kaleido==1.0.0rc15 -orjson -polars[timezone] -pyarrow -plotly-geo -vaex;python_version<="3.9" -pdfrw diff --git a/uv.lock b/uv.lock index f4c98c9528e..8a1c757786c 100644 --- a/uv.lock +++ b/uv.lock @@ -689,7 +689,7 @@ resolution-markers = [ dependencies = [ { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "packaging", marker = "python_full_version == '3.9.*'" }, - { name = "pandas", version = "2.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "pyogrio", marker = "python_full_version == '3.9.*'" }, { name = "pyproj", version = "3.6.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "shapely", version = "2.0.7", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, @@ -709,7 +709,8 @@ resolution-markers = [ "python_full_version == '3.10.*'", ] dependencies = [ - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "packaging", marker = "python_full_version >= '3.10'" }, { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "pyogrio", marker = "python_full_version >= '3.10'" }, @@ -797,7 +798,8 @@ resolution-markers = [ ] dependencies = [ { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "pillow", version = "11.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/0c/47/57e897fb7094afb2d26e8b2e4af9a45c7cf1a405acdeeca001fdf2c98501/imageio-2.37.0.tar.gz", hash = "sha256:71b57b3669666272c818497aebba2b4c5f20d5b37c81720e5e1a56d59c492996", size = 389963, upload-time = "2025-01-20T02:42:37.089Z" } @@ -830,7 +832,7 @@ resolution-markers = [ "python_full_version == '3.9.*'", ] dependencies = [ - { name = "zipp", version = "3.22.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "zipp", version = "3.23.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/76/66/650a33bd90f786193e4de4b3ad86ea60b53c89b669a5c7be931fac31cdb0/importlib_metadata-8.7.0.tar.gz", hash = "sha256:d13b81ad223b890aa16c5471f2ac3056cf76c5f10f82d6f9292f0b415f389000", size = 56641, upload-time = "2025-04-27T15:29:01.736Z" } wheels = [ @@ -1765,11 +1767,11 @@ wheels = [ [[package]] name = "narwhals" -version = "1.41.1" +version = "1.42.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/ce/1b/877c22912b78f8b3fe60de1fb908a624c47afab0d6f9f32b5a1703566ff1/narwhals-1.41.1.tar.gz", hash = "sha256:be973f27b9eca2bab82c789b9c63135b5cd2a726c80309146356dd923b6f5104", size = 489404, upload-time = "2025-06-06T07:29:24.141Z" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/7e/9484c2427453bd0024fd36cf7923de4367d749f0b216b9ca56b9dfc3c516/narwhals-1.42.0.tar.gz", hash = "sha256:a5e554782446d1197593312651352cd39b2025e995053d8e6bdfaa01a70a91d3", size = 490671, upload-time = "2025-06-09T09:20:27.794Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/47/9f/ba87ba354282d81c681b98733479c17d9f3dcfa5532e6105509db44a04b6/narwhals-1.41.1-py3-none-any.whl", hash = "sha256:42325449d9e1133e235b9a5b45c71132845dd5a4524940828753d9f7ca5ae303", size = 358034, upload-time = "2025-06-06T07:29:22.236Z" }, + { url = "https://files.pythonhosted.org/packages/8d/0f/f9ae7c8c55f9078c852b13ea4a6e92e5f4d6d4c8fc0781ec2882957006bb/narwhals-1.42.0-py3-none-any.whl", hash = "sha256:ef6cedf7700dc22c09d17973b9ede11b53e25331e238b24ac73884a8c5e27c19", size = 359033, upload-time = "2025-06-09T09:20:25.668Z" }, ] [[package]] @@ -2071,8 +2073,6 @@ name = "numpy" version = "2.2.6" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.12'", - "python_full_version == '3.11.*'", "python_full_version == '3.10.*'", ] sdist = { url = "https://files.pythonhosted.org/packages/76/21/7d2a95e4bba9dc13d043ee156a356c0a8f0c6309dff6b21b4d71a073b8a8/numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd", size = 20276440, upload-time = "2025-05-17T22:38:04.611Z" } @@ -2133,6 +2133,68 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/37/48/ac2a9584402fb6c0cd5b5d1a91dcf176b15760130dd386bbafdbfe3640bf/numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00", size = 12812666, upload-time = "2025-05-17T21:45:31.426Z" }, ] +[[package]] +name = "numpy" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.12'", + "python_full_version == '3.11.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/f3/db/8e12381333aea300890829a0a36bfa738cac95475d88982d538725143fd9/numpy-2.3.0.tar.gz", hash = "sha256:581f87f9e9e9db2cba2141400e160e9dd644ee248788d6f90636eeb8fd9260a6", size = 20382813, upload-time = "2025-06-07T14:54:32.608Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/5f/df67435257d827eb3b8af66f585223dc2c3f2eb7ad0b50cb1dae2f35f494/numpy-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c3c9fdde0fa18afa1099d6257eb82890ea4f3102847e692193b54e00312a9ae9", size = 21199688, upload-time = "2025-06-07T14:36:52.067Z" }, + { url = "https://files.pythonhosted.org/packages/e5/ce/aad219575055d6c9ef29c8c540c81e1c38815d3be1fe09cdbe53d48ee838/numpy-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:46d16f72c2192da7b83984aa5455baee640e33a9f1e61e656f29adf55e406c2b", size = 14359277, upload-time = "2025-06-07T14:37:15.325Z" }, + { url = "https://files.pythonhosted.org/packages/29/6b/2d31da8e6d2ec99bed54c185337a87f8fbeccc1cd9804e38217e92f3f5e2/numpy-2.3.0-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:a0be278be9307c4ab06b788f2a077f05e180aea817b3e41cebbd5aaf7bd85ed3", size = 5376069, upload-time = "2025-06-07T14:37:25.636Z" }, + { url = "https://files.pythonhosted.org/packages/7d/2a/6c59a062397553ec7045c53d5fcdad44e4536e54972faa2ba44153bca984/numpy-2.3.0-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:99224862d1412d2562248d4710126355d3a8db7672170a39d6909ac47687a8a4", size = 6913057, upload-time = "2025-06-07T14:37:37.215Z" }, + { url = "https://files.pythonhosted.org/packages/d5/5a/8df16f258d28d033e4f359e29d3aeb54663243ac7b71504e89deeb813202/numpy-2.3.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:2393a914db64b0ead0ab80c962e42d09d5f385802006a6c87835acb1f58adb96", size = 14568083, upload-time = "2025-06-07T14:37:59.337Z" }, + { url = "https://files.pythonhosted.org/packages/0a/92/0528a563dfc2cdccdcb208c0e241a4bb500d7cde218651ffb834e8febc50/numpy-2.3.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:7729c8008d55e80784bd113787ce876ca117185c579c0d626f59b87d433ea779", size = 16929402, upload-time = "2025-06-07T14:38:24.343Z" }, + { url = "https://files.pythonhosted.org/packages/e4/2f/e7a8c8d4a2212c527568d84f31587012cf5497a7271ea1f23332142f634e/numpy-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:06d4fb37a8d383b769281714897420c5cc3545c79dc427df57fc9b852ee0bf58", size = 15879193, upload-time = "2025-06-07T14:38:48.007Z" }, + { url = "https://files.pythonhosted.org/packages/e2/c3/dada3f005953847fe35f42ac0fe746f6e1ea90b4c6775e4be605dcd7b578/numpy-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c39ec392b5db5088259c68250e342612db82dc80ce044cf16496cf14cf6bc6f8", size = 18665318, upload-time = "2025-06-07T14:39:15.794Z" }, + { url = "https://files.pythonhosted.org/packages/3b/ae/3f448517dedefc8dd64d803f9d51a8904a48df730e00a3c5fb1e75a60620/numpy-2.3.0-cp311-cp311-win32.whl", hash = "sha256:ee9d3ee70d62827bc91f3ea5eee33153212c41f639918550ac0475e3588da59f", size = 6601108, upload-time = "2025-06-07T14:39:27.176Z" }, + { url = "https://files.pythonhosted.org/packages/8c/4a/556406d2bb2b9874c8cbc840c962683ac28f21efbc9b01177d78f0199ca1/numpy-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:43c55b6a860b0eb44d42341438b03513cf3879cb3617afb749ad49307e164edd", size = 13021525, upload-time = "2025-06-07T14:39:46.637Z" }, + { url = "https://files.pythonhosted.org/packages/ed/ee/bf54278aef30335ffa9a189f869ea09e1a195b3f4b93062164a3b02678a7/numpy-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:2e6a1409eee0cb0316cb64640a49a49ca44deb1a537e6b1121dc7c458a1299a8", size = 10170327, upload-time = "2025-06-07T14:40:02.703Z" }, + { url = "https://files.pythonhosted.org/packages/89/59/9df493df81ac6f76e9f05cdbe013cdb0c9a37b434f6e594f5bd25e278908/numpy-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:389b85335838155a9076e9ad7f8fdba0827496ec2d2dc32ce69ce7898bde03ba", size = 20897025, upload-time = "2025-06-07T14:40:33.558Z" }, + { url = "https://files.pythonhosted.org/packages/2f/86/4ff04335901d6cf3a6bb9c748b0097546ae5af35e455ae9b962ebff4ecd7/numpy-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9498f60cd6bb8238d8eaf468a3d5bb031d34cd12556af53510f05fcf581c1b7e", size = 14129882, upload-time = "2025-06-07T14:40:55.034Z" }, + { url = "https://files.pythonhosted.org/packages/71/8d/a942cd4f959de7f08a79ab0c7e6cecb7431d5403dce78959a726f0f57aa1/numpy-2.3.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:622a65d40d8eb427d8e722fd410ac3ad4958002f109230bc714fa551044ebae2", size = 5110181, upload-time = "2025-06-07T14:41:04.4Z" }, + { url = "https://files.pythonhosted.org/packages/86/5d/45850982efc7b2c839c5626fb67fbbc520d5b0d7c1ba1ae3651f2f74c296/numpy-2.3.0-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:b9446d9d8505aadadb686d51d838f2b6688c9e85636a0c3abaeb55ed54756459", size = 6647581, upload-time = "2025-06-07T14:41:14.695Z" }, + { url = "https://files.pythonhosted.org/packages/1a/c0/c871d4a83f93b00373d3eebe4b01525eee8ef10b623a335ec262b58f4dc1/numpy-2.3.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:50080245365d75137a2bf46151e975de63146ae6d79f7e6bd5c0e85c9931d06a", size = 14262317, upload-time = "2025-06-07T14:41:35.862Z" }, + { url = "https://files.pythonhosted.org/packages/b7/f6/bc47f5fa666d5ff4145254f9e618d56e6a4ef9b874654ca74c19113bb538/numpy-2.3.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:c24bb4113c66936eeaa0dc1e47c74770453d34f46ee07ae4efd853a2ed1ad10a", size = 16633919, upload-time = "2025-06-07T14:42:00.622Z" }, + { url = "https://files.pythonhosted.org/packages/f5/b4/65f48009ca0c9b76df5f404fccdea5a985a1bb2e34e97f21a17d9ad1a4ba/numpy-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4d8d294287fdf685281e671886c6dcdf0291a7c19db3e5cb4178d07ccf6ecc67", size = 15567651, upload-time = "2025-06-07T14:42:24.429Z" }, + { url = "https://files.pythonhosted.org/packages/f1/62/5367855a2018578e9334ed08252ef67cc302e53edc869666f71641cad40b/numpy-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6295f81f093b7f5769d1728a6bd8bf7466de2adfa771ede944ce6711382b89dc", size = 18361723, upload-time = "2025-06-07T14:42:51.167Z" }, + { url = "https://files.pythonhosted.org/packages/d4/75/5baed8cd867eabee8aad1e74d7197d73971d6a3d40c821f1848b8fab8b84/numpy-2.3.0-cp312-cp312-win32.whl", hash = "sha256:e6648078bdd974ef5d15cecc31b0c410e2e24178a6e10bf511e0557eed0f2570", size = 6318285, upload-time = "2025-06-07T14:43:02.052Z" }, + { url = "https://files.pythonhosted.org/packages/bc/49/d5781eaa1a15acb3b3a3f49dc9e2ff18d92d0ce5c2976f4ab5c0a7360250/numpy-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:0898c67a58cdaaf29994bc0e2c65230fd4de0ac40afaf1584ed0b02cd74c6fdd", size = 12732594, upload-time = "2025-06-07T14:43:21.071Z" }, + { url = "https://files.pythonhosted.org/packages/c2/1c/6d343e030815c7c97a1f9fbad00211b47717c7fe446834c224bd5311e6f1/numpy-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:bd8df082b6c4695753ad6193018c05aac465d634834dca47a3ae06d4bb22d9ea", size = 9891498, upload-time = "2025-06-07T14:43:36.332Z" }, + { url = "https://files.pythonhosted.org/packages/73/fc/1d67f751fd4dbafc5780244fe699bc4084268bad44b7c5deb0492473127b/numpy-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5754ab5595bfa2c2387d241296e0381c21f44a4b90a776c3c1d39eede13a746a", size = 20889633, upload-time = "2025-06-07T14:44:06.839Z" }, + { url = "https://files.pythonhosted.org/packages/e8/95/73ffdb69e5c3f19ec4530f8924c4386e7ba097efc94b9c0aff607178ad94/numpy-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d11fa02f77752d8099573d64e5fe33de3229b6632036ec08f7080f46b6649959", size = 14151683, upload-time = "2025-06-07T14:44:28.847Z" }, + { url = "https://files.pythonhosted.org/packages/64/d5/06d4bb31bb65a1d9c419eb5676173a2f90fd8da3c59f816cc54c640ce265/numpy-2.3.0-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:aba48d17e87688a765ab1cd557882052f238e2f36545dfa8e29e6a91aef77afe", size = 5102683, upload-time = "2025-06-07T14:44:38.417Z" }, + { url = "https://files.pythonhosted.org/packages/12/8b/6c2cef44f8ccdc231f6b56013dff1d71138c48124334aded36b1a1b30c5a/numpy-2.3.0-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:4dc58865623023b63b10d52f18abaac3729346a7a46a778381e0e3af4b7f3beb", size = 6640253, upload-time = "2025-06-07T14:44:49.359Z" }, + { url = "https://files.pythonhosted.org/packages/62/aa/fca4bf8de3396ddb59544df9b75ffe5b73096174de97a9492d426f5cd4aa/numpy-2.3.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:df470d376f54e052c76517393fa443758fefcdd634645bc9c1f84eafc67087f0", size = 14258658, upload-time = "2025-06-07T14:45:10.156Z" }, + { url = "https://files.pythonhosted.org/packages/1c/12/734dce1087eed1875f2297f687e671cfe53a091b6f2f55f0c7241aad041b/numpy-2.3.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:87717eb24d4a8a64683b7a4e91ace04e2f5c7c77872f823f02a94feee186168f", size = 16628765, upload-time = "2025-06-07T14:45:35.076Z" }, + { url = "https://files.pythonhosted.org/packages/48/03/ffa41ade0e825cbcd5606a5669962419528212a16082763fc051a7247d76/numpy-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d8fa264d56882b59dcb5ea4d6ab6f31d0c58a57b41aec605848b6eb2ef4a43e8", size = 15564335, upload-time = "2025-06-07T14:45:58.797Z" }, + { url = "https://files.pythonhosted.org/packages/07/58/869398a11863310aee0ff85a3e13b4c12f20d032b90c4b3ee93c3b728393/numpy-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e651756066a0eaf900916497e20e02fe1ae544187cb0fe88de981671ee7f6270", size = 18360608, upload-time = "2025-06-07T14:46:25.687Z" }, + { url = "https://files.pythonhosted.org/packages/2f/8a/5756935752ad278c17e8a061eb2127c9a3edf4ba2c31779548b336f23c8d/numpy-2.3.0-cp313-cp313-win32.whl", hash = "sha256:e43c3cce3b6ae5f94696669ff2a6eafd9a6b9332008bafa4117af70f4b88be6f", size = 6310005, upload-time = "2025-06-07T14:50:13.138Z" }, + { url = "https://files.pythonhosted.org/packages/08/60/61d60cf0dfc0bf15381eaef46366ebc0c1a787856d1db0c80b006092af84/numpy-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:81ae0bf2564cf475f94be4a27ef7bcf8af0c3e28da46770fc904da9abd5279b5", size = 12729093, upload-time = "2025-06-07T14:50:31.82Z" }, + { url = "https://files.pythonhosted.org/packages/66/31/2f2f2d2b3e3c32d5753d01437240feaa32220b73258c9eef2e42a0832866/numpy-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:c8738baa52505fa6e82778580b23f945e3578412554d937093eac9205e845e6e", size = 9885689, upload-time = "2025-06-07T14:50:47.888Z" }, + { url = "https://files.pythonhosted.org/packages/f1/89/c7828f23cc50f607ceb912774bb4cff225ccae7131c431398ad8400e2c98/numpy-2.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:39b27d8b38942a647f048b675f134dd5a567f95bfff481f9109ec308515c51d8", size = 20986612, upload-time = "2025-06-07T14:46:56.077Z" }, + { url = "https://files.pythonhosted.org/packages/dd/46/79ecf47da34c4c50eedec7511e53d57ffdfd31c742c00be7dc1d5ffdb917/numpy-2.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:0eba4a1ea88f9a6f30f56fdafdeb8da3774349eacddab9581a21234b8535d3d3", size = 14298953, upload-time = "2025-06-07T14:47:18.053Z" }, + { url = "https://files.pythonhosted.org/packages/59/44/f6caf50713d6ff4480640bccb2a534ce1d8e6e0960c8f864947439f0ee95/numpy-2.3.0-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:b0f1f11d0a1da54927436505a5a7670b154eac27f5672afc389661013dfe3d4f", size = 5225806, upload-time = "2025-06-07T14:47:27.524Z" }, + { url = "https://files.pythonhosted.org/packages/a6/43/e1fd1aca7c97e234dd05e66de4ab7a5be54548257efcdd1bc33637e72102/numpy-2.3.0-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:690d0a5b60a47e1f9dcec7b77750a4854c0d690e9058b7bef3106e3ae9117808", size = 6735169, upload-time = "2025-06-07T14:47:38.057Z" }, + { url = "https://files.pythonhosted.org/packages/84/89/f76f93b06a03177c0faa7ca94d0856c4e5c4bcaf3c5f77640c9ed0303e1c/numpy-2.3.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:8b51ead2b258284458e570942137155978583e407babc22e3d0ed7af33ce06f8", size = 14330701, upload-time = "2025-06-07T14:47:59.113Z" }, + { url = "https://files.pythonhosted.org/packages/aa/f5/4858c3e9ff7a7d64561b20580cf7cc5d085794bd465a19604945d6501f6c/numpy-2.3.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:aaf81c7b82c73bd9b45e79cfb9476cb9c29e937494bfe9092c26aece812818ad", size = 16692983, upload-time = "2025-06-07T14:48:24.196Z" }, + { url = "https://files.pythonhosted.org/packages/08/17/0e3b4182e691a10e9483bcc62b4bb8693dbf9ea5dc9ba0b77a60435074bb/numpy-2.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:f420033a20b4f6a2a11f585f93c843ac40686a7c3fa514060a97d9de93e5e72b", size = 15641435, upload-time = "2025-06-07T14:48:47.712Z" }, + { url = "https://files.pythonhosted.org/packages/4e/d5/463279fda028d3c1efa74e7e8d507605ae87f33dbd0543cf4c4527c8b882/numpy-2.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:d344ca32ab482bcf8735d8f95091ad081f97120546f3d250240868430ce52555", size = 18433798, upload-time = "2025-06-07T14:49:14.866Z" }, + { url = "https://files.pythonhosted.org/packages/0e/1e/7a9d98c886d4c39a2b4d3a7c026bffcf8fbcaf518782132d12a301cfc47a/numpy-2.3.0-cp313-cp313t-win32.whl", hash = "sha256:48a2e8eaf76364c32a1feaa60d6925eaf32ed7a040183b807e02674305beef61", size = 6438632, upload-time = "2025-06-07T14:49:25.67Z" }, + { url = "https://files.pythonhosted.org/packages/fe/ab/66fc909931d5eb230107d016861824f335ae2c0533f422e654e5ff556784/numpy-2.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:ba17f93a94e503551f154de210e4d50c5e3ee20f7e7a1b5f6ce3f22d419b93bb", size = 12868491, upload-time = "2025-06-07T14:49:44.898Z" }, + { url = "https://files.pythonhosted.org/packages/ee/e8/2c8a1c9e34d6f6d600c83d5ce5b71646c32a13f34ca5c518cc060639841c/numpy-2.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:f14e016d9409680959691c109be98c436c6249eaf7f118b424679793607b5944", size = 9935345, upload-time = "2025-06-07T14:50:02.311Z" }, + { url = "https://files.pythonhosted.org/packages/6a/a2/f8c1133f90eaa1c11bbbec1dc28a42054d0ce74bc2c9838c5437ba5d4980/numpy-2.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:80b46117c7359de8167cc00a2c7d823bdd505e8c7727ae0871025a86d668283b", size = 21070759, upload-time = "2025-06-07T14:51:18.241Z" }, + { url = "https://files.pythonhosted.org/packages/6c/e0/4c05fc44ba28463096eee5ae2a12832c8d2759cc5bcec34ae33386d3ff83/numpy-2.3.0-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:5814a0f43e70c061f47abd5857d120179609ddc32a613138cbb6c4e9e2dbdda5", size = 5301054, upload-time = "2025-06-07T14:51:27.413Z" }, + { url = "https://files.pythonhosted.org/packages/8a/3b/6c06cdebe922bbc2a466fe2105f50f661238ea223972a69c7deb823821e7/numpy-2.3.0-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:ef6c1e88fd6b81ac6d215ed71dc8cd027e54d4bf1d2682d362449097156267a2", size = 6817520, upload-time = "2025-06-07T14:51:38.015Z" }, + { url = "https://files.pythonhosted.org/packages/9d/a3/1e536797fd10eb3c5dbd2e376671667c9af19e241843548575267242ea02/numpy-2.3.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:33a5a12a45bb82d9997e2c0b12adae97507ad7c347546190a18ff14c28bbca12", size = 14398078, upload-time = "2025-06-07T14:52:00.122Z" }, + { url = "https://files.pythonhosted.org/packages/7c/61/9d574b10d9368ecb1a0c923952aa593510a20df4940aa615b3a71337c8db/numpy-2.3.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:54dfc8681c1906d239e95ab1508d0a533c4a9505e52ee2d71a5472b04437ef97", size = 16751324, upload-time = "2025-06-07T14:52:25.077Z" }, + { url = "https://files.pythonhosted.org/packages/39/de/bcad52ce972dc26232629ca3a99721fd4b22c1d2bda84d5db6541913ef9c/numpy-2.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:e017a8a251ff4d18d71f139e28bdc7c31edba7a507f72b1414ed902cbe48c74d", size = 12924237, upload-time = "2025-06-07T14:52:44.713Z" }, +] + [[package]] name = "orjson" version = "3.10.15" @@ -2368,64 +2430,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/9a/f2/0ad053856debbe90c83de1b4f05915f85fd2146f20faf9daa3b320d36df3/pandas-2.0.3-cp39-cp39-win_amd64.whl", hash = "sha256:1168574b036cd8b93abc746171c9b4f1b83467438a5e45909fed645cf8692dbc", size = 10755902, upload-time = "2023-06-28T23:19:25.151Z" }, ] -[[package]] -name = "pandas" -version = "2.2.3" -source = { registry = "https://pypi.org/simple" } -resolution-markers = [ - "python_full_version == '3.9.*'", -] -dependencies = [ - { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "python-dateutil", marker = "python_full_version == '3.9.*'" }, - { name = "pytz", marker = "python_full_version == '3.9.*'" }, - { name = "tzdata", marker = "python_full_version == '3.9.*'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/9c/d6/9f8431bacc2e19dca897724cd097b1bb224a6ad5433784a44b587c7c13af/pandas-2.2.3.tar.gz", hash = "sha256:4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667", size = 4399213, upload-time = "2024-09-20T13:10:04.827Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/aa/70/c853aec59839bceed032d52010ff5f1b8d87dc3114b762e4ba2727661a3b/pandas-2.2.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1948ddde24197a0f7add2bdc4ca83bf2b1ef84a1bc8ccffd95eda17fd836ecb5", size = 12580827, upload-time = "2024-09-20T13:08:42.347Z" }, - { url = "https://files.pythonhosted.org/packages/99/f2/c4527768739ffa4469b2b4fff05aa3768a478aed89a2f271a79a40eee984/pandas-2.2.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:381175499d3802cde0eabbaf6324cce0c4f5d52ca6f8c377c29ad442f50f6348", size = 11303897, upload-time = "2024-09-20T13:08:45.807Z" }, - { url = "https://files.pythonhosted.org/packages/ed/12/86c1747ea27989d7a4064f806ce2bae2c6d575b950be087837bdfcabacc9/pandas-2.2.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d9c45366def9a3dd85a6454c0e7908f2b3b8e9c138f5dc38fed7ce720d8453ed", size = 66480908, upload-time = "2024-09-20T18:37:13.513Z" }, - { url = "https://files.pythonhosted.org/packages/44/50/7db2cd5e6373ae796f0ddad3675268c8d59fb6076e66f0c339d61cea886b/pandas-2.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86976a1c5b25ae3f8ccae3a5306e443569ee3c3faf444dfd0f41cda24667ad57", size = 13064210, upload-time = "2024-09-20T13:08:48.325Z" }, - { url = "https://files.pythonhosted.org/packages/61/61/a89015a6d5536cb0d6c3ba02cebed51a95538cf83472975275e28ebf7d0c/pandas-2.2.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b8661b0238a69d7aafe156b7fa86c44b881387509653fdf857bebc5e4008ad42", size = 16754292, upload-time = "2024-09-20T19:01:54.443Z" }, - { url = "https://files.pythonhosted.org/packages/ce/0d/4cc7b69ce37fac07645a94e1d4b0880b15999494372c1523508511b09e40/pandas-2.2.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:37e0aced3e8f539eccf2e099f65cdb9c8aa85109b0be6e93e2baff94264bdc6f", size = 14416379, upload-time = "2024-09-20T13:08:50.882Z" }, - { url = "https://files.pythonhosted.org/packages/31/9e/6ebb433de864a6cd45716af52a4d7a8c3c9aaf3a98368e61db9e69e69a9c/pandas-2.2.3-cp310-cp310-win_amd64.whl", hash = "sha256:56534ce0746a58afaf7942ba4863e0ef81c9c50d3f0ae93e9497d6a41a057645", size = 11598471, upload-time = "2024-09-20T13:08:53.332Z" }, - { url = "https://files.pythonhosted.org/packages/a8/44/d9502bf0ed197ba9bf1103c9867d5904ddcaf869e52329787fc54ed70cc8/pandas-2.2.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:66108071e1b935240e74525006034333f98bcdb87ea116de573a6a0dccb6c039", size = 12602222, upload-time = "2024-09-20T13:08:56.254Z" }, - { url = "https://files.pythonhosted.org/packages/52/11/9eac327a38834f162b8250aab32a6781339c69afe7574368fffe46387edf/pandas-2.2.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7c2875855b0ff77b2a64a0365e24455d9990730d6431b9e0ee18ad8acee13dbd", size = 11321274, upload-time = "2024-09-20T13:08:58.645Z" }, - { url = "https://files.pythonhosted.org/packages/45/fb/c4beeb084718598ba19aa9f5abbc8aed8b42f90930da861fcb1acdb54c3a/pandas-2.2.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cd8d0c3be0515c12fed0bdbae072551c8b54b7192c7b1fda0ba56059a0179698", size = 15579836, upload-time = "2024-09-20T19:01:57.571Z" }, - { url = "https://files.pythonhosted.org/packages/cd/5f/4dba1d39bb9c38d574a9a22548c540177f78ea47b32f99c0ff2ec499fac5/pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c124333816c3a9b03fbeef3a9f230ba9a737e9e5bb4060aa2107a86cc0a497fc", size = 13058505, upload-time = "2024-09-20T13:09:01.501Z" }, - { url = "https://files.pythonhosted.org/packages/b9/57/708135b90391995361636634df1f1130d03ba456e95bcf576fada459115a/pandas-2.2.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:63cc132e40a2e084cf01adf0775b15ac515ba905d7dcca47e9a251819c575ef3", size = 16744420, upload-time = "2024-09-20T19:02:00.678Z" }, - { url = "https://files.pythonhosted.org/packages/86/4a/03ed6b7ee323cf30404265c284cee9c65c56a212e0a08d9ee06984ba2240/pandas-2.2.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:29401dbfa9ad77319367d36940cd8a0b3a11aba16063e39632d98b0e931ddf32", size = 14440457, upload-time = "2024-09-20T13:09:04.105Z" }, - { url = "https://files.pythonhosted.org/packages/ed/8c/87ddf1fcb55d11f9f847e3c69bb1c6f8e46e2f40ab1a2d2abadb2401b007/pandas-2.2.3-cp311-cp311-win_amd64.whl", hash = "sha256:3fc6873a41186404dad67245896a6e440baacc92f5b716ccd1bc9ed2995ab2c5", size = 11617166, upload-time = "2024-09-20T13:09:06.917Z" }, - { url = "https://files.pythonhosted.org/packages/17/a3/fb2734118db0af37ea7433f57f722c0a56687e14b14690edff0cdb4b7e58/pandas-2.2.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b1d432e8d08679a40e2a6d8b2f9770a5c21793a6f9f47fdd52c5ce1948a5a8a9", size = 12529893, upload-time = "2024-09-20T13:09:09.655Z" }, - { url = "https://files.pythonhosted.org/packages/e1/0c/ad295fd74bfac85358fd579e271cded3ac969de81f62dd0142c426b9da91/pandas-2.2.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a5a1595fe639f5988ba6a8e5bc9649af3baf26df3998a0abe56c02609392e0a4", size = 11363475, upload-time = "2024-09-20T13:09:14.718Z" }, - { url = "https://files.pythonhosted.org/packages/c6/2a/4bba3f03f7d07207481fed47f5b35f556c7441acddc368ec43d6643c5777/pandas-2.2.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5de54125a92bb4d1c051c0659e6fcb75256bf799a732a87184e5ea503965bce3", size = 15188645, upload-time = "2024-09-20T19:02:03.88Z" }, - { url = "https://files.pythonhosted.org/packages/38/f8/d8fddee9ed0d0c0f4a2132c1dfcf0e3e53265055da8df952a53e7eaf178c/pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fffb8ae78d8af97f849404f21411c95062db1496aeb3e56f146f0355c9989319", size = 12739445, upload-time = "2024-09-20T13:09:17.621Z" }, - { url = "https://files.pythonhosted.org/packages/20/e8/45a05d9c39d2cea61ab175dbe6a2de1d05b679e8de2011da4ee190d7e748/pandas-2.2.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6dfcb5ee8d4d50c06a51c2fffa6cff6272098ad6540aed1a76d15fb9318194d8", size = 16359235, upload-time = "2024-09-20T19:02:07.094Z" }, - { url = "https://files.pythonhosted.org/packages/1d/99/617d07a6a5e429ff90c90da64d428516605a1ec7d7bea494235e1c3882de/pandas-2.2.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:062309c1b9ea12a50e8ce661145c6aab431b1e99530d3cd60640e255778bd43a", size = 14056756, upload-time = "2024-09-20T13:09:20.474Z" }, - { url = "https://files.pythonhosted.org/packages/29/d4/1244ab8edf173a10fd601f7e13b9566c1b525c4f365d6bee918e68381889/pandas-2.2.3-cp312-cp312-win_amd64.whl", hash = "sha256:59ef3764d0fe818125a5097d2ae867ca3fa64df032331b7e0917cf5d7bf66b13", size = 11504248, upload-time = "2024-09-20T13:09:23.137Z" }, - { url = "https://files.pythonhosted.org/packages/64/22/3b8f4e0ed70644e85cfdcd57454686b9057c6c38d2f74fe4b8bc2527214a/pandas-2.2.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f00d1345d84d8c86a63e476bb4955e46458b304b9575dcf71102b5c705320015", size = 12477643, upload-time = "2024-09-20T13:09:25.522Z" }, - { url = "https://files.pythonhosted.org/packages/e4/93/b3f5d1838500e22c8d793625da672f3eec046b1a99257666c94446969282/pandas-2.2.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3508d914817e153ad359d7e069d752cdd736a247c322d932eb89e6bc84217f28", size = 11281573, upload-time = "2024-09-20T13:09:28.012Z" }, - { url = "https://files.pythonhosted.org/packages/f5/94/6c79b07f0e5aab1dcfa35a75f4817f5c4f677931d4234afcd75f0e6a66ca/pandas-2.2.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:22a9d949bfc9a502d320aa04e5d02feab689d61da4e7764b62c30b991c42c5f0", size = 15196085, upload-time = "2024-09-20T19:02:10.451Z" }, - { url = "https://files.pythonhosted.org/packages/e8/31/aa8da88ca0eadbabd0a639788a6da13bb2ff6edbbb9f29aa786450a30a91/pandas-2.2.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f3a255b2c19987fbbe62a9dfd6cff7ff2aa9ccab3fc75218fd4b7530f01efa24", size = 12711809, upload-time = "2024-09-20T13:09:30.814Z" }, - { url = "https://files.pythonhosted.org/packages/ee/7c/c6dbdb0cb2a4344cacfb8de1c5808ca885b2e4dcfde8008266608f9372af/pandas-2.2.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:800250ecdadb6d9c78eae4990da62743b857b470883fa27f652db8bdde7f6659", size = 16356316, upload-time = "2024-09-20T19:02:13.825Z" }, - { url = "https://files.pythonhosted.org/packages/57/b7/8b757e7d92023b832869fa8881a992696a0bfe2e26f72c9ae9f255988d42/pandas-2.2.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6374c452ff3ec675a8f46fd9ab25c4ad0ba590b71cf0656f8b6daa5202bca3fb", size = 14022055, upload-time = "2024-09-20T13:09:33.462Z" }, - { url = "https://files.pythonhosted.org/packages/3b/bc/4b18e2b8c002572c5a441a64826252ce5da2aa738855747247a971988043/pandas-2.2.3-cp313-cp313-win_amd64.whl", hash = "sha256:61c5ad4043f791b61dd4752191d9f07f0ae412515d59ba8f005832a532f8736d", size = 11481175, upload-time = "2024-09-20T13:09:35.871Z" }, - { url = "https://files.pythonhosted.org/packages/76/a3/a5d88146815e972d40d19247b2c162e88213ef51c7c25993942c39dbf41d/pandas-2.2.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:3b71f27954685ee685317063bf13c7709a7ba74fc996b84fc6821c59b0f06468", size = 12615650, upload-time = "2024-09-20T13:09:38.685Z" }, - { url = "https://files.pythonhosted.org/packages/9c/8c/f0fd18f6140ddafc0c24122c8a964e48294acc579d47def376fef12bcb4a/pandas-2.2.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:38cf8125c40dae9d5acc10fa66af8ea6fdf760b2714ee482ca691fc66e6fcb18", size = 11290177, upload-time = "2024-09-20T13:09:41.141Z" }, - { url = "https://files.pythonhosted.org/packages/ed/f9/e995754eab9c0f14c6777401f7eece0943840b7a9fc932221c19d1abee9f/pandas-2.2.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba96630bc17c875161df3818780af30e43be9b166ce51c9a18c1feae342906c2", size = 14651526, upload-time = "2024-09-20T19:02:16.905Z" }, - { url = "https://files.pythonhosted.org/packages/25/b0/98d6ae2e1abac4f35230aa756005e8654649d305df9a28b16b9ae4353bff/pandas-2.2.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1db71525a1538b30142094edb9adc10be3f3e176748cd7acc2240c2f2e5aa3a4", size = 11871013, upload-time = "2024-09-20T13:09:44.39Z" }, - { url = "https://files.pythonhosted.org/packages/cc/57/0f72a10f9db6a4628744c8e8f0df4e6e21de01212c7c981d31e50ffc8328/pandas-2.2.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:15c0e1e02e93116177d29ff83e8b1619c93ddc9c49083f237d4312337a61165d", size = 15711620, upload-time = "2024-09-20T19:02:20.639Z" }, - { url = "https://files.pythonhosted.org/packages/ab/5f/b38085618b950b79d2d9164a711c52b10aefc0ae6833b96f626b7021b2ed/pandas-2.2.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:ad5b65698ab28ed8d7f18790a0dc58005c7629f227be9ecc1072aa74c0c1d43a", size = 13098436, upload-time = "2024-09-20T13:09:48.112Z" }, - { url = "https://files.pythonhosted.org/packages/ca/8c/8848a4c9b8fdf5a534fe2077af948bf53cd713d77ffbcd7bd15710348fd7/pandas-2.2.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc6b93f9b966093cb0fd62ff1a7e4c09e6d546ad7c1de191767baffc57628f39", size = 12595535, upload-time = "2024-09-20T13:09:51.339Z" }, - { url = "https://files.pythonhosted.org/packages/9c/b9/5cead4f63b6d31bdefeb21a679bc5a7f4aaf262ca7e07e2bc1c341b68470/pandas-2.2.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5dbca4c1acd72e8eeef4753eeca07de9b1db4f398669d5994086f788a5d7cc30", size = 11319822, upload-time = "2024-09-20T13:09:54.31Z" }, - { url = "https://files.pythonhosted.org/packages/31/af/89e35619fb573366fa68dc26dad6ad2c08c17b8004aad6d98f1a31ce4bb3/pandas-2.2.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8cd6d7cc958a3910f934ea8dbdf17b2364827bb4dafc38ce6eef6bb3d65ff09c", size = 15625439, upload-time = "2024-09-20T19:02:23.689Z" }, - { url = "https://files.pythonhosted.org/packages/3d/dd/bed19c2974296661493d7acc4407b1d2db4e2a482197df100f8f965b6225/pandas-2.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:99df71520d25fade9db7c1076ac94eb994f4d2673ef2aa2e86ee039b6746d20c", size = 13068928, upload-time = "2024-09-20T13:09:56.746Z" }, - { url = "https://files.pythonhosted.org/packages/31/a3/18508e10a31ea108d746c848b5a05c0711e0278fa0d6f1c52a8ec52b80a5/pandas-2.2.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:31d0ced62d4ea3e231a9f228366919a5ea0b07440d9d4dac345376fd8e1477ea", size = 16783266, upload-time = "2024-09-20T19:02:26.247Z" }, - { url = "https://files.pythonhosted.org/packages/c4/a5/3429bd13d82bebc78f4d78c3945efedef63a7cd0c15c17b2eeb838d1121f/pandas-2.2.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7eee9e7cea6adf3e3d24e304ac6b8300646e2a5d1cd3a3c2abed9101b0846761", size = 14450871, upload-time = "2024-09-20T13:09:59.779Z" }, - { url = "https://files.pythonhosted.org/packages/2f/49/5c30646e96c684570925b772eac4eb0a8cb0ca590fa978f56c5d3ae73ea1/pandas-2.2.3-cp39-cp39-win_amd64.whl", hash = "sha256:4850ba03528b6dd51d6c5d273c46f183f39a9baf3f0143e566b89450965b105e", size = 11618011, upload-time = "2024-09-20T13:10:02.351Z" }, -] - [[package]] name = "pandas" version = "2.3.0" @@ -2434,12 +2438,15 @@ resolution-markers = [ "python_full_version >= '3.12'", "python_full_version == '3.11.*'", "python_full_version == '3.10.*'", + "python_full_version == '3.9.*'", ] dependencies = [ - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, - { name = "python-dateutil", marker = "python_full_version >= '3.10'" }, - { name = "pytz", marker = "python_full_version >= '3.10'" }, - { name = "tzdata", marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "python-dateutil", marker = "python_full_version >= '3.9'" }, + { name = "pytz", marker = "python_full_version >= '3.9'" }, + { name = "tzdata", marker = "python_full_version >= '3.9'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/72/51/48f713c4c728d7c55ef7444ba5ea027c26998d96d1a40953b346438602fc/pandas-2.3.0.tar.gz", hash = "sha256:34600ab34ebf1131a7613a260a61dbe8b62c188ec0ea4c296da7c9a06b004133", size = 4484490, upload-time = "2025-06-05T03:27:54.133Z" } wheels = [ @@ -2511,7 +2518,8 @@ source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "numpy", version = "1.24.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/d1/81/74f6a65b848ffd16c18f920620ce999fe45fe27f01ab3911260ce4ed85e4/patsy-1.0.1.tar.gz", hash = "sha256:e786a9391eec818c054e359b737bbce692f051aee4c661f4141cc88fb459c0c4", size = 396010, upload-time = "2024-11-12T14:10:54.642Z" } wheels = [ @@ -2793,10 +2801,10 @@ dev = [ { name = "kaleido" }, { name = "numpy", version = "1.24.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "pandas", version = "2.0.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, - { name = "pandas", version = "2.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "pdfrw" }, { name = "pillow", version = "10.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "pillow", version = "11.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, @@ -2823,12 +2831,13 @@ dev = [ { name = "statsmodels", version = "0.14.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "xarray", version = "2023.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "xarray", version = "2024.7.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "xarray", version = "2025.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "xarray", version = "2025.6.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, ] express = [ { name = "numpy", version = "1.24.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] kaleido = [ { name = "kaleido" }, @@ -2842,16 +2851,15 @@ requires-dist = [ { name = "geopandas", marker = "extra == 'dev'" }, { name = "inflect", marker = "extra == 'dev'" }, { name = "jupyter", marker = "extra == 'dev'" }, - { name = "kaleido", marker = "extra == 'dev'", specifier = "==1.0.0rc15" }, { name = "kaleido", marker = "extra == 'kaleido'", specifier = "==1.0.0rc15" }, { name = "narwhals", specifier = ">=1.15.1" }, { name = "numpy", marker = "extra == 'dev'" }, { name = "numpy", marker = "extra == 'express'" }, { name = "packaging" }, - { name = "pandas", marker = "python_full_version >= '3.10' and extra == 'dev'" }, - { name = "pandas", marker = "python_full_version < '3.10' and extra == 'dev'", specifier = "<2.3.0" }, + { name = "pandas", marker = "extra == 'dev'" }, { name = "pdfrw", marker = "extra == 'dev'" }, { name = "pillow", marker = "extra == 'dev'" }, + { name = "plotly", extras = ["kaleido"], marker = "extra == 'dev'" }, { name = "plotly-geo", marker = "extra == 'dev'" }, { name = "polars", marker = "extra == 'dev'" }, { name = "pyarrow", marker = "extra == 'dev'" }, @@ -3231,7 +3239,8 @@ source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi", marker = "python_full_version >= '3.9'" }, { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "packaging", marker = "python_full_version >= '3.9'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/54/c3/5e30f913ad8a975abe6f6582a2d3cf321bdf40fd696940d9283c63880c7a/pyogrio-0.11.0.tar.gz", hash = "sha256:a7e0a97bc10c0d7204f6bf52e1b928cba0554c35a907c32b23065aed1ed97b3f", size = 286915, upload-time = "2025-05-08T15:20:17.843Z" } @@ -3799,7 +3808,7 @@ wheels = [ [[package]] name = "requests" -version = "2.32.3" +version = "2.32.4" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi" }, @@ -3808,9 +3817,9 @@ dependencies = [ { name = "urllib3", version = "2.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "urllib3", version = "2.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/63/70/2bf7780ad2d390a8d301ad0b550f1581eadbd9a20f896afe06353c2a2913/requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760", size = 131218, upload-time = "2024-05-29T15:37:49.536Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e1/0a/929373653770d8a0d7ea76c37de6e41f11eb07559b103b1c02cafb3f7cf8/requests-2.32.4.tar.gz", hash = "sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422", size = 135258, upload-time = "2025-06-09T16:43:07.34Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6", size = 64928, upload-time = "2024-05-29T15:37:47.027Z" }, + { url = "https://files.pythonhosted.org/packages/7c/e4/56027c4a6b4ae70ca9de302488c5ca95ad4a39e190093d6c1a8ace08341b/requests-2.32.4-py3-none-any.whl", hash = "sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c", size = 64847, upload-time = "2025-06-09T16:43:05.728Z" }, ] [[package]] @@ -4201,7 +4210,8 @@ dependencies = [ { name = "lazy-loader", marker = "python_full_version >= '3.10'" }, { name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, { name = "networkx", version = "3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "packaging", marker = "python_full_version >= '3.10'" }, { name = "pillow", version = "11.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, @@ -4316,7 +4326,8 @@ resolution-markers = [ "python_full_version == '3.10.*'", ] dependencies = [ - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/0f/37/6964b830433e654ec7485e45a00fc9a27cf868d622838f6b6d9c5ec0d532/scipy-1.15.3.tar.gz", hash = "sha256:eae3cf522bc7df64b42cad3925c876e1b0b6c35c1337c93e12c0f366f55b0eaf", size = 59419214, upload-time = "2025-05-08T16:13:05.955Z" } wheels = [ @@ -4467,7 +4478,8 @@ resolution-markers = [ "python_full_version == '3.10.*'", ] dependencies = [ - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/ca/3c/2da625233f4e605155926566c0e7ea8dda361877f48e8b1655e53456f252/shapely-2.1.1.tar.gz", hash = "sha256:500621967f2ffe9642454808009044c21e5b35db89ce69f8a2042c2ffd0e2772", size = 315422, upload-time = "2025-05-19T11:04:41.265Z" } wheels = [ @@ -4700,10 +4712,10 @@ resolution-markers = [ ] dependencies = [ { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "packaging", marker = "python_full_version >= '3.9'" }, - { name = "pandas", version = "2.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "patsy", marker = "python_full_version >= '3.9'" }, { name = "scipy", version = "1.13.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, @@ -4812,7 +4824,7 @@ resolution-markers = [ "python_full_version == '3.11.*'", ] dependencies = [ - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/33/cc/deed7dd69d4029adba8e95214f8bf65fca8bc6b8426e27d056e1de624206/tifffile-2025.6.1.tar.gz", hash = "sha256:63cff7cf7305c26e3f3451c0b05fd95a09252beef4f1663227d4b70cb75c5fdb", size = 369769, upload-time = "2025-06-02T01:41:44.083Z" } wheels = [ @@ -5178,7 +5190,7 @@ resolution-markers = [ dependencies = [ { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "packaging", marker = "python_full_version == '3.9.*'" }, - { name = "pandas", version = "2.2.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/84/e8/8ee12706df0d34ad04b3737621a73432458d47bc8abfbd6f049e51ca89c3/xarray-2024.7.0.tar.gz", hash = "sha256:4cae512d121a8522d41e66d942fb06c526bc1fd32c2c181d5fe62fe65b671638", size = 3728663, upload-time = "2024-07-30T08:31:45.48Z" } wheels = [ @@ -5187,7 +5199,7 @@ wheels = [ [[package]] name = "xarray" -version = "2025.4.0" +version = "2025.6.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version >= '3.12'", @@ -5195,13 +5207,14 @@ resolution-markers = [ "python_full_version == '3.10.*'", ] dependencies = [ - { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, { name = "packaging", marker = "python_full_version >= '3.10'" }, { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9b/29/37761364e137db13898cf5a790574dd7883f7355d5dfb42b66ee7a9a6318/xarray-2025.4.0.tar.gz", hash = "sha256:2a89cd6a1dfd589aa90ac45f4e483246f31fc641836db45dd2790bb78bd333dc", size = 2974151, upload-time = "2025-04-29T23:27:59.238Z" } +sdist = { url = "https://files.pythonhosted.org/packages/5f/72/d60c34f61def6a547d65d779171e3063f0c0370293fd73e79eab87e4fab9/xarray-2025.6.0.tar.gz", hash = "sha256:c521c6c1b806fc8e5c9b1bed85d69ce950fd6d2668507d4dd02850787b4c84f2", size = 3001856, upload-time = "2025-06-10T16:50:07.631Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a4/1e/96fd96419fec1a37da998a1ca3d558f2cae2f6f3cd5015170371b05a2b6b/xarray-2025.4.0-py3-none-any.whl", hash = "sha256:b27defd082c5cb85d32c695708de6bb05c2838fb7caaf3f952982e602a35b9b8", size = 1290171, upload-time = "2025-04-29T23:27:57.059Z" }, + { url = "https://files.pythonhosted.org/packages/57/ed/e737a1c9be5d654b71524ee19ea22376c4d81c50ef2bb5598c9dada74e9a/xarray-2025.6.0-py3-none-any.whl", hash = "sha256:175034a388e9b3c764035b40ad29581f0cbb9c596b97b75a7beb93ef2cc876e8", size = 1314069, upload-time = "2025-06-10T16:50:04.747Z" }, ] [[package]] @@ -5219,13 +5232,13 @@ wheels = [ [[package]] name = "zipp" -version = "3.22.0" +version = "3.23.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version == '3.10.*'", "python_full_version == '3.9.*'", ] -sdist = { url = "https://files.pythonhosted.org/packages/12/b6/7b3d16792fdf94f146bed92be90b4eb4563569eca91513c8609aebf0c167/zipp-3.22.0.tar.gz", hash = "sha256:dd2f28c3ce4bc67507bfd3781d21b7bb2be31103b51a4553ad7d90b84e57ace5", size = 25257, upload-time = "2025-05-26T14:46:32.217Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/02/0f2892c661036d50ede074e376733dca2ae7c6eb617489437771209d4180/zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166", size = 25547, upload-time = "2025-06-08T17:06:39.4Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ad/da/f64669af4cae46f17b90798a827519ce3737d31dbafad65d391e49643dc4/zipp-3.22.0-py3-none-any.whl", hash = "sha256:fe208f65f2aca48b81f9e6fd8cf7b8b32c26375266b009b413d45306b6148343", size = 9796, upload-time = "2025-05-26T14:46:30.775Z" }, + { url = "https://files.pythonhosted.org/packages/2e/54/647ade08bf0db230bfea292f893923872fd20be6ac6f53b2b936ba839d75/zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e", size = 10276, upload-time = "2025-06-08T17:06:38.034Z" }, ] From 430154e5120fec06a0dcf55f098579efa889b26f Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Tue, 10 Jun 2025 13:44:24 -0400 Subject: [PATCH 2/5] format: regenerate and reformat code using ruff --- plotly/graph_objs/_bar.py | 7 ++----- plotly/graph_objs/_barpolar.py | 7 ++----- plotly/graph_objs/_box.py | 7 ++----- plotly/graph_objs/_candlestick.py | 7 ++----- plotly/graph_objs/_carpet.py | 7 ++----- plotly/graph_objs/_choropleth.py | 7 ++----- plotly/graph_objs/_choroplethmap.py | 7 ++----- plotly/graph_objs/_choroplethmapbox.py | 7 ++----- plotly/graph_objs/_cone.py | 7 ++----- plotly/graph_objs/_contour.py | 7 ++----- plotly/graph_objs/_contourcarpet.py | 7 ++----- plotly/graph_objs/_densitymap.py | 7 ++----- plotly/graph_objs/_densitymapbox.py | 7 ++----- plotly/graph_objs/_figure.py | 1 - plotly/graph_objs/_figurewidget.py | 1 - plotly/graph_objs/_frame.py | 7 ++----- plotly/graph_objs/_funnel.py | 7 ++----- plotly/graph_objs/_funnelarea.py | 7 ++----- plotly/graph_objs/_heatmap.py | 7 ++----- plotly/graph_objs/_histogram.py | 7 ++----- plotly/graph_objs/_histogram2d.py | 7 ++----- plotly/graph_objs/_histogram2dcontour.py | 7 ++----- plotly/graph_objs/_icicle.py | 7 ++----- plotly/graph_objs/_image.py | 7 ++----- plotly/graph_objs/_indicator.py | 7 ++----- plotly/graph_objs/_isosurface.py | 7 ++----- plotly/graph_objs/_layout.py | 7 ++----- plotly/graph_objs/_mesh3d.py | 7 ++----- plotly/graph_objs/_ohlc.py | 7 ++----- plotly/graph_objs/_parcats.py | 7 ++----- plotly/graph_objs/_parcoords.py | 7 ++----- plotly/graph_objs/_pie.py | 7 ++----- plotly/graph_objs/_sankey.py | 7 ++----- plotly/graph_objs/_scatter.py | 7 ++----- plotly/graph_objs/_scatter3d.py | 7 ++----- plotly/graph_objs/_scattercarpet.py | 7 ++----- plotly/graph_objs/_scattergeo.py | 7 ++----- plotly/graph_objs/_scattergl.py | 7 ++----- plotly/graph_objs/_scattermap.py | 7 ++----- plotly/graph_objs/_scattermapbox.py | 7 ++----- plotly/graph_objs/_scatterpolar.py | 7 ++----- plotly/graph_objs/_scatterpolargl.py | 7 ++----- plotly/graph_objs/_scattersmith.py | 7 ++----- plotly/graph_objs/_scatterternary.py | 7 ++----- plotly/graph_objs/_splom.py | 7 ++----- plotly/graph_objs/_streamtube.py | 7 ++----- plotly/graph_objs/_sunburst.py | 7 ++----- plotly/graph_objs/_surface.py | 7 ++----- plotly/graph_objs/_table.py | 7 ++----- plotly/graph_objs/_treemap.py | 7 ++----- plotly/graph_objs/_violin.py | 7 ++----- plotly/graph_objs/_volume.py | 7 ++----- plotly/graph_objs/_waterfall.py | 7 ++----- plotly/graph_objs/bar/_error_x.py | 7 ++----- plotly/graph_objs/bar/_error_y.py | 7 ++----- plotly/graph_objs/bar/_hoverlabel.py | 7 ++----- plotly/graph_objs/bar/_insidetextfont.py | 7 ++----- plotly/graph_objs/bar/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/bar/_marker.py | 7 ++----- plotly/graph_objs/bar/_outsidetextfont.py | 7 ++----- plotly/graph_objs/bar/_selected.py | 7 ++----- plotly/graph_objs/bar/_stream.py | 7 ++----- plotly/graph_objs/bar/_textfont.py | 7 ++----- plotly/graph_objs/bar/_unselected.py | 7 ++----- plotly/graph_objs/bar/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/bar/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/bar/marker/_colorbar.py | 7 ++----- plotly/graph_objs/bar/marker/_line.py | 7 ++----- plotly/graph_objs/bar/marker/_pattern.py | 7 ++----- plotly/graph_objs/bar/marker/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/bar/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/bar/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/bar/selected/_marker.py | 7 ++----- plotly/graph_objs/bar/selected/_textfont.py | 7 ++----- plotly/graph_objs/bar/unselected/_marker.py | 7 ++----- plotly/graph_objs/bar/unselected/_textfont.py | 7 ++----- plotly/graph_objs/barpolar/_hoverlabel.py | 7 ++----- plotly/graph_objs/barpolar/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/barpolar/_marker.py | 7 ++----- plotly/graph_objs/barpolar/_selected.py | 7 ++----- plotly/graph_objs/barpolar/_stream.py | 7 ++----- plotly/graph_objs/barpolar/_unselected.py | 7 ++----- plotly/graph_objs/barpolar/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/barpolar/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/barpolar/marker/_colorbar.py | 7 ++----- plotly/graph_objs/barpolar/marker/_line.py | 7 ++----- plotly/graph_objs/barpolar/marker/_pattern.py | 7 ++----- plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py | 7 ++----- .../graph_objs/barpolar/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/barpolar/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/barpolar/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/barpolar/selected/_marker.py | 7 ++----- plotly/graph_objs/barpolar/selected/_textfont.py | 7 ++----- plotly/graph_objs/barpolar/unselected/_marker.py | 7 ++----- plotly/graph_objs/barpolar/unselected/_textfont.py | 7 ++----- plotly/graph_objs/box/_hoverlabel.py | 7 ++----- plotly/graph_objs/box/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/box/_line.py | 7 ++----- plotly/graph_objs/box/_marker.py | 7 ++----- plotly/graph_objs/box/_selected.py | 7 ++----- plotly/graph_objs/box/_stream.py | 7 ++----- plotly/graph_objs/box/_unselected.py | 7 ++----- plotly/graph_objs/box/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/box/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/box/marker/_line.py | 7 ++----- plotly/graph_objs/box/selected/_marker.py | 7 ++----- plotly/graph_objs/box/unselected/_marker.py | 7 ++----- plotly/graph_objs/candlestick/_decreasing.py | 7 ++----- plotly/graph_objs/candlestick/_hoverlabel.py | 7 ++----- plotly/graph_objs/candlestick/_increasing.py | 7 ++----- plotly/graph_objs/candlestick/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/candlestick/_line.py | 7 ++----- plotly/graph_objs/candlestick/_stream.py | 7 ++----- plotly/graph_objs/candlestick/decreasing/_line.py | 7 ++----- plotly/graph_objs/candlestick/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/candlestick/increasing/_line.py | 7 ++----- plotly/graph_objs/candlestick/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/carpet/_aaxis.py | 7 ++----- plotly/graph_objs/carpet/_baxis.py | 7 ++----- plotly/graph_objs/carpet/_font.py | 7 ++----- plotly/graph_objs/carpet/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/carpet/_stream.py | 7 ++----- plotly/graph_objs/carpet/aaxis/_tickfont.py | 7 ++----- plotly/graph_objs/carpet/aaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/carpet/aaxis/_title.py | 7 ++----- plotly/graph_objs/carpet/aaxis/title/_font.py | 7 ++----- plotly/graph_objs/carpet/baxis/_tickfont.py | 7 ++----- plotly/graph_objs/carpet/baxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/carpet/baxis/_title.py | 7 ++----- plotly/graph_objs/carpet/baxis/title/_font.py | 7 ++----- plotly/graph_objs/carpet/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/choropleth/_colorbar.py | 7 ++----- plotly/graph_objs/choropleth/_hoverlabel.py | 7 ++----- plotly/graph_objs/choropleth/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/choropleth/_marker.py | 7 ++----- plotly/graph_objs/choropleth/_selected.py | 7 ++----- plotly/graph_objs/choropleth/_stream.py | 7 ++----- plotly/graph_objs/choropleth/_unselected.py | 7 ++----- plotly/graph_objs/choropleth/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/choropleth/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/choropleth/colorbar/_title.py | 7 ++----- plotly/graph_objs/choropleth/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/choropleth/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/choropleth/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/choropleth/marker/_line.py | 7 ++----- plotly/graph_objs/choropleth/selected/_marker.py | 7 ++----- plotly/graph_objs/choropleth/unselected/_marker.py | 7 ++----- plotly/graph_objs/choroplethmap/_colorbar.py | 7 ++----- plotly/graph_objs/choroplethmap/_hoverlabel.py | 7 ++----- plotly/graph_objs/choroplethmap/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/choroplethmap/_marker.py | 7 ++----- plotly/graph_objs/choroplethmap/_selected.py | 7 ++----- plotly/graph_objs/choroplethmap/_stream.py | 7 ++----- plotly/graph_objs/choroplethmap/_unselected.py | 7 ++----- plotly/graph_objs/choroplethmap/colorbar/_tickfont.py | 7 ++----- .../graph_objs/choroplethmap/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/choroplethmap/colorbar/_title.py | 7 ++----- plotly/graph_objs/choroplethmap/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/choroplethmap/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/choroplethmap/marker/_line.py | 7 ++----- plotly/graph_objs/choroplethmap/selected/_marker.py | 7 ++----- plotly/graph_objs/choroplethmap/unselected/_marker.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_colorbar.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_hoverlabel.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_marker.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_selected.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_stream.py | 7 ++----- plotly/graph_objs/choroplethmapbox/_unselected.py | 7 ++----- plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py | 7 ++----- .../choroplethmapbox/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/choroplethmapbox/colorbar/_title.py | 7 ++----- plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py | 7 ++----- .../graph_objs/choroplethmapbox/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/choroplethmapbox/marker/_line.py | 7 ++----- plotly/graph_objs/choroplethmapbox/selected/_marker.py | 7 ++----- plotly/graph_objs/choroplethmapbox/unselected/_marker.py | 7 ++----- plotly/graph_objs/cone/_colorbar.py | 7 ++----- plotly/graph_objs/cone/_hoverlabel.py | 7 ++----- plotly/graph_objs/cone/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/cone/_lighting.py | 7 ++----- plotly/graph_objs/cone/_lightposition.py | 7 ++----- plotly/graph_objs/cone/_stream.py | 7 ++----- plotly/graph_objs/cone/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/cone/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/cone/colorbar/_title.py | 7 ++----- plotly/graph_objs/cone/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/cone/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/cone/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/contour/_colorbar.py | 7 ++----- plotly/graph_objs/contour/_contours.py | 7 ++----- plotly/graph_objs/contour/_hoverlabel.py | 7 ++----- plotly/graph_objs/contour/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/contour/_line.py | 7 ++----- plotly/graph_objs/contour/_stream.py | 7 ++----- plotly/graph_objs/contour/_textfont.py | 7 ++----- plotly/graph_objs/contour/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/contour/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/contour/colorbar/_title.py | 7 ++----- plotly/graph_objs/contour/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/contour/contours/_labelfont.py | 7 ++----- plotly/graph_objs/contour/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/contour/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/contourcarpet/_colorbar.py | 7 ++----- plotly/graph_objs/contourcarpet/_contours.py | 7 ++----- plotly/graph_objs/contourcarpet/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/contourcarpet/_line.py | 7 ++----- plotly/graph_objs/contourcarpet/_stream.py | 7 ++----- plotly/graph_objs/contourcarpet/colorbar/_tickfont.py | 7 ++----- .../graph_objs/contourcarpet/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/contourcarpet/colorbar/_title.py | 7 ++----- plotly/graph_objs/contourcarpet/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/contourcarpet/contours/_labelfont.py | 7 ++----- plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/densitymap/_colorbar.py | 7 ++----- plotly/graph_objs/densitymap/_hoverlabel.py | 7 ++----- plotly/graph_objs/densitymap/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/densitymap/_stream.py | 7 ++----- plotly/graph_objs/densitymap/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/densitymap/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/densitymap/colorbar/_title.py | 7 ++----- plotly/graph_objs/densitymap/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/densitymap/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/densitymap/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/densitymapbox/_colorbar.py | 7 ++----- plotly/graph_objs/densitymapbox/_hoverlabel.py | 7 ++----- plotly/graph_objs/densitymapbox/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/densitymapbox/_stream.py | 7 ++----- plotly/graph_objs/densitymapbox/colorbar/_tickfont.py | 7 ++----- .../graph_objs/densitymapbox/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/densitymapbox/colorbar/_title.py | 7 ++----- plotly/graph_objs/densitymapbox/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/densitymapbox/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/funnel/_connector.py | 7 ++----- plotly/graph_objs/funnel/_hoverlabel.py | 7 ++----- plotly/graph_objs/funnel/_insidetextfont.py | 7 ++----- plotly/graph_objs/funnel/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/funnel/_marker.py | 7 ++----- plotly/graph_objs/funnel/_outsidetextfont.py | 7 ++----- plotly/graph_objs/funnel/_stream.py | 7 ++----- plotly/graph_objs/funnel/_textfont.py | 7 ++----- plotly/graph_objs/funnel/connector/_line.py | 7 ++----- plotly/graph_objs/funnel/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/funnel/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/funnel/marker/_colorbar.py | 7 ++----- plotly/graph_objs/funnel/marker/_line.py | 7 ++----- plotly/graph_objs/funnel/marker/colorbar/_tickfont.py | 7 ++----- .../graph_objs/funnel/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/funnel/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/funnel/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/funnelarea/_domain.py | 7 ++----- plotly/graph_objs/funnelarea/_hoverlabel.py | 7 ++----- plotly/graph_objs/funnelarea/_insidetextfont.py | 7 ++----- plotly/graph_objs/funnelarea/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/funnelarea/_marker.py | 7 ++----- plotly/graph_objs/funnelarea/_stream.py | 7 ++----- plotly/graph_objs/funnelarea/_textfont.py | 7 ++----- plotly/graph_objs/funnelarea/_title.py | 7 ++----- plotly/graph_objs/funnelarea/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/funnelarea/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/funnelarea/marker/_line.py | 7 ++----- plotly/graph_objs/funnelarea/marker/_pattern.py | 7 ++----- plotly/graph_objs/funnelarea/title/_font.py | 7 ++----- plotly/graph_objs/heatmap/_colorbar.py | 7 ++----- plotly/graph_objs/heatmap/_hoverlabel.py | 7 ++----- plotly/graph_objs/heatmap/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/heatmap/_stream.py | 7 ++----- plotly/graph_objs/heatmap/_textfont.py | 7 ++----- plotly/graph_objs/heatmap/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/heatmap/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/heatmap/colorbar/_title.py | 7 ++----- plotly/graph_objs/heatmap/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/heatmap/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/heatmap/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/histogram/_cumulative.py | 7 ++----- plotly/graph_objs/histogram/_error_x.py | 7 ++----- plotly/graph_objs/histogram/_error_y.py | 7 ++----- plotly/graph_objs/histogram/_hoverlabel.py | 7 ++----- plotly/graph_objs/histogram/_insidetextfont.py | 7 ++----- plotly/graph_objs/histogram/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/histogram/_marker.py | 7 ++----- plotly/graph_objs/histogram/_outsidetextfont.py | 7 ++----- plotly/graph_objs/histogram/_selected.py | 7 ++----- plotly/graph_objs/histogram/_stream.py | 7 ++----- plotly/graph_objs/histogram/_textfont.py | 7 ++----- plotly/graph_objs/histogram/_unselected.py | 7 ++----- plotly/graph_objs/histogram/_xbins.py | 7 ++----- plotly/graph_objs/histogram/_ybins.py | 7 ++----- plotly/graph_objs/histogram/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/histogram/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/histogram/marker/_colorbar.py | 7 ++----- plotly/graph_objs/histogram/marker/_line.py | 7 ++----- plotly/graph_objs/histogram/marker/_pattern.py | 7 ++----- plotly/graph_objs/histogram/marker/colorbar/_tickfont.py | 7 ++----- .../histogram/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/histogram/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/histogram/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/histogram/selected/_marker.py | 7 ++----- plotly/graph_objs/histogram/selected/_textfont.py | 7 ++----- plotly/graph_objs/histogram/unselected/_marker.py | 7 ++----- plotly/graph_objs/histogram/unselected/_textfont.py | 7 ++----- plotly/graph_objs/histogram2d/_colorbar.py | 7 ++----- plotly/graph_objs/histogram2d/_hoverlabel.py | 7 ++----- plotly/graph_objs/histogram2d/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/histogram2d/_marker.py | 7 ++----- plotly/graph_objs/histogram2d/_stream.py | 7 ++----- plotly/graph_objs/histogram2d/_textfont.py | 7 ++----- plotly/graph_objs/histogram2d/_xbins.py | 7 ++----- plotly/graph_objs/histogram2d/_ybins.py | 7 ++----- plotly/graph_objs/histogram2d/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/histogram2d/colorbar/_title.py | 7 ++----- plotly/graph_objs/histogram2d/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/histogram2d/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/histogram2d/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_colorbar.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_contours.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_hoverlabel.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_line.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_marker.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_stream.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_textfont.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_xbins.py | 7 ++----- plotly/graph_objs/histogram2dcontour/_ybins.py | 7 ++----- plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py | 7 ++----- .../histogram2dcontour/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/histogram2dcontour/colorbar/_title.py | 7 ++----- .../graph_objs/histogram2dcontour/colorbar/title/_font.py | 7 ++----- .../graph_objs/histogram2dcontour/contours/_labelfont.py | 7 ++----- plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py | 7 ++----- .../histogram2dcontour/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/icicle/_domain.py | 7 ++----- plotly/graph_objs/icicle/_hoverlabel.py | 7 ++----- plotly/graph_objs/icicle/_insidetextfont.py | 7 ++----- plotly/graph_objs/icicle/_leaf.py | 7 ++----- plotly/graph_objs/icicle/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/icicle/_marker.py | 7 ++----- plotly/graph_objs/icicle/_outsidetextfont.py | 7 ++----- plotly/graph_objs/icicle/_pathbar.py | 7 ++----- plotly/graph_objs/icicle/_root.py | 7 ++----- plotly/graph_objs/icicle/_stream.py | 7 ++----- plotly/graph_objs/icicle/_textfont.py | 7 ++----- plotly/graph_objs/icicle/_tiling.py | 7 ++----- plotly/graph_objs/icicle/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/icicle/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/icicle/marker/_colorbar.py | 7 ++----- plotly/graph_objs/icicle/marker/_line.py | 7 ++----- plotly/graph_objs/icicle/marker/_pattern.py | 7 ++----- plotly/graph_objs/icicle/marker/colorbar/_tickfont.py | 7 ++----- .../graph_objs/icicle/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/icicle/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/icicle/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/icicle/pathbar/_textfont.py | 7 ++----- plotly/graph_objs/image/_hoverlabel.py | 7 ++----- plotly/graph_objs/image/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/image/_stream.py | 7 ++----- plotly/graph_objs/image/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/image/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/indicator/_delta.py | 7 ++----- plotly/graph_objs/indicator/_domain.py | 7 ++----- plotly/graph_objs/indicator/_gauge.py | 7 ++----- plotly/graph_objs/indicator/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/indicator/_number.py | 7 ++----- plotly/graph_objs/indicator/_stream.py | 7 ++----- plotly/graph_objs/indicator/_title.py | 7 ++----- plotly/graph_objs/indicator/delta/_decreasing.py | 7 ++----- plotly/graph_objs/indicator/delta/_font.py | 7 ++----- plotly/graph_objs/indicator/delta/_increasing.py | 7 ++----- plotly/graph_objs/indicator/gauge/_axis.py | 7 ++----- plotly/graph_objs/indicator/gauge/_bar.py | 7 ++----- plotly/graph_objs/indicator/gauge/_step.py | 7 ++----- plotly/graph_objs/indicator/gauge/_threshold.py | 7 ++----- plotly/graph_objs/indicator/gauge/axis/_tickfont.py | 7 ++----- plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py | 7 ++----- plotly/graph_objs/indicator/gauge/bar/_line.py | 7 ++----- plotly/graph_objs/indicator/gauge/step/_line.py | 7 ++----- plotly/graph_objs/indicator/gauge/threshold/_line.py | 7 ++----- plotly/graph_objs/indicator/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/indicator/number/_font.py | 7 ++----- plotly/graph_objs/indicator/title/_font.py | 7 ++----- plotly/graph_objs/isosurface/_caps.py | 7 ++----- plotly/graph_objs/isosurface/_colorbar.py | 7 ++----- plotly/graph_objs/isosurface/_contour.py | 7 ++----- plotly/graph_objs/isosurface/_hoverlabel.py | 7 ++----- plotly/graph_objs/isosurface/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/isosurface/_lighting.py | 7 ++----- plotly/graph_objs/isosurface/_lightposition.py | 7 ++----- plotly/graph_objs/isosurface/_slices.py | 7 ++----- plotly/graph_objs/isosurface/_spaceframe.py | 7 ++----- plotly/graph_objs/isosurface/_stream.py | 7 ++----- plotly/graph_objs/isosurface/_surface.py | 7 ++----- plotly/graph_objs/isosurface/caps/_x.py | 7 ++----- plotly/graph_objs/isosurface/caps/_y.py | 7 ++----- plotly/graph_objs/isosurface/caps/_z.py | 7 ++----- plotly/graph_objs/isosurface/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/isosurface/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/isosurface/colorbar/_title.py | 7 ++----- plotly/graph_objs/isosurface/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/isosurface/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/isosurface/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/isosurface/slices/_x.py | 7 ++----- plotly/graph_objs/isosurface/slices/_y.py | 7 ++----- plotly/graph_objs/isosurface/slices/_z.py | 7 ++----- plotly/graph_objs/layout/_activeselection.py | 7 ++----- plotly/graph_objs/layout/_activeshape.py | 7 ++----- plotly/graph_objs/layout/_annotation.py | 7 ++----- plotly/graph_objs/layout/_coloraxis.py | 7 ++----- plotly/graph_objs/layout/_colorscale.py | 7 ++----- plotly/graph_objs/layout/_font.py | 7 ++----- plotly/graph_objs/layout/_geo.py | 7 ++----- plotly/graph_objs/layout/_grid.py | 7 ++----- plotly/graph_objs/layout/_hoverlabel.py | 7 ++----- plotly/graph_objs/layout/_image.py | 7 ++----- plotly/graph_objs/layout/_legend.py | 7 ++----- plotly/graph_objs/layout/_map.py | 7 ++----- plotly/graph_objs/layout/_mapbox.py | 7 ++----- plotly/graph_objs/layout/_margin.py | 7 ++----- plotly/graph_objs/layout/_modebar.py | 7 ++----- plotly/graph_objs/layout/_newselection.py | 7 ++----- plotly/graph_objs/layout/_newshape.py | 7 ++----- plotly/graph_objs/layout/_polar.py | 7 ++----- plotly/graph_objs/layout/_scene.py | 7 ++----- plotly/graph_objs/layout/_selection.py | 7 ++----- plotly/graph_objs/layout/_shape.py | 7 ++----- plotly/graph_objs/layout/_slider.py | 7 ++----- plotly/graph_objs/layout/_smith.py | 7 ++----- plotly/graph_objs/layout/_template.py | 7 ++----- plotly/graph_objs/layout/_ternary.py | 7 ++----- plotly/graph_objs/layout/_title.py | 7 ++----- plotly/graph_objs/layout/_transition.py | 7 ++----- plotly/graph_objs/layout/_uniformtext.py | 7 ++----- plotly/graph_objs/layout/_updatemenu.py | 7 ++----- plotly/graph_objs/layout/_xaxis.py | 7 ++----- plotly/graph_objs/layout/_yaxis.py | 7 ++----- plotly/graph_objs/layout/annotation/_font.py | 7 ++----- plotly/graph_objs/layout/annotation/_hoverlabel.py | 7 ++----- plotly/graph_objs/layout/annotation/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/layout/coloraxis/_colorbar.py | 7 ++----- plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py | 7 ++----- .../layout/coloraxis/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/coloraxis/colorbar/_title.py | 7 ++----- plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/layout/geo/_center.py | 7 ++----- plotly/graph_objs/layout/geo/_domain.py | 7 ++----- plotly/graph_objs/layout/geo/_lataxis.py | 7 ++----- plotly/graph_objs/layout/geo/_lonaxis.py | 7 ++----- plotly/graph_objs/layout/geo/_projection.py | 7 ++----- plotly/graph_objs/layout/geo/projection/_rotation.py | 7 ++----- plotly/graph_objs/layout/grid/_domain.py | 7 ++----- plotly/graph_objs/layout/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py | 7 ++----- plotly/graph_objs/layout/legend/_font.py | 7 ++----- plotly/graph_objs/layout/legend/_grouptitlefont.py | 7 ++----- plotly/graph_objs/layout/legend/_title.py | 7 ++----- plotly/graph_objs/layout/legend/title/_font.py | 7 ++----- plotly/graph_objs/layout/map/_bounds.py | 7 ++----- plotly/graph_objs/layout/map/_center.py | 7 ++----- plotly/graph_objs/layout/map/_domain.py | 7 ++----- plotly/graph_objs/layout/map/_layer.py | 7 ++----- plotly/graph_objs/layout/map/layer/_circle.py | 7 ++----- plotly/graph_objs/layout/map/layer/_fill.py | 7 ++----- plotly/graph_objs/layout/map/layer/_line.py | 7 ++----- plotly/graph_objs/layout/map/layer/_symbol.py | 7 ++----- plotly/graph_objs/layout/map/layer/symbol/_textfont.py | 7 ++----- plotly/graph_objs/layout/mapbox/_bounds.py | 7 ++----- plotly/graph_objs/layout/mapbox/_center.py | 7 ++----- plotly/graph_objs/layout/mapbox/_domain.py | 7 ++----- plotly/graph_objs/layout/mapbox/_layer.py | 7 ++----- plotly/graph_objs/layout/mapbox/layer/_circle.py | 7 ++----- plotly/graph_objs/layout/mapbox/layer/_fill.py | 7 ++----- plotly/graph_objs/layout/mapbox/layer/_line.py | 7 ++----- plotly/graph_objs/layout/mapbox/layer/_symbol.py | 7 ++----- plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py | 7 ++----- plotly/graph_objs/layout/newselection/_line.py | 7 ++----- plotly/graph_objs/layout/newshape/_label.py | 7 ++----- plotly/graph_objs/layout/newshape/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/layout/newshape/_line.py | 7 ++----- plotly/graph_objs/layout/newshape/label/_font.py | 7 ++----- .../graph_objs/layout/newshape/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/layout/polar/_angularaxis.py | 7 ++----- plotly/graph_objs/layout/polar/_domain.py | 7 ++----- plotly/graph_objs/layout/polar/_radialaxis.py | 7 ++----- plotly/graph_objs/layout/polar/angularaxis/_tickfont.py | 7 ++----- .../graph_objs/layout/polar/angularaxis/_tickformatstop.py | 7 ++----- .../layout/polar/radialaxis/_autorangeoptions.py | 7 ++----- plotly/graph_objs/layout/polar/radialaxis/_tickfont.py | 7 ++----- .../graph_objs/layout/polar/radialaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/polar/radialaxis/_title.py | 7 ++----- plotly/graph_objs/layout/polar/radialaxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/scene/_annotation.py | 7 ++----- plotly/graph_objs/layout/scene/_aspectratio.py | 7 ++----- plotly/graph_objs/layout/scene/_camera.py | 7 ++----- plotly/graph_objs/layout/scene/_domain.py | 7 ++----- plotly/graph_objs/layout/scene/_xaxis.py | 7 ++----- plotly/graph_objs/layout/scene/_yaxis.py | 7 ++----- plotly/graph_objs/layout/scene/_zaxis.py | 7 ++----- plotly/graph_objs/layout/scene/annotation/_font.py | 7 ++----- plotly/graph_objs/layout/scene/annotation/_hoverlabel.py | 7 ++----- .../graph_objs/layout/scene/annotation/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/layout/scene/camera/_center.py | 7 ++----- plotly/graph_objs/layout/scene/camera/_eye.py | 7 ++----- plotly/graph_objs/layout/scene/camera/_projection.py | 7 ++----- plotly/graph_objs/layout/scene/camera/_up.py | 7 ++----- plotly/graph_objs/layout/scene/xaxis/_autorangeoptions.py | 7 ++----- plotly/graph_objs/layout/scene/xaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/scene/xaxis/_title.py | 7 ++----- plotly/graph_objs/layout/scene/xaxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/scene/yaxis/_autorangeoptions.py | 7 ++----- plotly/graph_objs/layout/scene/yaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/scene/yaxis/_title.py | 7 ++----- plotly/graph_objs/layout/scene/yaxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/scene/zaxis/_autorangeoptions.py | 7 ++----- plotly/graph_objs/layout/scene/zaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/scene/zaxis/_title.py | 7 ++----- plotly/graph_objs/layout/scene/zaxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/selection/_line.py | 7 ++----- plotly/graph_objs/layout/shape/_label.py | 7 ++----- plotly/graph_objs/layout/shape/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/layout/shape/_line.py | 7 ++----- plotly/graph_objs/layout/shape/label/_font.py | 7 ++----- plotly/graph_objs/layout/shape/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/layout/slider/_currentvalue.py | 7 ++----- plotly/graph_objs/layout/slider/_font.py | 7 ++----- plotly/graph_objs/layout/slider/_pad.py | 7 ++----- plotly/graph_objs/layout/slider/_step.py | 7 ++----- plotly/graph_objs/layout/slider/_transition.py | 7 ++----- plotly/graph_objs/layout/slider/currentvalue/_font.py | 7 ++----- plotly/graph_objs/layout/smith/_domain.py | 7 ++----- plotly/graph_objs/layout/smith/_imaginaryaxis.py | 7 ++----- plotly/graph_objs/layout/smith/_realaxis.py | 7 ++----- plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/smith/realaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/template/_data.py | 7 ++----- plotly/graph_objs/layout/ternary/_aaxis.py | 7 ++----- plotly/graph_objs/layout/ternary/_baxis.py | 7 ++----- plotly/graph_objs/layout/ternary/_caxis.py | 7 ++----- plotly/graph_objs/layout/ternary/_domain.py | 7 ++----- plotly/graph_objs/layout/ternary/aaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/ternary/aaxis/_title.py | 7 ++----- plotly/graph_objs/layout/ternary/aaxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/ternary/baxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/ternary/baxis/_title.py | 7 ++----- plotly/graph_objs/layout/ternary/baxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/ternary/caxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/ternary/caxis/_title.py | 7 ++----- plotly/graph_objs/layout/ternary/caxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/title/_font.py | 7 ++----- plotly/graph_objs/layout/title/_pad.py | 7 ++----- plotly/graph_objs/layout/title/_subtitle.py | 7 ++----- plotly/graph_objs/layout/title/subtitle/_font.py | 7 ++----- plotly/graph_objs/layout/updatemenu/_button.py | 7 ++----- plotly/graph_objs/layout/updatemenu/_font.py | 7 ++----- plotly/graph_objs/layout/updatemenu/_pad.py | 7 ++----- plotly/graph_objs/layout/xaxis/_autorangeoptions.py | 7 ++----- plotly/graph_objs/layout/xaxis/_minor.py | 7 ++----- plotly/graph_objs/layout/xaxis/_rangebreak.py | 7 ++----- plotly/graph_objs/layout/xaxis/_rangeselector.py | 7 ++----- plotly/graph_objs/layout/xaxis/_rangeslider.py | 7 ++----- plotly/graph_objs/layout/xaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/xaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/xaxis/_title.py | 7 ++----- plotly/graph_objs/layout/xaxis/rangeselector/_button.py | 7 ++----- plotly/graph_objs/layout/xaxis/rangeselector/_font.py | 7 ++----- plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py | 7 ++----- plotly/graph_objs/layout/xaxis/title/_font.py | 7 ++----- plotly/graph_objs/layout/yaxis/_autorangeoptions.py | 7 ++----- plotly/graph_objs/layout/yaxis/_minor.py | 7 ++----- plotly/graph_objs/layout/yaxis/_rangebreak.py | 7 ++----- plotly/graph_objs/layout/yaxis/_tickfont.py | 7 ++----- plotly/graph_objs/layout/yaxis/_tickformatstop.py | 7 ++----- plotly/graph_objs/layout/yaxis/_title.py | 7 ++----- plotly/graph_objs/layout/yaxis/title/_font.py | 7 ++----- plotly/graph_objs/mesh3d/_colorbar.py | 7 ++----- plotly/graph_objs/mesh3d/_contour.py | 7 ++----- plotly/graph_objs/mesh3d/_hoverlabel.py | 7 ++----- plotly/graph_objs/mesh3d/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/mesh3d/_lighting.py | 7 ++----- plotly/graph_objs/mesh3d/_lightposition.py | 7 ++----- plotly/graph_objs/mesh3d/_stream.py | 7 ++----- plotly/graph_objs/mesh3d/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/mesh3d/colorbar/_title.py | 7 ++----- plotly/graph_objs/mesh3d/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/mesh3d/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/mesh3d/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/ohlc/_decreasing.py | 7 ++----- plotly/graph_objs/ohlc/_hoverlabel.py | 7 ++----- plotly/graph_objs/ohlc/_increasing.py | 7 ++----- plotly/graph_objs/ohlc/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/ohlc/_line.py | 7 ++----- plotly/graph_objs/ohlc/_stream.py | 7 ++----- plotly/graph_objs/ohlc/decreasing/_line.py | 7 ++----- plotly/graph_objs/ohlc/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/ohlc/increasing/_line.py | 7 ++----- plotly/graph_objs/ohlc/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/parcats/_dimension.py | 7 ++----- plotly/graph_objs/parcats/_domain.py | 7 ++----- plotly/graph_objs/parcats/_labelfont.py | 7 ++----- plotly/graph_objs/parcats/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/parcats/_line.py | 7 ++----- plotly/graph_objs/parcats/_stream.py | 7 ++----- plotly/graph_objs/parcats/_tickfont.py | 7 ++----- plotly/graph_objs/parcats/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/parcats/line/_colorbar.py | 7 ++----- plotly/graph_objs/parcats/line/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/parcats/line/colorbar/_title.py | 7 ++----- plotly/graph_objs/parcats/line/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/parcoords/_dimension.py | 7 ++----- plotly/graph_objs/parcoords/_domain.py | 7 ++----- plotly/graph_objs/parcoords/_labelfont.py | 7 ++----- plotly/graph_objs/parcoords/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/parcoords/_line.py | 7 ++----- plotly/graph_objs/parcoords/_rangefont.py | 7 ++----- plotly/graph_objs/parcoords/_stream.py | 7 ++----- plotly/graph_objs/parcoords/_tickfont.py | 7 ++----- plotly/graph_objs/parcoords/_unselected.py | 7 ++----- plotly/graph_objs/parcoords/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/parcoords/line/_colorbar.py | 7 ++----- plotly/graph_objs/parcoords/line/colorbar/_tickfont.py | 7 ++----- .../graph_objs/parcoords/line/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/parcoords/line/colorbar/_title.py | 7 ++----- plotly/graph_objs/parcoords/line/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/parcoords/unselected/_line.py | 7 ++----- plotly/graph_objs/pie/_domain.py | 7 ++----- plotly/graph_objs/pie/_hoverlabel.py | 7 ++----- plotly/graph_objs/pie/_insidetextfont.py | 7 ++----- plotly/graph_objs/pie/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/pie/_marker.py | 7 ++----- plotly/graph_objs/pie/_outsidetextfont.py | 7 ++----- plotly/graph_objs/pie/_stream.py | 7 ++----- plotly/graph_objs/pie/_textfont.py | 7 ++----- plotly/graph_objs/pie/_title.py | 7 ++----- plotly/graph_objs/pie/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/pie/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/pie/marker/_line.py | 7 ++----- plotly/graph_objs/pie/marker/_pattern.py | 7 ++----- plotly/graph_objs/pie/title/_font.py | 7 ++----- plotly/graph_objs/sankey/_domain.py | 7 ++----- plotly/graph_objs/sankey/_hoverlabel.py | 7 ++----- plotly/graph_objs/sankey/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/sankey/_link.py | 7 ++----- plotly/graph_objs/sankey/_node.py | 7 ++----- plotly/graph_objs/sankey/_stream.py | 7 ++----- plotly/graph_objs/sankey/_textfont.py | 7 ++----- plotly/graph_objs/sankey/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/sankey/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/sankey/link/_colorscale.py | 7 ++----- plotly/graph_objs/sankey/link/_hoverlabel.py | 7 ++----- plotly/graph_objs/sankey/link/_line.py | 7 ++----- plotly/graph_objs/sankey/link/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/sankey/node/_hoverlabel.py | 7 ++----- plotly/graph_objs/sankey/node/_line.py | 7 ++----- plotly/graph_objs/sankey/node/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scatter/_error_x.py | 7 ++----- plotly/graph_objs/scatter/_error_y.py | 7 ++----- plotly/graph_objs/scatter/_fillgradient.py | 7 ++----- plotly/graph_objs/scatter/_fillpattern.py | 7 ++----- plotly/graph_objs/scatter/_hoverlabel.py | 7 ++----- plotly/graph_objs/scatter/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scatter/_line.py | 7 ++----- plotly/graph_objs/scatter/_marker.py | 7 ++----- plotly/graph_objs/scatter/_selected.py | 7 ++----- plotly/graph_objs/scatter/_stream.py | 7 ++----- plotly/graph_objs/scatter/_textfont.py | 7 ++----- plotly/graph_objs/scatter/_unselected.py | 7 ++----- plotly/graph_objs/scatter/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scatter/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scatter/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scatter/marker/_gradient.py | 7 ++----- plotly/graph_objs/scatter/marker/_line.py | 7 ++----- plotly/graph_objs/scatter/marker/colorbar/_tickfont.py | 7 ++----- .../graph_objs/scatter/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scatter/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/scatter/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scatter/selected/_marker.py | 7 ++----- plotly/graph_objs/scatter/selected/_textfont.py | 7 ++----- plotly/graph_objs/scatter/unselected/_marker.py | 7 ++----- plotly/graph_objs/scatter/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scatter3d/_error_x.py | 7 ++----- plotly/graph_objs/scatter3d/_error_y.py | 7 ++----- plotly/graph_objs/scatter3d/_error_z.py | 7 ++----- plotly/graph_objs/scatter3d/_hoverlabel.py | 7 ++----- plotly/graph_objs/scatter3d/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scatter3d/_line.py | 7 ++----- plotly/graph_objs/scatter3d/_marker.py | 7 ++----- plotly/graph_objs/scatter3d/_projection.py | 7 ++----- plotly/graph_objs/scatter3d/_stream.py | 7 ++----- plotly/graph_objs/scatter3d/_textfont.py | 7 ++----- plotly/graph_objs/scatter3d/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scatter3d/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scatter3d/line/_colorbar.py | 7 ++----- plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py | 7 ++----- .../graph_objs/scatter3d/line/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scatter3d/line/colorbar/_title.py | 7 ++----- plotly/graph_objs/scatter3d/line/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scatter3d/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scatter3d/marker/_line.py | 7 ++----- plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py | 7 ++----- .../scatter3d/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scatter3d/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scatter3d/projection/_x.py | 7 ++----- plotly/graph_objs/scatter3d/projection/_y.py | 7 ++----- plotly/graph_objs/scatter3d/projection/_z.py | 7 ++----- plotly/graph_objs/scattercarpet/_hoverlabel.py | 7 ++----- plotly/graph_objs/scattercarpet/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scattercarpet/_line.py | 7 ++----- plotly/graph_objs/scattercarpet/_marker.py | 7 ++----- plotly/graph_objs/scattercarpet/_selected.py | 7 ++----- plotly/graph_objs/scattercarpet/_stream.py | 7 ++----- plotly/graph_objs/scattercarpet/_textfont.py | 7 ++----- plotly/graph_objs/scattercarpet/_unselected.py | 7 ++----- plotly/graph_objs/scattercarpet/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scattercarpet/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scattercarpet/marker/_gradient.py | 7 ++----- plotly/graph_objs/scattercarpet/marker/_line.py | 7 ++----- .../graph_objs/scattercarpet/marker/colorbar/_tickfont.py | 7 ++----- .../scattercarpet/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scattercarpet/marker/colorbar/_title.py | 7 ++----- .../scattercarpet/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scattercarpet/selected/_marker.py | 7 ++----- plotly/graph_objs/scattercarpet/selected/_textfont.py | 7 ++----- plotly/graph_objs/scattercarpet/unselected/_marker.py | 7 ++----- plotly/graph_objs/scattercarpet/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scattergeo/_hoverlabel.py | 7 ++----- plotly/graph_objs/scattergeo/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scattergeo/_line.py | 7 ++----- plotly/graph_objs/scattergeo/_marker.py | 7 ++----- plotly/graph_objs/scattergeo/_selected.py | 7 ++----- plotly/graph_objs/scattergeo/_stream.py | 7 ++----- plotly/graph_objs/scattergeo/_textfont.py | 7 ++----- plotly/graph_objs/scattergeo/_unselected.py | 7 ++----- plotly/graph_objs/scattergeo/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scattergeo/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scattergeo/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scattergeo/marker/_gradient.py | 7 ++----- plotly/graph_objs/scattergeo/marker/_line.py | 7 ++----- plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py | 7 ++----- .../scattergeo/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scattergeo/marker/colorbar/_title.py | 7 ++----- .../graph_objs/scattergeo/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scattergeo/selected/_marker.py | 7 ++----- plotly/graph_objs/scattergeo/selected/_textfont.py | 7 ++----- plotly/graph_objs/scattergeo/unselected/_marker.py | 7 ++----- plotly/graph_objs/scattergeo/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scattergl/_error_x.py | 7 ++----- plotly/graph_objs/scattergl/_error_y.py | 7 ++----- plotly/graph_objs/scattergl/_hoverlabel.py | 7 ++----- plotly/graph_objs/scattergl/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scattergl/_line.py | 7 ++----- plotly/graph_objs/scattergl/_marker.py | 7 ++----- plotly/graph_objs/scattergl/_selected.py | 7 ++----- plotly/graph_objs/scattergl/_stream.py | 7 ++----- plotly/graph_objs/scattergl/_textfont.py | 7 ++----- plotly/graph_objs/scattergl/_unselected.py | 7 ++----- plotly/graph_objs/scattergl/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scattergl/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scattergl/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scattergl/marker/_line.py | 7 ++----- plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py | 7 ++----- .../scattergl/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scattergl/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/scattergl/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scattergl/selected/_marker.py | 7 ++----- plotly/graph_objs/scattergl/selected/_textfont.py | 7 ++----- plotly/graph_objs/scattergl/unselected/_marker.py | 7 ++----- plotly/graph_objs/scattergl/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scattermap/_cluster.py | 7 ++----- plotly/graph_objs/scattermap/_hoverlabel.py | 7 ++----- plotly/graph_objs/scattermap/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scattermap/_line.py | 7 ++----- plotly/graph_objs/scattermap/_marker.py | 7 ++----- plotly/graph_objs/scattermap/_selected.py | 7 ++----- plotly/graph_objs/scattermap/_stream.py | 7 ++----- plotly/graph_objs/scattermap/_textfont.py | 7 ++----- plotly/graph_objs/scattermap/_unselected.py | 7 ++----- plotly/graph_objs/scattermap/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scattermap/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scattermap/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py | 7 ++----- .../scattermap/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scattermap/marker/colorbar/_title.py | 7 ++----- .../graph_objs/scattermap/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scattermap/selected/_marker.py | 7 ++----- plotly/graph_objs/scattermap/unselected/_marker.py | 7 ++----- plotly/graph_objs/scattermapbox/_cluster.py | 7 ++----- plotly/graph_objs/scattermapbox/_hoverlabel.py | 7 ++----- plotly/graph_objs/scattermapbox/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scattermapbox/_line.py | 7 ++----- plotly/graph_objs/scattermapbox/_marker.py | 7 ++----- plotly/graph_objs/scattermapbox/_selected.py | 7 ++----- plotly/graph_objs/scattermapbox/_stream.py | 7 ++----- plotly/graph_objs/scattermapbox/_textfont.py | 7 ++----- plotly/graph_objs/scattermapbox/_unselected.py | 7 ++----- plotly/graph_objs/scattermapbox/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scattermapbox/marker/_colorbar.py | 7 ++----- .../graph_objs/scattermapbox/marker/colorbar/_tickfont.py | 7 ++----- .../scattermapbox/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scattermapbox/marker/colorbar/_title.py | 7 ++----- .../scattermapbox/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scattermapbox/selected/_marker.py | 7 ++----- plotly/graph_objs/scattermapbox/unselected/_marker.py | 7 ++----- plotly/graph_objs/scatterpolar/_hoverlabel.py | 7 ++----- plotly/graph_objs/scatterpolar/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scatterpolar/_line.py | 7 ++----- plotly/graph_objs/scatterpolar/_marker.py | 7 ++----- plotly/graph_objs/scatterpolar/_selected.py | 7 ++----- plotly/graph_objs/scatterpolar/_stream.py | 7 ++----- plotly/graph_objs/scatterpolar/_textfont.py | 7 ++----- plotly/graph_objs/scatterpolar/_unselected.py | 7 ++----- plotly/graph_objs/scatterpolar/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scatterpolar/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scatterpolar/marker/_gradient.py | 7 ++----- plotly/graph_objs/scatterpolar/marker/_line.py | 7 ++----- .../graph_objs/scatterpolar/marker/colorbar/_tickfont.py | 7 ++----- .../scatterpolar/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scatterpolar/marker/colorbar/_title.py | 7 ++----- .../graph_objs/scatterpolar/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scatterpolar/selected/_marker.py | 7 ++----- plotly/graph_objs/scatterpolar/selected/_textfont.py | 7 ++----- plotly/graph_objs/scatterpolar/unselected/_marker.py | 7 ++----- plotly/graph_objs/scatterpolar/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scatterpolargl/_hoverlabel.py | 7 ++----- plotly/graph_objs/scatterpolargl/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scatterpolargl/_line.py | 7 ++----- plotly/graph_objs/scatterpolargl/_marker.py | 7 ++----- plotly/graph_objs/scatterpolargl/_selected.py | 7 ++----- plotly/graph_objs/scatterpolargl/_stream.py | 7 ++----- plotly/graph_objs/scatterpolargl/_textfont.py | 7 ++----- plotly/graph_objs/scatterpolargl/_unselected.py | 7 ++----- plotly/graph_objs/scatterpolargl/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scatterpolargl/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scatterpolargl/marker/_line.py | 7 ++----- .../graph_objs/scatterpolargl/marker/colorbar/_tickfont.py | 7 ++----- .../scatterpolargl/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py | 7 ++----- .../scatterpolargl/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scatterpolargl/selected/_marker.py | 7 ++----- plotly/graph_objs/scatterpolargl/selected/_textfont.py | 7 ++----- plotly/graph_objs/scatterpolargl/unselected/_marker.py | 7 ++----- plotly/graph_objs/scatterpolargl/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scattersmith/_hoverlabel.py | 7 ++----- plotly/graph_objs/scattersmith/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scattersmith/_line.py | 7 ++----- plotly/graph_objs/scattersmith/_marker.py | 7 ++----- plotly/graph_objs/scattersmith/_selected.py | 7 ++----- plotly/graph_objs/scattersmith/_stream.py | 7 ++----- plotly/graph_objs/scattersmith/_textfont.py | 7 ++----- plotly/graph_objs/scattersmith/_unselected.py | 7 ++----- plotly/graph_objs/scattersmith/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scattersmith/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scattersmith/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scattersmith/marker/_gradient.py | 7 ++----- plotly/graph_objs/scattersmith/marker/_line.py | 7 ++----- .../graph_objs/scattersmith/marker/colorbar/_tickfont.py | 7 ++----- .../scattersmith/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scattersmith/marker/colorbar/_title.py | 7 ++----- .../graph_objs/scattersmith/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scattersmith/selected/_marker.py | 7 ++----- plotly/graph_objs/scattersmith/selected/_textfont.py | 7 ++----- plotly/graph_objs/scattersmith/unselected/_marker.py | 7 ++----- plotly/graph_objs/scattersmith/unselected/_textfont.py | 7 ++----- plotly/graph_objs/scatterternary/_hoverlabel.py | 7 ++----- plotly/graph_objs/scatterternary/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/scatterternary/_line.py | 7 ++----- plotly/graph_objs/scatterternary/_marker.py | 7 ++----- plotly/graph_objs/scatterternary/_selected.py | 7 ++----- plotly/graph_objs/scatterternary/_stream.py | 7 ++----- plotly/graph_objs/scatterternary/_textfont.py | 7 ++----- plotly/graph_objs/scatterternary/_unselected.py | 7 ++----- plotly/graph_objs/scatterternary/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/scatterternary/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/scatterternary/marker/_colorbar.py | 7 ++----- plotly/graph_objs/scatterternary/marker/_gradient.py | 7 ++----- plotly/graph_objs/scatterternary/marker/_line.py | 7 ++----- .../graph_objs/scatterternary/marker/colorbar/_tickfont.py | 7 ++----- .../scatterternary/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/scatterternary/marker/colorbar/_title.py | 7 ++----- .../scatterternary/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/scatterternary/selected/_marker.py | 7 ++----- plotly/graph_objs/scatterternary/selected/_textfont.py | 7 ++----- plotly/graph_objs/scatterternary/unselected/_marker.py | 7 ++----- plotly/graph_objs/scatterternary/unselected/_textfont.py | 7 ++----- plotly/graph_objs/splom/_diagonal.py | 7 ++----- plotly/graph_objs/splom/_dimension.py | 7 ++----- plotly/graph_objs/splom/_hoverlabel.py | 7 ++----- plotly/graph_objs/splom/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/splom/_marker.py | 7 ++----- plotly/graph_objs/splom/_selected.py | 7 ++----- plotly/graph_objs/splom/_stream.py | 7 ++----- plotly/graph_objs/splom/_unselected.py | 7 ++----- plotly/graph_objs/splom/dimension/_axis.py | 7 ++----- plotly/graph_objs/splom/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/splom/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/splom/marker/_colorbar.py | 7 ++----- plotly/graph_objs/splom/marker/_line.py | 7 ++----- plotly/graph_objs/splom/marker/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/splom/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/splom/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/splom/selected/_marker.py | 7 ++----- plotly/graph_objs/splom/unselected/_marker.py | 7 ++----- plotly/graph_objs/streamtube/_colorbar.py | 7 ++----- plotly/graph_objs/streamtube/_hoverlabel.py | 7 ++----- plotly/graph_objs/streamtube/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/streamtube/_lighting.py | 7 ++----- plotly/graph_objs/streamtube/_lightposition.py | 7 ++----- plotly/graph_objs/streamtube/_starts.py | 7 ++----- plotly/graph_objs/streamtube/_stream.py | 7 ++----- plotly/graph_objs/streamtube/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/streamtube/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/streamtube/colorbar/_title.py | 7 ++----- plotly/graph_objs/streamtube/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/streamtube/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/streamtube/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/sunburst/_domain.py | 7 ++----- plotly/graph_objs/sunburst/_hoverlabel.py | 7 ++----- plotly/graph_objs/sunburst/_insidetextfont.py | 7 ++----- plotly/graph_objs/sunburst/_leaf.py | 7 ++----- plotly/graph_objs/sunburst/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/sunburst/_marker.py | 7 ++----- plotly/graph_objs/sunburst/_outsidetextfont.py | 7 ++----- plotly/graph_objs/sunburst/_root.py | 7 ++----- plotly/graph_objs/sunburst/_stream.py | 7 ++----- plotly/graph_objs/sunburst/_textfont.py | 7 ++----- plotly/graph_objs/sunburst/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/sunburst/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/sunburst/marker/_colorbar.py | 7 ++----- plotly/graph_objs/sunburst/marker/_line.py | 7 ++----- plotly/graph_objs/sunburst/marker/_pattern.py | 7 ++----- plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py | 7 ++----- .../graph_objs/sunburst/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/sunburst/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/sunburst/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/surface/_colorbar.py | 7 ++----- plotly/graph_objs/surface/_contours.py | 7 ++----- plotly/graph_objs/surface/_hoverlabel.py | 7 ++----- plotly/graph_objs/surface/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/surface/_lighting.py | 7 ++----- plotly/graph_objs/surface/_lightposition.py | 7 ++----- plotly/graph_objs/surface/_stream.py | 7 ++----- plotly/graph_objs/surface/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/surface/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/surface/colorbar/_title.py | 7 ++----- plotly/graph_objs/surface/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/surface/contours/_x.py | 7 ++----- plotly/graph_objs/surface/contours/_y.py | 7 ++----- plotly/graph_objs/surface/contours/_z.py | 7 ++----- plotly/graph_objs/surface/contours/x/_project.py | 7 ++----- plotly/graph_objs/surface/contours/y/_project.py | 7 ++----- plotly/graph_objs/surface/contours/z/_project.py | 7 ++----- plotly/graph_objs/surface/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/surface/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/table/_cells.py | 7 ++----- plotly/graph_objs/table/_domain.py | 7 ++----- plotly/graph_objs/table/_header.py | 7 ++----- plotly/graph_objs/table/_hoverlabel.py | 7 ++----- plotly/graph_objs/table/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/table/_stream.py | 7 ++----- plotly/graph_objs/table/cells/_fill.py | 7 ++----- plotly/graph_objs/table/cells/_font.py | 7 ++----- plotly/graph_objs/table/cells/_line.py | 7 ++----- plotly/graph_objs/table/header/_fill.py | 7 ++----- plotly/graph_objs/table/header/_font.py | 7 ++----- plotly/graph_objs/table/header/_line.py | 7 ++----- plotly/graph_objs/table/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/table/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/treemap/_domain.py | 7 ++----- plotly/graph_objs/treemap/_hoverlabel.py | 7 ++----- plotly/graph_objs/treemap/_insidetextfont.py | 7 ++----- plotly/graph_objs/treemap/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/treemap/_marker.py | 7 ++----- plotly/graph_objs/treemap/_outsidetextfont.py | 7 ++----- plotly/graph_objs/treemap/_pathbar.py | 7 ++----- plotly/graph_objs/treemap/_root.py | 7 ++----- plotly/graph_objs/treemap/_stream.py | 7 ++----- plotly/graph_objs/treemap/_textfont.py | 7 ++----- plotly/graph_objs/treemap/_tiling.py | 7 ++----- plotly/graph_objs/treemap/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/treemap/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/treemap/marker/_colorbar.py | 7 ++----- plotly/graph_objs/treemap/marker/_line.py | 7 ++----- plotly/graph_objs/treemap/marker/_pad.py | 7 ++----- plotly/graph_objs/treemap/marker/_pattern.py | 7 ++----- plotly/graph_objs/treemap/marker/colorbar/_tickfont.py | 7 ++----- .../graph_objs/treemap/marker/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/treemap/marker/colorbar/_title.py | 7 ++----- plotly/graph_objs/treemap/marker/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/treemap/pathbar/_textfont.py | 7 ++----- plotly/graph_objs/violin/_box.py | 7 ++----- plotly/graph_objs/violin/_hoverlabel.py | 7 ++----- plotly/graph_objs/violin/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/violin/_line.py | 7 ++----- plotly/graph_objs/violin/_marker.py | 7 ++----- plotly/graph_objs/violin/_meanline.py | 7 ++----- plotly/graph_objs/violin/_selected.py | 7 ++----- plotly/graph_objs/violin/_stream.py | 7 ++----- plotly/graph_objs/violin/_unselected.py | 7 ++----- plotly/graph_objs/violin/box/_line.py | 7 ++----- plotly/graph_objs/violin/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/violin/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/violin/marker/_line.py | 7 ++----- plotly/graph_objs/violin/selected/_marker.py | 7 ++----- plotly/graph_objs/violin/unselected/_marker.py | 7 ++----- plotly/graph_objs/volume/_caps.py | 7 ++----- plotly/graph_objs/volume/_colorbar.py | 7 ++----- plotly/graph_objs/volume/_contour.py | 7 ++----- plotly/graph_objs/volume/_hoverlabel.py | 7 ++----- plotly/graph_objs/volume/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/volume/_lighting.py | 7 ++----- plotly/graph_objs/volume/_lightposition.py | 7 ++----- plotly/graph_objs/volume/_slices.py | 7 ++----- plotly/graph_objs/volume/_spaceframe.py | 7 ++----- plotly/graph_objs/volume/_stream.py | 7 ++----- plotly/graph_objs/volume/_surface.py | 7 ++----- plotly/graph_objs/volume/caps/_x.py | 7 ++----- plotly/graph_objs/volume/caps/_y.py | 7 ++----- plotly/graph_objs/volume/caps/_z.py | 7 ++----- plotly/graph_objs/volume/colorbar/_tickfont.py | 7 ++----- plotly/graph_objs/volume/colorbar/_tickformatstop.py | 7 ++----- plotly/graph_objs/volume/colorbar/_title.py | 7 ++----- plotly/graph_objs/volume/colorbar/title/_font.py | 7 ++----- plotly/graph_objs/volume/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/volume/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/volume/slices/_x.py | 7 ++----- plotly/graph_objs/volume/slices/_y.py | 7 ++----- plotly/graph_objs/volume/slices/_z.py | 7 ++----- plotly/graph_objs/waterfall/_connector.py | 7 ++----- plotly/graph_objs/waterfall/_decreasing.py | 7 ++----- plotly/graph_objs/waterfall/_hoverlabel.py | 7 ++----- plotly/graph_objs/waterfall/_increasing.py | 7 ++----- plotly/graph_objs/waterfall/_insidetextfont.py | 7 ++----- plotly/graph_objs/waterfall/_legendgrouptitle.py | 7 ++----- plotly/graph_objs/waterfall/_outsidetextfont.py | 7 ++----- plotly/graph_objs/waterfall/_stream.py | 7 ++----- plotly/graph_objs/waterfall/_textfont.py | 7 ++----- plotly/graph_objs/waterfall/_totals.py | 7 ++----- plotly/graph_objs/waterfall/connector/_line.py | 7 ++----- plotly/graph_objs/waterfall/decreasing/_marker.py | 7 ++----- plotly/graph_objs/waterfall/decreasing/marker/_line.py | 7 ++----- plotly/graph_objs/waterfall/hoverlabel/_font.py | 7 ++----- plotly/graph_objs/waterfall/increasing/_marker.py | 7 ++----- plotly/graph_objs/waterfall/increasing/marker/_line.py | 7 ++----- plotly/graph_objs/waterfall/legendgrouptitle/_font.py | 7 ++----- plotly/graph_objs/waterfall/totals/_marker.py | 7 ++----- plotly/graph_objs/waterfall/totals/marker/_line.py | 7 ++----- 1062 files changed, 2120 insertions(+), 5302 deletions(-) diff --git a/plotly/graph_objs/_bar.py b/plotly/graph_objs/_bar.py index c72b7f9e8f6..0e12061a8f9 100644 --- a/plotly/graph_objs/_bar.py +++ b/plotly/graph_objs/_bar.py @@ -6,7 +6,6 @@ class Bar(_BaseTraceType): - _parent_path_str = "" _path_str = "bar" _valid_props = { @@ -2510,12 +2509,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Bar constructor must be a dict or -an instance of :class:`plotly.graph_objs.Bar`""" - ) +an instance of :class:`plotly.graph_objs.Bar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_barpolar.py b/plotly/graph_objs/_barpolar.py index a58929798c0..a45eb7bc638 100644 --- a/plotly/graph_objs/_barpolar.py +++ b/plotly/graph_objs/_barpolar.py @@ -6,7 +6,6 @@ class Barpolar(_BaseTraceType): - _parent_path_str = "" _path_str = "barpolar" _valid_props = { @@ -1545,12 +1544,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Barpolar constructor must be a dict or -an instance of :class:`plotly.graph_objs.Barpolar`""" - ) +an instance of :class:`plotly.graph_objs.Barpolar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_box.py b/plotly/graph_objs/_box.py index a579d4deaf9..34ef561d87e 100644 --- a/plotly/graph_objs/_box.py +++ b/plotly/graph_objs/_box.py @@ -6,7 +6,6 @@ class Box(_BaseTraceType): - _parent_path_str = "" _path_str = "box" _valid_props = { @@ -2950,12 +2949,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Box constructor must be a dict or -an instance of :class:`plotly.graph_objs.Box`""" - ) +an instance of :class:`plotly.graph_objs.Box`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_candlestick.py b/plotly/graph_objs/_candlestick.py index 32fd12c67c4..0a8d71ae987 100644 --- a/plotly/graph_objs/_candlestick.py +++ b/plotly/graph_objs/_candlestick.py @@ -6,7 +6,6 @@ class Candlestick(_BaseTraceType): - _parent_path_str = "" _path_str = "candlestick" _valid_props = { @@ -1614,12 +1613,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Candlestick constructor must be a dict or -an instance of :class:`plotly.graph_objs.Candlestick`""" - ) +an instance of :class:`plotly.graph_objs.Candlestick`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_carpet.py b/plotly/graph_objs/_carpet.py index e173ff67b51..b75b58a683d 100644 --- a/plotly/graph_objs/_carpet.py +++ b/plotly/graph_objs/_carpet.py @@ -6,7 +6,6 @@ class Carpet(_BaseTraceType): - _parent_path_str = "" _path_str = "carpet" _valid_props = { @@ -1206,12 +1205,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Carpet constructor must be a dict or -an instance of :class:`plotly.graph_objs.Carpet`""" - ) +an instance of :class:`plotly.graph_objs.Carpet`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_choropleth.py b/plotly/graph_objs/_choropleth.py index 8f1475e6717..9c55f8a52b1 100644 --- a/plotly/graph_objs/_choropleth.py +++ b/plotly/graph_objs/_choropleth.py @@ -6,7 +6,6 @@ class Choropleth(_BaseTraceType): - _parent_path_str = "" _path_str = "choropleth" _valid_props = { @@ -1693,12 +1692,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Choropleth constructor must be a dict or -an instance of :class:`plotly.graph_objs.Choropleth`""" - ) +an instance of :class:`plotly.graph_objs.Choropleth`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_choroplethmap.py b/plotly/graph_objs/_choroplethmap.py index 4585a3c03e6..7c23376023d 100644 --- a/plotly/graph_objs/_choroplethmap.py +++ b/plotly/graph_objs/_choroplethmap.py @@ -6,7 +6,6 @@ class Choroplethmap(_BaseTraceType): - _parent_path_str = "" _path_str = "choroplethmap" _valid_props = { @@ -1687,12 +1686,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Choroplethmap constructor must be a dict or -an instance of :class:`plotly.graph_objs.Choroplethmap`""" - ) +an instance of :class:`plotly.graph_objs.Choroplethmap`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_choroplethmapbox.py b/plotly/graph_objs/_choroplethmapbox.py index 05b1448a950..8225c27ab30 100644 --- a/plotly/graph_objs/_choroplethmapbox.py +++ b/plotly/graph_objs/_choroplethmapbox.py @@ -7,7 +7,6 @@ class Choroplethmapbox(_BaseTraceType): - _parent_path_str = "" _path_str = "choroplethmapbox" _valid_props = { @@ -1707,12 +1706,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Choroplethmapbox constructor must be a dict or -an instance of :class:`plotly.graph_objs.Choroplethmapbox`""" - ) +an instance of :class:`plotly.graph_objs.Choroplethmapbox`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_cone.py b/plotly/graph_objs/_cone.py index fe64fc64cae..0e85f56d56d 100644 --- a/plotly/graph_objs/_cone.py +++ b/plotly/graph_objs/_cone.py @@ -6,7 +6,6 @@ class Cone(_BaseTraceType): - _parent_path_str = "" _path_str = "cone" _valid_props = { @@ -2185,12 +2184,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Cone constructor must be a dict or -an instance of :class:`plotly.graph_objs.Cone`""" - ) +an instance of :class:`plotly.graph_objs.Cone`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_contour.py b/plotly/graph_objs/_contour.py index d64583be87a..3d4eb5c2236 100644 --- a/plotly/graph_objs/_contour.py +++ b/plotly/graph_objs/_contour.py @@ -6,7 +6,6 @@ class Contour(_BaseTraceType): - _parent_path_str = "" _path_str = "contour" _valid_props = { @@ -2529,12 +2528,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Contour constructor must be a dict or -an instance of :class:`plotly.graph_objs.Contour`""" - ) +an instance of :class:`plotly.graph_objs.Contour`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_contourcarpet.py b/plotly/graph_objs/_contourcarpet.py index f6aadf6ea75..2a24b888e24 100644 --- a/plotly/graph_objs/_contourcarpet.py +++ b/plotly/graph_objs/_contourcarpet.py @@ -6,7 +6,6 @@ class Contourcarpet(_BaseTraceType): - _parent_path_str = "" _path_str = "contourcarpet" _valid_props = { @@ -1769,12 +1768,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Contourcarpet constructor must be a dict or -an instance of :class:`plotly.graph_objs.Contourcarpet`""" - ) +an instance of :class:`plotly.graph_objs.Contourcarpet`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_densitymap.py b/plotly/graph_objs/_densitymap.py index d63b2fc81b6..42918490a36 100644 --- a/plotly/graph_objs/_densitymap.py +++ b/plotly/graph_objs/_densitymap.py @@ -6,7 +6,6 @@ class Densitymap(_BaseTraceType): - _parent_path_str = "" _path_str = "densitymap" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Densitymap constructor must be a dict or -an instance of :class:`plotly.graph_objs.Densitymap`""" - ) +an instance of :class:`plotly.graph_objs.Densitymap`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_densitymapbox.py b/plotly/graph_objs/_densitymapbox.py index 44c03e0eeb6..e483328534d 100644 --- a/plotly/graph_objs/_densitymapbox.py +++ b/plotly/graph_objs/_densitymapbox.py @@ -7,7 +7,6 @@ class Densitymapbox(_BaseTraceType): - _parent_path_str = "" _path_str = "densitymapbox" _valid_props = { @@ -1680,12 +1679,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Densitymapbox constructor must be a dict or -an instance of :class:`plotly.graph_objs.Densitymapbox`""" - ) +an instance of :class:`plotly.graph_objs.Densitymapbox`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_figure.py b/plotly/graph_objs/_figure.py index e61a9b46db8..a3c9f839c96 100644 --- a/plotly/graph_objs/_figure.py +++ b/plotly/graph_objs/_figure.py @@ -5,7 +5,6 @@ class Figure(BaseFigure): - def __init__( self, data=None, layout=None, frames=None, skip_invalid=False, **kwargs ): diff --git a/plotly/graph_objs/_figurewidget.py b/plotly/graph_objs/_figurewidget.py index 5955507022b..9731635870c 100644 --- a/plotly/graph_objs/_figurewidget.py +++ b/plotly/graph_objs/_figurewidget.py @@ -5,7 +5,6 @@ class FigureWidget(BaseFigureWidget): - def __init__( self, data=None, layout=None, frames=None, skip_invalid=False, **kwargs ): diff --git a/plotly/graph_objs/_frame.py b/plotly/graph_objs/_frame.py index 1841465fe00..703e8d244af 100644 --- a/plotly/graph_objs/_frame.py +++ b/plotly/graph_objs/_frame.py @@ -6,7 +6,6 @@ class Frame(_BaseFrameHierarchyType): - _parent_path_str = "" _path_str = "frame" _valid_props = {"baseframe", "data", "group", "layout", "name", "traces"} @@ -203,12 +202,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Frame constructor must be a dict or -an instance of :class:`plotly.graph_objs.Frame`""" - ) +an instance of :class:`plotly.graph_objs.Frame`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_funnel.py b/plotly/graph_objs/_funnel.py index 4120a125c07..fd2682f9cc7 100644 --- a/plotly/graph_objs/_funnel.py +++ b/plotly/graph_objs/_funnel.py @@ -6,7 +6,6 @@ class Funnel(_BaseTraceType): - _parent_path_str = "" _path_str = "funnel" _valid_props = { @@ -2312,12 +2311,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Funnel constructor must be a dict or -an instance of :class:`plotly.graph_objs.Funnel`""" - ) +an instance of :class:`plotly.graph_objs.Funnel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_funnelarea.py b/plotly/graph_objs/_funnelarea.py index 0761329b623..50e316bdd19 100644 --- a/plotly/graph_objs/_funnelarea.py +++ b/plotly/graph_objs/_funnelarea.py @@ -6,7 +6,6 @@ class Funnelarea(_BaseTraceType): - _parent_path_str = "" _path_str = "funnelarea" _valid_props = { @@ -1580,12 +1579,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Funnelarea constructor must be a dict or -an instance of :class:`plotly.graph_objs.Funnelarea`""" - ) +an instance of :class:`plotly.graph_objs.Funnelarea`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_heatmap.py b/plotly/graph_objs/_heatmap.py index 448e28d5630..0a6819e3946 100644 --- a/plotly/graph_objs/_heatmap.py +++ b/plotly/graph_objs/_heatmap.py @@ -6,7 +6,6 @@ class Heatmap(_BaseTraceType): - _parent_path_str = "" _path_str = "heatmap" _valid_props = { @@ -2446,12 +2445,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Heatmap constructor must be a dict or -an instance of :class:`plotly.graph_objs.Heatmap`""" - ) +an instance of :class:`plotly.graph_objs.Heatmap`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_histogram.py b/plotly/graph_objs/_histogram.py index 668b203c3fe..9bc14623c32 100644 --- a/plotly/graph_objs/_histogram.py +++ b/plotly/graph_objs/_histogram.py @@ -6,7 +6,6 @@ class Histogram(_BaseTraceType): - _parent_path_str = "" _path_str = "histogram" _valid_props = { @@ -2339,12 +2338,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Histogram constructor must be a dict or -an instance of :class:`plotly.graph_objs.Histogram`""" - ) +an instance of :class:`plotly.graph_objs.Histogram`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_histogram2d.py b/plotly/graph_objs/_histogram2d.py index 3825b500fcb..bf1befd5d35 100644 --- a/plotly/graph_objs/_histogram2d.py +++ b/plotly/graph_objs/_histogram2d.py @@ -6,7 +6,6 @@ class Histogram2d(_BaseTraceType): - _parent_path_str = "" _path_str = "histogram2d" _valid_props = { @@ -2286,12 +2285,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Histogram2d constructor must be a dict or -an instance of :class:`plotly.graph_objs.Histogram2d`""" - ) +an instance of :class:`plotly.graph_objs.Histogram2d`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_histogram2dcontour.py b/plotly/graph_objs/_histogram2dcontour.py index f414c779f31..2cfc1edb21f 100644 --- a/plotly/graph_objs/_histogram2dcontour.py +++ b/plotly/graph_objs/_histogram2dcontour.py @@ -6,7 +6,6 @@ class Histogram2dContour(_BaseTraceType): - _parent_path_str = "" _path_str = "histogram2dcontour" _valid_props = { @@ -2344,12 +2343,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Histogram2dContour constructor must be a dict or -an instance of :class:`plotly.graph_objs.Histogram2dContour`""" - ) +an instance of :class:`plotly.graph_objs.Histogram2dContour`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_icicle.py b/plotly/graph_objs/_icicle.py index 6ffce7d2f2b..94d491975f9 100644 --- a/plotly/graph_objs/_icicle.py +++ b/plotly/graph_objs/_icicle.py @@ -6,7 +6,6 @@ class Icicle(_BaseTraceType): - _parent_path_str = "" _path_str = "icicle" _valid_props = { @@ -1702,12 +1701,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Icicle constructor must be a dict or -an instance of :class:`plotly.graph_objs.Icicle`""" - ) +an instance of :class:`plotly.graph_objs.Icicle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_image.py b/plotly/graph_objs/_image.py index f1da17bc24a..e0f8afebd90 100644 --- a/plotly/graph_objs/_image.py +++ b/plotly/graph_objs/_image.py @@ -6,7 +6,6 @@ class Image(_BaseTraceType): - _parent_path_str = "" _path_str = "image" _valid_props = { @@ -1401,12 +1400,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Image constructor must be a dict or -an instance of :class:`plotly.graph_objs.Image`""" - ) +an instance of :class:`plotly.graph_objs.Image`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_indicator.py b/plotly/graph_objs/_indicator.py index e7bc8edb2a7..ae354501efc 100644 --- a/plotly/graph_objs/_indicator.py +++ b/plotly/graph_objs/_indicator.py @@ -6,7 +6,6 @@ class Indicator(_BaseTraceType): - _parent_path_str = "" _path_str = "indicator" _valid_props = { @@ -811,12 +810,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Indicator constructor must be a dict or -an instance of :class:`plotly.graph_objs.Indicator`""" - ) +an instance of :class:`plotly.graph_objs.Indicator`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_isosurface.py b/plotly/graph_objs/_isosurface.py index 9688ad9fad7..1705fcf211d 100644 --- a/plotly/graph_objs/_isosurface.py +++ b/plotly/graph_objs/_isosurface.py @@ -6,7 +6,6 @@ class Isosurface(_BaseTraceType): - _parent_path_str = "" _path_str = "isosurface" _valid_props = { @@ -2087,12 +2086,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Isosurface constructor must be a dict or -an instance of :class:`plotly.graph_objs.Isosurface`""" - ) +an instance of :class:`plotly.graph_objs.Isosurface`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_layout.py b/plotly/graph_objs/_layout.py index 5cadac35bbe..2a08e494b44 100644 --- a/plotly/graph_objs/_layout.py +++ b/plotly/graph_objs/_layout.py @@ -6,7 +6,6 @@ class Layout(_BaseLayoutType): - _subplotid_prop_names = [ "coloraxis", "geo", @@ -3401,12 +3400,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Layout constructor must be a dict or -an instance of :class:`plotly.graph_objs.Layout`""" - ) +an instance of :class:`plotly.graph_objs.Layout`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_mesh3d.py b/plotly/graph_objs/_mesh3d.py index fa4ef25a7df..68928a8cae6 100644 --- a/plotly/graph_objs/_mesh3d.py +++ b/plotly/graph_objs/_mesh3d.py @@ -6,7 +6,6 @@ class Mesh3d(_BaseTraceType): - _parent_path_str = "" _path_str = "mesh3d" _valid_props = { @@ -2493,12 +2492,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Mesh3d constructor must be a dict or -an instance of :class:`plotly.graph_objs.Mesh3d`""" - ) +an instance of :class:`plotly.graph_objs.Mesh3d`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_ohlc.py b/plotly/graph_objs/_ohlc.py index 3b3b43c4e9a..26f405a68bb 100644 --- a/plotly/graph_objs/_ohlc.py +++ b/plotly/graph_objs/_ohlc.py @@ -6,7 +6,6 @@ class Ohlc(_BaseTraceType): - _parent_path_str = "" _path_str = "ohlc" _valid_props = { @@ -1612,12 +1611,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Ohlc constructor must be a dict or -an instance of :class:`plotly.graph_objs.Ohlc`""" - ) +an instance of :class:`plotly.graph_objs.Ohlc`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_parcats.py b/plotly/graph_objs/_parcats.py index d9122c5c972..bea3d956e2f 100644 --- a/plotly/graph_objs/_parcats.py +++ b/plotly/graph_objs/_parcats.py @@ -6,7 +6,6 @@ class Parcats(_BaseTraceType): - _parent_path_str = "" _path_str = "parcats" _valid_props = { @@ -897,12 +896,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Parcats constructor must be a dict or -an instance of :class:`plotly.graph_objs.Parcats`""" - ) +an instance of :class:`plotly.graph_objs.Parcats`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_parcoords.py b/plotly/graph_objs/_parcoords.py index f9100dc9002..e3f2f9a2641 100644 --- a/plotly/graph_objs/_parcoords.py +++ b/plotly/graph_objs/_parcoords.py @@ -6,7 +6,6 @@ class Parcoords(_BaseTraceType): - _parent_path_str = "" _path_str = "parcoords" _valid_props = { @@ -880,12 +879,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Parcoords constructor must be a dict or -an instance of :class:`plotly.graph_objs.Parcoords`""" - ) +an instance of :class:`plotly.graph_objs.Parcoords`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_pie.py b/plotly/graph_objs/_pie.py index 822cad3bc71..f2eda4ab887 100644 --- a/plotly/graph_objs/_pie.py +++ b/plotly/graph_objs/_pie.py @@ -6,7 +6,6 @@ class Pie(_BaseTraceType): - _parent_path_str = "" _path_str = "pie" _valid_props = { @@ -1802,12 +1801,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Pie constructor must be a dict or -an instance of :class:`plotly.graph_objs.Pie`""" - ) +an instance of :class:`plotly.graph_objs.Pie`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_sankey.py b/plotly/graph_objs/_sankey.py index 2fdac8ed9b4..0190fcf034b 100644 --- a/plotly/graph_objs/_sankey.py +++ b/plotly/graph_objs/_sankey.py @@ -6,7 +6,6 @@ class Sankey(_BaseTraceType): - _parent_path_str = "" _path_str = "sankey" _valid_props = { @@ -926,12 +925,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Sankey constructor must be a dict or -an instance of :class:`plotly.graph_objs.Sankey`""" - ) +an instance of :class:`plotly.graph_objs.Sankey`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scatter.py b/plotly/graph_objs/_scatter.py index 331daf4f9e0..9bef62b011c 100644 --- a/plotly/graph_objs/_scatter.py +++ b/plotly/graph_objs/_scatter.py @@ -6,7 +6,6 @@ class Scatter(_BaseTraceType): - _parent_path_str = "" _path_str = "scatter" _valid_props = { @@ -2662,12 +2661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scatter constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scatter`""" - ) +an instance of :class:`plotly.graph_objs.Scatter`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scatter3d.py b/plotly/graph_objs/_scatter3d.py index 8c01f1b85d7..229056e2d8e 100644 --- a/plotly/graph_objs/_scatter3d.py +++ b/plotly/graph_objs/_scatter3d.py @@ -6,7 +6,6 @@ class Scatter3d(_BaseTraceType): - _parent_path_str = "" _path_str = "scatter3d" _valid_props = { @@ -1926,12 +1925,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scatter3d constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scatter3d`""" - ) +an instance of :class:`plotly.graph_objs.Scatter3d`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scattercarpet.py b/plotly/graph_objs/_scattercarpet.py index 5d838adf51b..4b846bffa2f 100644 --- a/plotly/graph_objs/_scattercarpet.py +++ b/plotly/graph_objs/_scattercarpet.py @@ -6,7 +6,6 @@ class Scattercarpet(_BaseTraceType): - _parent_path_str = "" _path_str = "scattercarpet" _valid_props = { @@ -1762,12 +1761,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scattercarpet constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scattercarpet`""" - ) +an instance of :class:`plotly.graph_objs.Scattercarpet`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scattergeo.py b/plotly/graph_objs/_scattergeo.py index d63e89f2328..4c0fb090e14 100644 --- a/plotly/graph_objs/_scattergeo.py +++ b/plotly/graph_objs/_scattergeo.py @@ -6,7 +6,6 @@ class Scattergeo(_BaseTraceType): - _parent_path_str = "" _path_str = "scattergeo" _valid_props = { @@ -1789,12 +1788,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scattergeo constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scattergeo`""" - ) +an instance of :class:`plotly.graph_objs.Scattergeo`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scattergl.py b/plotly/graph_objs/_scattergl.py index f161fd75d42..bccddc41564 100644 --- a/plotly/graph_objs/_scattergl.py +++ b/plotly/graph_objs/_scattergl.py @@ -6,7 +6,6 @@ class Scattergl(_BaseTraceType): - _parent_path_str = "" _path_str = "scattergl" _valid_props = { @@ -2210,12 +2209,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scattergl constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scattergl`""" - ) +an instance of :class:`plotly.graph_objs.Scattergl`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scattermap.py b/plotly/graph_objs/_scattermap.py index e244e57dc85..a4b82a931c9 100644 --- a/plotly/graph_objs/_scattermap.py +++ b/plotly/graph_objs/_scattermap.py @@ -6,7 +6,6 @@ class Scattermap(_BaseTraceType): - _parent_path_str = "" _path_str = "scattermap" _valid_props = { @@ -1647,12 +1646,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scattermap constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scattermap`""" - ) +an instance of :class:`plotly.graph_objs.Scattermap`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scattermapbox.py b/plotly/graph_objs/_scattermapbox.py index 345c02fa5bb..3c20238aa02 100644 --- a/plotly/graph_objs/_scattermapbox.py +++ b/plotly/graph_objs/_scattermapbox.py @@ -7,7 +7,6 @@ class Scattermapbox(_BaseTraceType): - _parent_path_str = "" _path_str = "scattermapbox" _valid_props = { @@ -1667,12 +1666,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scattermapbox constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scattermapbox`""" - ) +an instance of :class:`plotly.graph_objs.Scattermapbox`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scatterpolar.py b/plotly/graph_objs/_scatterpolar.py index 946df6293e5..5168023fac0 100644 --- a/plotly/graph_objs/_scatterpolar.py +++ b/plotly/graph_objs/_scatterpolar.py @@ -6,7 +6,6 @@ class Scatterpolar(_BaseTraceType): - _parent_path_str = "" _path_str = "scatterpolar" _valid_props = { @@ -1846,12 +1845,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scatterpolar constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scatterpolar`""" - ) +an instance of :class:`plotly.graph_objs.Scatterpolar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scatterpolargl.py b/plotly/graph_objs/_scatterpolargl.py index eb81a753b58..f75aa05cd2a 100644 --- a/plotly/graph_objs/_scatterpolargl.py +++ b/plotly/graph_objs/_scatterpolargl.py @@ -6,7 +6,6 @@ class Scatterpolargl(_BaseTraceType): - _parent_path_str = "" _path_str = "scatterpolargl" _valid_props = { @@ -1809,12 +1808,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scatterpolargl constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scatterpolargl`""" - ) +an instance of :class:`plotly.graph_objs.Scatterpolargl`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scattersmith.py b/plotly/graph_objs/_scattersmith.py index 6646e9dd6b0..e43d34b499a 100644 --- a/plotly/graph_objs/_scattersmith.py +++ b/plotly/graph_objs/_scattersmith.py @@ -6,7 +6,6 @@ class Scattersmith(_BaseTraceType): - _parent_path_str = "" _path_str = "scattersmith" _valid_props = { @@ -1717,12 +1716,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scattersmith constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scattersmith`""" - ) +an instance of :class:`plotly.graph_objs.Scattersmith`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_scatterternary.py b/plotly/graph_objs/_scatterternary.py index 753c0a2f3eb..db865eaf195 100644 --- a/plotly/graph_objs/_scatterternary.py +++ b/plotly/graph_objs/_scatterternary.py @@ -6,7 +6,6 @@ class Scatterternary(_BaseTraceType): - _parent_path_str = "" _path_str = "scatterternary" _valid_props = { @@ -1824,12 +1823,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Scatterternary constructor must be a dict or -an instance of :class:`plotly.graph_objs.Scatterternary`""" - ) +an instance of :class:`plotly.graph_objs.Scatterternary`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_splom.py b/plotly/graph_objs/_splom.py index 4072b32c520..6dda1855e82 100644 --- a/plotly/graph_objs/_splom.py +++ b/plotly/graph_objs/_splom.py @@ -6,7 +6,6 @@ class Splom(_BaseTraceType): - _parent_path_str = "" _path_str = "splom" _valid_props = { @@ -1466,12 +1465,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Splom constructor must be a dict or -an instance of :class:`plotly.graph_objs.Splom`""" - ) +an instance of :class:`plotly.graph_objs.Splom`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_streamtube.py b/plotly/graph_objs/_streamtube.py index eacfa1649fa..de98ac33d05 100644 --- a/plotly/graph_objs/_streamtube.py +++ b/plotly/graph_objs/_streamtube.py @@ -6,7 +6,6 @@ class Streamtube(_BaseTraceType): - _parent_path_str = "" _path_str = "streamtube" _valid_props = { @@ -2093,12 +2092,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Streamtube constructor must be a dict or -an instance of :class:`plotly.graph_objs.Streamtube`""" - ) +an instance of :class:`plotly.graph_objs.Streamtube`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_sunburst.py b/plotly/graph_objs/_sunburst.py index 932729a7346..3f14360a1a5 100644 --- a/plotly/graph_objs/_sunburst.py +++ b/plotly/graph_objs/_sunburst.py @@ -6,7 +6,6 @@ class Sunburst(_BaseTraceType): - _parent_path_str = "" _path_str = "sunburst" _valid_props = { @@ -1698,12 +1697,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Sunburst constructor must be a dict or -an instance of :class:`plotly.graph_objs.Sunburst`""" - ) +an instance of :class:`plotly.graph_objs.Sunburst`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_surface.py b/plotly/graph_objs/_surface.py index 3569472bbe2..a2d65c3b3e5 100644 --- a/plotly/graph_objs/_surface.py +++ b/plotly/graph_objs/_surface.py @@ -6,7 +6,6 @@ class Surface(_BaseTraceType): - _parent_path_str = "" _path_str = "surface" _valid_props = { @@ -2066,12 +2065,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Surface constructor must be a dict or -an instance of :class:`plotly.graph_objs.Surface`""" - ) +an instance of :class:`plotly.graph_objs.Surface`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_table.py b/plotly/graph_objs/_table.py index 9bdb4b78be9..3bf76e1c76a 100644 --- a/plotly/graph_objs/_table.py +++ b/plotly/graph_objs/_table.py @@ -6,7 +6,6 @@ class Table(_BaseTraceType): - _parent_path_str = "" _path_str = "table" _valid_props = { @@ -869,12 +868,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Table constructor must be a dict or -an instance of :class:`plotly.graph_objs.Table`""" - ) +an instance of :class:`plotly.graph_objs.Table`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_treemap.py b/plotly/graph_objs/_treemap.py index a8b0a069169..69dbd3b3ae4 100644 --- a/plotly/graph_objs/_treemap.py +++ b/plotly/graph_objs/_treemap.py @@ -6,7 +6,6 @@ class Treemap(_BaseTraceType): - _parent_path_str = "" _path_str = "treemap" _valid_props = { @@ -1676,12 +1675,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Treemap constructor must be a dict or -an instance of :class:`plotly.graph_objs.Treemap`""" - ) +an instance of :class:`plotly.graph_objs.Treemap`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_violin.py b/plotly/graph_objs/_violin.py index 9223d4d7b56..943a5f2d377 100644 --- a/plotly/graph_objs/_violin.py +++ b/plotly/graph_objs/_violin.py @@ -6,7 +6,6 @@ class Violin(_BaseTraceType): - _parent_path_str = "" _path_str = "violin" _valid_props = { @@ -2189,12 +2188,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Violin constructor must be a dict or -an instance of :class:`plotly.graph_objs.Violin`""" - ) +an instance of :class:`plotly.graph_objs.Violin`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_volume.py b/plotly/graph_objs/_volume.py index 9933e9b20ad..9bc3099f422 100644 --- a/plotly/graph_objs/_volume.py +++ b/plotly/graph_objs/_volume.py @@ -6,7 +6,6 @@ class Volume(_BaseTraceType): - _parent_path_str = "" _path_str = "volume" _valid_props = { @@ -2136,12 +2135,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Volume constructor must be a dict or -an instance of :class:`plotly.graph_objs.Volume`""" - ) +an instance of :class:`plotly.graph_objs.Volume`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/_waterfall.py b/plotly/graph_objs/_waterfall.py index 47ac0f17e02..04dc7746bb3 100644 --- a/plotly/graph_objs/_waterfall.py +++ b/plotly/graph_objs/_waterfall.py @@ -6,7 +6,6 @@ class Waterfall(_BaseTraceType): - _parent_path_str = "" _path_str = "waterfall" _valid_props = { @@ -2493,12 +2492,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.Waterfall constructor must be a dict or -an instance of :class:`plotly.graph_objs.Waterfall`""" - ) +an instance of :class:`plotly.graph_objs.Waterfall`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_error_x.py b/plotly/graph_objs/bar/_error_x.py index 9377120b64c..f28208c010e 100644 --- a/plotly/graph_objs/bar/_error_x.py +++ b/plotly/graph_objs/bar/_error_x.py @@ -6,7 +6,6 @@ class ErrorX(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.error_x" _valid_props = { @@ -476,12 +475,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.ErrorX constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.ErrorX`""" - ) +an instance of :class:`plotly.graph_objs.bar.ErrorX`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_error_y.py b/plotly/graph_objs/bar/_error_y.py index e3fc87e7c13..e5db21fb02f 100644 --- a/plotly/graph_objs/bar/_error_y.py +++ b/plotly/graph_objs/bar/_error_y.py @@ -6,7 +6,6 @@ class ErrorY(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.error_y" _valid_props = { @@ -454,12 +453,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.ErrorY constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.ErrorY`""" - ) +an instance of :class:`plotly.graph_objs.bar.ErrorY`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_hoverlabel.py b/plotly/graph_objs/bar/_hoverlabel.py index f1900dd264c..65ab9660f5c 100644 --- a/plotly/graph_objs/bar/_hoverlabel.py +++ b/plotly/graph_objs/bar/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.bar.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_insidetextfont.py b/plotly/graph_objs/bar/_insidetextfont.py index a8b04caef69..f1c48dad8ab 100644 --- a/plotly/graph_objs/bar/_insidetextfont.py +++ b/plotly/graph_objs/bar/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.bar.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_legendgrouptitle.py b/plotly/graph_objs/bar/_legendgrouptitle.py index 4e26b2361d5..3a74894f256 100644 --- a/plotly/graph_objs/bar/_legendgrouptitle.py +++ b/plotly/graph_objs/bar/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.bar.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_marker.py b/plotly/graph_objs/bar/_marker.py index 0c40f9fabcc..a80880ea56a 100644 --- a/plotly/graph_objs/bar/_marker.py +++ b/plotly/graph_objs/bar/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.marker" _valid_props = { @@ -657,12 +656,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Marker`""" - ) +an instance of :class:`plotly.graph_objs.bar.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_outsidetextfont.py b/plotly/graph_objs/bar/_outsidetextfont.py index 3cebce60bf9..2e2a8a3929a 100644 --- a/plotly/graph_objs/bar/_outsidetextfont.py +++ b/plotly/graph_objs/bar/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.outsidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.bar.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_selected.py b/plotly/graph_objs/bar/_selected.py index c28ea9e2cc5..df30936a7b7 100644 --- a/plotly/graph_objs/bar/_selected.py +++ b/plotly/graph_objs/bar/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.selected" _valid_props = {"marker", "textfont"} @@ -92,12 +91,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Selected`""" - ) +an instance of :class:`plotly.graph_objs.bar.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_stream.py b/plotly/graph_objs/bar/_stream.py index 6e30b049177..c4d3c055326 100644 --- a/plotly/graph_objs/bar/_stream.py +++ b/plotly/graph_objs/bar/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Stream`""" - ) +an instance of :class:`plotly.graph_objs.bar.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_textfont.py b/plotly/graph_objs/bar/_textfont.py index 864be8aca50..f63c5c45538 100644 --- a/plotly/graph_objs/bar/_textfont.py +++ b/plotly/graph_objs/bar/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.textfont" _valid_props = { @@ -557,12 +556,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.bar.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/_unselected.py b/plotly/graph_objs/bar/_unselected.py index 467d8acd767..9bd645d47c7 100644 --- a/plotly/graph_objs/bar/_unselected.py +++ b/plotly/graph_objs/bar/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "bar" _path_str = "bar.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.bar.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/hoverlabel/_font.py b/plotly/graph_objs/bar/hoverlabel/_font.py index 0d5e37cadbd..485d5a7be56 100644 --- a/plotly/graph_objs/bar/hoverlabel/_font.py +++ b/plotly/graph_objs/bar/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "bar.hoverlabel" _path_str = "bar.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.bar.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/legendgrouptitle/_font.py b/plotly/graph_objs/bar/legendgrouptitle/_font.py index dc540b96c2c..9c134c3fd6c 100644 --- a/plotly/graph_objs/bar/legendgrouptitle/_font.py +++ b/plotly/graph_objs/bar/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "bar.legendgrouptitle" _path_str = "bar.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.bar.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/_colorbar.py b/plotly/graph_objs/bar/marker/_colorbar.py index d79fdf1c976..529a71438c3 100644 --- a/plotly/graph_objs/bar/marker/_colorbar.py +++ b/plotly/graph_objs/bar/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker" _path_str = "bar.marker.colorbar" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/_line.py b/plotly/graph_objs/bar/marker/_line.py index 150984dfd43..f9d515b061d 100644 --- a/plotly/graph_objs/bar/marker/_line.py +++ b/plotly/graph_objs/bar/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker" _path_str = "bar.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/_pattern.py b/plotly/graph_objs/bar/marker/_pattern.py index 64c5c498fe3..71b73ab9642 100644 --- a/plotly/graph_objs/bar/marker/_pattern.py +++ b/plotly/graph_objs/bar/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker" _path_str = "bar.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/colorbar/_tickfont.py b/plotly/graph_objs/bar/marker/colorbar/_tickfont.py index 8d3b1a6e25b..5cfa677df31 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/bar/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker.colorbar" _path_str = "bar.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py index 6eae822c9c5..04819a0a8c8 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/bar/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker.colorbar" _path_str = "bar.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/colorbar/_title.py b/plotly/graph_objs/bar/marker/colorbar/_title.py index d4fd0b56259..ac2a569886b 100644 --- a/plotly/graph_objs/bar/marker/colorbar/_title.py +++ b/plotly/graph_objs/bar/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker.colorbar" _path_str = "bar.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/marker/colorbar/title/_font.py b/plotly/graph_objs/bar/marker/colorbar/title/_font.py index 4ade1e39242..a3c50a3f67c 100644 --- a/plotly/graph_objs/bar/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/bar/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "bar.marker.colorbar.title" _path_str = "bar.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.bar.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/selected/_marker.py b/plotly/graph_objs/bar/selected/_marker.py index 45c17e04fdd..e704eb44fcf 100644 --- a/plotly/graph_objs/bar/selected/_marker.py +++ b/plotly/graph_objs/bar/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "bar.selected" _path_str = "bar.selected.marker" _valid_props = {"color", "opacity"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.bar.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/selected/_textfont.py b/plotly/graph_objs/bar/selected/_textfont.py index da5420ddf11..79fb7abab61 100644 --- a/plotly/graph_objs/bar/selected/_textfont.py +++ b/plotly/graph_objs/bar/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "bar.selected" _path_str = "bar.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.bar.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/unselected/_marker.py b/plotly/graph_objs/bar/unselected/_marker.py index b048561802d..a4e004c7aee 100644 --- a/plotly/graph_objs/bar/unselected/_marker.py +++ b/plotly/graph_objs/bar/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "bar.unselected" _path_str = "bar.unselected.marker" _valid_props = {"color", "opacity"} @@ -97,12 +96,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.bar.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/bar/unselected/_textfont.py b/plotly/graph_objs/bar/unselected/_textfont.py index 67dc0205bc1..eb15311b9c8 100644 --- a/plotly/graph_objs/bar/unselected/_textfont.py +++ b/plotly/graph_objs/bar/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "bar.unselected" _path_str = "bar.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.bar.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.bar.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.bar.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/_hoverlabel.py b/plotly/graph_objs/barpolar/_hoverlabel.py index c10fd724780..bfb053f8ed8 100644 --- a/plotly/graph_objs/barpolar/_hoverlabel.py +++ b/plotly/graph_objs/barpolar/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "barpolar" _path_str = "barpolar.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/_legendgrouptitle.py b/plotly/graph_objs/barpolar/_legendgrouptitle.py index 48a1a880241..d5a65562dc8 100644 --- a/plotly/graph_objs/barpolar/_legendgrouptitle.py +++ b/plotly/graph_objs/barpolar/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "barpolar" _path_str = "barpolar.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/_marker.py b/plotly/graph_objs/barpolar/_marker.py index 21406705a35..5015e40df15 100644 --- a/plotly/graph_objs/barpolar/_marker.py +++ b/plotly/graph_objs/barpolar/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "barpolar" _path_str = "barpolar.marker" _valid_props = { @@ -623,12 +622,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.Marker`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/_selected.py b/plotly/graph_objs/barpolar/_selected.py index 69b655ca153..60132e32cd4 100644 --- a/plotly/graph_objs/barpolar/_selected.py +++ b/plotly/graph_objs/barpolar/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "barpolar" _path_str = "barpolar.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.Selected`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/_stream.py b/plotly/graph_objs/barpolar/_stream.py index 53de6c54d4c..8640dbb62d1 100644 --- a/plotly/graph_objs/barpolar/_stream.py +++ b/plotly/graph_objs/barpolar/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "barpolar" _path_str = "barpolar.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.Stream`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/_unselected.py b/plotly/graph_objs/barpolar/_unselected.py index 49016840f0c..ef4cde928b9 100644 --- a/plotly/graph_objs/barpolar/_unselected.py +++ b/plotly/graph_objs/barpolar/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "barpolar" _path_str = "barpolar.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/hoverlabel/_font.py b/plotly/graph_objs/barpolar/hoverlabel/_font.py index 4c8ed8c83c7..fd59e9a887f 100644 --- a/plotly/graph_objs/barpolar/hoverlabel/_font.py +++ b/plotly/graph_objs/barpolar/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.hoverlabel" _path_str = "barpolar.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/legendgrouptitle/_font.py b/plotly/graph_objs/barpolar/legendgrouptitle/_font.py index e53bb36fc7f..5c097a19a8e 100644 --- a/plotly/graph_objs/barpolar/legendgrouptitle/_font.py +++ b/plotly/graph_objs/barpolar/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.legendgrouptitle" _path_str = "barpolar.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/_colorbar.py b/plotly/graph_objs/barpolar/marker/_colorbar.py index f08a1a2ba13..112445da01f 100644 --- a/plotly/graph_objs/barpolar/marker/_colorbar.py +++ b/plotly/graph_objs/barpolar/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker" _path_str = "barpolar.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/_line.py b/plotly/graph_objs/barpolar/marker/_line.py index 69783b7a500..9449d2265ec 100644 --- a/plotly/graph_objs/barpolar/marker/_line.py +++ b/plotly/graph_objs/barpolar/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker" _path_str = "barpolar.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/_pattern.py b/plotly/graph_objs/barpolar/marker/_pattern.py index 26e1cb94570..e94caf71875 100644 --- a/plotly/graph_objs/barpolar/marker/_pattern.py +++ b/plotly/graph_objs/barpolar/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker" _path_str = "barpolar.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py b/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py index ffe56848b11..3f1bdc9d24b 100644 --- a/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/barpolar/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker.colorbar" _path_str = "barpolar.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py index 4754ea97abb..c860e690faa 100644 --- a/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/barpolar/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker.colorbar" _path_str = "barpolar.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/colorbar/_title.py b/plotly/graph_objs/barpolar/marker/colorbar/_title.py index a8e620904e1..6c674fb8cd7 100644 --- a/plotly/graph_objs/barpolar/marker/colorbar/_title.py +++ b/plotly/graph_objs/barpolar/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker.colorbar" _path_str = "barpolar.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py b/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py index 8b8121b4049..fac5ba93a11 100644 --- a/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/barpolar/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.marker.colorbar.title" _path_str = "barpolar.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/selected/_marker.py b/plotly/graph_objs/barpolar/selected/_marker.py index 4d223f96eb7..ca4aba8869f 100644 --- a/plotly/graph_objs/barpolar/selected/_marker.py +++ b/plotly/graph_objs/barpolar/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.selected" _path_str = "barpolar.selected.marker" _valid_props = {"color", "opacity"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/selected/_textfont.py b/plotly/graph_objs/barpolar/selected/_textfont.py index f7c74183bc0..111a9ff78ef 100644 --- a/plotly/graph_objs/barpolar/selected/_textfont.py +++ b/plotly/graph_objs/barpolar/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.selected" _path_str = "barpolar.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/unselected/_marker.py b/plotly/graph_objs/barpolar/unselected/_marker.py index 1f326927e7a..85e314bfd20 100644 --- a/plotly/graph_objs/barpolar/unselected/_marker.py +++ b/plotly/graph_objs/barpolar/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.unselected" _path_str = "barpolar.unselected.marker" _valid_props = {"color", "opacity"} @@ -97,12 +96,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/barpolar/unselected/_textfont.py b/plotly/graph_objs/barpolar/unselected/_textfont.py index aae918804a6..41ad2f2e23d 100644 --- a/plotly/graph_objs/barpolar/unselected/_textfont.py +++ b/plotly/graph_objs/barpolar/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "barpolar.unselected" _path_str = "barpolar.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.barpolar.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.barpolar.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.barpolar.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_hoverlabel.py b/plotly/graph_objs/box/_hoverlabel.py index 726a111b1a5..b273e6c300a 100644 --- a/plotly/graph_objs/box/_hoverlabel.py +++ b/plotly/graph_objs/box/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.box.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_legendgrouptitle.py b/plotly/graph_objs/box/_legendgrouptitle.py index 870c4eba20f..a2c2541baec 100644 --- a/plotly/graph_objs/box/_legendgrouptitle.py +++ b/plotly/graph_objs/box/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.box.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_line.py b/plotly/graph_objs/box/_line.py index c8de46243d7..4887c7e2517 100644 --- a/plotly/graph_objs/box/_line.py +++ b/plotly/graph_objs/box/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.line" _valid_props = {"color", "width"} @@ -90,12 +89,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Line`""" - ) +an instance of :class:`plotly.graph_objs.box.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_marker.py b/plotly/graph_objs/box/_marker.py index 43a32e63c49..eaf4f80d4f0 100644 --- a/plotly/graph_objs/box/_marker.py +++ b/plotly/graph_objs/box/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.marker" _valid_props = { @@ -339,12 +338,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Marker`""" - ) +an instance of :class:`plotly.graph_objs.box.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_selected.py b/plotly/graph_objs/box/_selected.py index f7da4088fac..cb94773b85a 100644 --- a/plotly/graph_objs/box/_selected.py +++ b/plotly/graph_objs/box/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.selected" _valid_props = {"marker"} @@ -67,12 +66,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Selected`""" - ) +an instance of :class:`plotly.graph_objs.box.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_stream.py b/plotly/graph_objs/box/_stream.py index b6ddbeb38aa..b6cd0eb667c 100644 --- a/plotly/graph_objs/box/_stream.py +++ b/plotly/graph_objs/box/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Stream`""" - ) +an instance of :class:`plotly.graph_objs.box.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/_unselected.py b/plotly/graph_objs/box/_unselected.py index 41aea7e6c75..9db72eb4501 100644 --- a/plotly/graph_objs/box/_unselected.py +++ b/plotly/graph_objs/box/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "box" _path_str = "box.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.box.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/hoverlabel/_font.py b/plotly/graph_objs/box/hoverlabel/_font.py index fb612021571..f4ab0af7113 100644 --- a/plotly/graph_objs/box/hoverlabel/_font.py +++ b/plotly/graph_objs/box/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "box.hoverlabel" _path_str = "box.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.box.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/legendgrouptitle/_font.py b/plotly/graph_objs/box/legendgrouptitle/_font.py index 659f326c391..aa42e3d9f10 100644 --- a/plotly/graph_objs/box/legendgrouptitle/_font.py +++ b/plotly/graph_objs/box/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "box.legendgrouptitle" _path_str = "box.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.box.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/marker/_line.py b/plotly/graph_objs/box/marker/_line.py index d2c4abdaa06..95b6e0bed49 100644 --- a/plotly/graph_objs/box/marker/_line.py +++ b/plotly/graph_objs/box/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "box.marker" _path_str = "box.marker.line" _valid_props = {"color", "outliercolor", "outlierwidth", "width"} @@ -166,12 +165,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.box.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/selected/_marker.py b/plotly/graph_objs/box/selected/_marker.py index 15ce087219a..b4f9afaf2c9 100644 --- a/plotly/graph_objs/box/selected/_marker.py +++ b/plotly/graph_objs/box/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "box.selected" _path_str = "box.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.box.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/box/unselected/_marker.py b/plotly/graph_objs/box/unselected/_marker.py index 2e019020264..b2c5d8f5d7c 100644 --- a/plotly/graph_objs/box/unselected/_marker.py +++ b/plotly/graph_objs/box/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "box.unselected" _path_str = "box.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.box.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.box.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.box.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/_decreasing.py b/plotly/graph_objs/candlestick/_decreasing.py index c3464b82a26..c801692156a 100644 --- a/plotly/graph_objs/candlestick/_decreasing.py +++ b/plotly/graph_objs/candlestick/_decreasing.py @@ -6,7 +6,6 @@ class Decreasing(_BaseTraceHierarchyType): - _parent_path_str = "candlestick" _path_str = "candlestick.decreasing" _valid_props = {"fillcolor", "line"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, fillcolor=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.Decreasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.Decreasing`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.Decreasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/_hoverlabel.py b/plotly/graph_objs/candlestick/_hoverlabel.py index deb894c854e..b2c8c86b1aa 100644 --- a/plotly/graph_objs/candlestick/_hoverlabel.py +++ b/plotly/graph_objs/candlestick/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "candlestick" _path_str = "candlestick.hoverlabel" _valid_props = { @@ -345,12 +344,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/_increasing.py b/plotly/graph_objs/candlestick/_increasing.py index c3bc170eef9..547e846a997 100644 --- a/plotly/graph_objs/candlestick/_increasing.py +++ b/plotly/graph_objs/candlestick/_increasing.py @@ -6,7 +6,6 @@ class Increasing(_BaseTraceHierarchyType): - _parent_path_str = "candlestick" _path_str = "candlestick.increasing" _valid_props = {"fillcolor", "line"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, fillcolor=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.Increasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.Increasing`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.Increasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/_legendgrouptitle.py b/plotly/graph_objs/candlestick/_legendgrouptitle.py index f26b1a47744..c4fb3f77ced 100644 --- a/plotly/graph_objs/candlestick/_legendgrouptitle.py +++ b/plotly/graph_objs/candlestick/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "candlestick" _path_str = "candlestick.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/_line.py b/plotly/graph_objs/candlestick/_line.py index 557c4d2a6d6..4250d339af5 100644 --- a/plotly/graph_objs/candlestick/_line.py +++ b/plotly/graph_objs/candlestick/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "candlestick" _path_str = "candlestick.line" _valid_props = {"width"} @@ -73,12 +72,10 @@ def __init__(self, arg=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.Line`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/_stream.py b/plotly/graph_objs/candlestick/_stream.py index 5fd66aebaad..1242e424bba 100644 --- a/plotly/graph_objs/candlestick/_stream.py +++ b/plotly/graph_objs/candlestick/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "candlestick" _path_str = "candlestick.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.Stream`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/decreasing/_line.py b/plotly/graph_objs/candlestick/decreasing/_line.py index 7fad2eb4672..4e0f2e0260e 100644 --- a/plotly/graph_objs/candlestick/decreasing/_line.py +++ b/plotly/graph_objs/candlestick/decreasing/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "candlestick.decreasing" _path_str = "candlestick.decreasing.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.decreasing.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.decreasing.Line`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.decreasing.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/hoverlabel/_font.py b/plotly/graph_objs/candlestick/hoverlabel/_font.py index 33074f6dece..86e1b5ad71b 100644 --- a/plotly/graph_objs/candlestick/hoverlabel/_font.py +++ b/plotly/graph_objs/candlestick/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "candlestick.hoverlabel" _path_str = "candlestick.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/increasing/_line.py b/plotly/graph_objs/candlestick/increasing/_line.py index b3b1f430348..964d07d81cc 100644 --- a/plotly/graph_objs/candlestick/increasing/_line.py +++ b/plotly/graph_objs/candlestick/increasing/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "candlestick.increasing" _path_str = "candlestick.increasing.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.increasing.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.increasing.Line`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.increasing.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/candlestick/legendgrouptitle/_font.py b/plotly/graph_objs/candlestick/legendgrouptitle/_font.py index 69ba0e0bdbb..3026f85f528 100644 --- a/plotly/graph_objs/candlestick/legendgrouptitle/_font.py +++ b/plotly/graph_objs/candlestick/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "candlestick.legendgrouptitle" _path_str = "candlestick.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.candlestick.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.candlestick.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.candlestick.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/_aaxis.py b/plotly/graph_objs/carpet/_aaxis.py index 63ac58e94dc..f10597ef659 100644 --- a/plotly/graph_objs/carpet/_aaxis.py +++ b/plotly/graph_objs/carpet/_aaxis.py @@ -6,7 +6,6 @@ class Aaxis(_BaseTraceHierarchyType): - _parent_path_str = "carpet" _path_str = "carpet.aaxis" _valid_props = { @@ -1781,12 +1780,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.Aaxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.Aaxis`""" - ) +an instance of :class:`plotly.graph_objs.carpet.Aaxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/_baxis.py b/plotly/graph_objs/carpet/_baxis.py index 70dafa7233a..f268f698338 100644 --- a/plotly/graph_objs/carpet/_baxis.py +++ b/plotly/graph_objs/carpet/_baxis.py @@ -6,7 +6,6 @@ class Baxis(_BaseTraceHierarchyType): - _parent_path_str = "carpet" _path_str = "carpet.baxis" _valid_props = { @@ -1781,12 +1780,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.Baxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.Baxis`""" - ) +an instance of :class:`plotly.graph_objs.carpet.Baxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/_font.py b/plotly/graph_objs/carpet/_font.py index 1b75d675850..d41425cc7f6 100644 --- a/plotly/graph_objs/carpet/_font.py +++ b/plotly/graph_objs/carpet/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "carpet" _path_str = "carpet.font" _valid_props = { @@ -313,12 +312,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.Font`""" - ) +an instance of :class:`plotly.graph_objs.carpet.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/_legendgrouptitle.py b/plotly/graph_objs/carpet/_legendgrouptitle.py index 885c7fbe004..94d0b97116f 100644 --- a/plotly/graph_objs/carpet/_legendgrouptitle.py +++ b/plotly/graph_objs/carpet/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "carpet" _path_str = "carpet.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.carpet.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/_stream.py b/plotly/graph_objs/carpet/_stream.py index 65d80e96ec4..47c3ae79196 100644 --- a/plotly/graph_objs/carpet/_stream.py +++ b/plotly/graph_objs/carpet/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "carpet" _path_str = "carpet.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.Stream`""" - ) +an instance of :class:`plotly.graph_objs.carpet.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/aaxis/_tickfont.py b/plotly/graph_objs/carpet/aaxis/_tickfont.py index 447a500cd93..32256e97f47 100644 --- a/plotly/graph_objs/carpet/aaxis/_tickfont.py +++ b/plotly/graph_objs/carpet/aaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "carpet.aaxis" _path_str = "carpet.aaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.aaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.aaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.carpet.aaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/aaxis/_tickformatstop.py b/plotly/graph_objs/carpet/aaxis/_tickformatstop.py index c0a7bb38834..5a757beda51 100644 --- a/plotly/graph_objs/carpet/aaxis/_tickformatstop.py +++ b/plotly/graph_objs/carpet/aaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "carpet.aaxis" _path_str = "carpet.aaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.aaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.aaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.carpet.aaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/aaxis/_title.py b/plotly/graph_objs/carpet/aaxis/_title.py index 093a7186b99..265e4e1b37d 100644 --- a/plotly/graph_objs/carpet/aaxis/_title.py +++ b/plotly/graph_objs/carpet/aaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "carpet.aaxis" _path_str = "carpet.aaxis.title" _valid_props = {"font", "offset", "text"} @@ -116,12 +115,10 @@ def __init__(self, arg=None, font=None, offset=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.aaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.aaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.carpet.aaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/aaxis/title/_font.py b/plotly/graph_objs/carpet/aaxis/title/_font.py index dfa4a4ee490..398ca780a89 100644 --- a/plotly/graph_objs/carpet/aaxis/title/_font.py +++ b/plotly/graph_objs/carpet/aaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "carpet.aaxis.title" _path_str = "carpet.aaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.aaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.aaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.carpet.aaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/baxis/_tickfont.py b/plotly/graph_objs/carpet/baxis/_tickfont.py index d6fd63595b6..0085dc56018 100644 --- a/plotly/graph_objs/carpet/baxis/_tickfont.py +++ b/plotly/graph_objs/carpet/baxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "carpet.baxis" _path_str = "carpet.baxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.baxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/baxis/_tickformatstop.py b/plotly/graph_objs/carpet/baxis/_tickformatstop.py index fdd8cdbcd34..f034d3cb101 100644 --- a/plotly/graph_objs/carpet/baxis/_tickformatstop.py +++ b/plotly/graph_objs/carpet/baxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "carpet.baxis" _path_str = "carpet.baxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.baxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/baxis/_title.py b/plotly/graph_objs/carpet/baxis/_title.py index 56b55d0e442..b1e66dd3726 100644 --- a/plotly/graph_objs/carpet/baxis/_title.py +++ b/plotly/graph_objs/carpet/baxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "carpet.baxis" _path_str = "carpet.baxis.title" _valid_props = {"font", "offset", "text"} @@ -116,12 +115,10 @@ def __init__(self, arg=None, font=None, offset=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.baxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.baxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.carpet.baxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/baxis/title/_font.py b/plotly/graph_objs/carpet/baxis/title/_font.py index 4a4d483e18c..58b35959d5e 100644 --- a/plotly/graph_objs/carpet/baxis/title/_font.py +++ b/plotly/graph_objs/carpet/baxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "carpet.baxis.title" _path_str = "carpet.baxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.baxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.baxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.carpet.baxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/carpet/legendgrouptitle/_font.py b/plotly/graph_objs/carpet/legendgrouptitle/_font.py index 4e4e7d76cc1..d8f6eb1859d 100644 --- a/plotly/graph_objs/carpet/legendgrouptitle/_font.py +++ b/plotly/graph_objs/carpet/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "carpet.legendgrouptitle" _path_str = "carpet.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.carpet.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.carpet.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.carpet.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_colorbar.py b/plotly/graph_objs/choropleth/_colorbar.py index 39174f50c5e..615e866b487 100644 --- a/plotly/graph_objs/choropleth/_colorbar.py +++ b/plotly/graph_objs/choropleth/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.colorbar" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_hoverlabel.py b/plotly/graph_objs/choropleth/_hoverlabel.py index d05020212d6..3c8294e2161 100644 --- a/plotly/graph_objs/choropleth/_hoverlabel.py +++ b/plotly/graph_objs/choropleth/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_legendgrouptitle.py b/plotly/graph_objs/choropleth/_legendgrouptitle.py index 27904cdbf88..c568234db16 100644 --- a/plotly/graph_objs/choropleth/_legendgrouptitle.py +++ b/plotly/graph_objs/choropleth/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_marker.py b/plotly/graph_objs/choropleth/_marker.py index 492ab9a6df3..212bde1253a 100644 --- a/plotly/graph_objs/choropleth/_marker.py +++ b/plotly/graph_objs/choropleth/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.marker" _valid_props = {"line", "opacity", "opacitysrc"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, line=None, opacity=None, opacitysrc=None, **kwargs) elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_selected.py b/plotly/graph_objs/choropleth/_selected.py index 8a34bcaa453..ff0cafd515e 100644 --- a/plotly/graph_objs/choropleth/_selected.py +++ b/plotly/graph_objs/choropleth/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.Selected`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_stream.py b/plotly/graph_objs/choropleth/_stream.py index c131261cf23..84624f89331 100644 --- a/plotly/graph_objs/choropleth/_stream.py +++ b/plotly/graph_objs/choropleth/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.Stream`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/_unselected.py b/plotly/graph_objs/choropleth/_unselected.py index 350c86a2d31..68ef597c4b4 100644 --- a/plotly/graph_objs/choropleth/_unselected.py +++ b/plotly/graph_objs/choropleth/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "choropleth" _path_str = "choropleth.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/colorbar/_tickfont.py b/plotly/graph_objs/choropleth/colorbar/_tickfont.py index 9619ce163fb..48096423fb8 100644 --- a/plotly/graph_objs/choropleth/colorbar/_tickfont.py +++ b/plotly/graph_objs/choropleth/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.colorbar" _path_str = "choropleth.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py b/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py index b6fed280dc3..63aa29c2b0c 100644 --- a/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/choropleth/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.colorbar" _path_str = "choropleth.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/colorbar/_title.py b/plotly/graph_objs/choropleth/colorbar/_title.py index fbfdfcddca9..1ae8cfce3d5 100644 --- a/plotly/graph_objs/choropleth/colorbar/_title.py +++ b/plotly/graph_objs/choropleth/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.colorbar" _path_str = "choropleth.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/colorbar/title/_font.py b/plotly/graph_objs/choropleth/colorbar/title/_font.py index 6c8bab6e6ac..69df048aa6c 100644 --- a/plotly/graph_objs/choropleth/colorbar/title/_font.py +++ b/plotly/graph_objs/choropleth/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.colorbar.title" _path_str = "choropleth.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/hoverlabel/_font.py b/plotly/graph_objs/choropleth/hoverlabel/_font.py index 3febc15ba89..5892c809ed0 100644 --- a/plotly/graph_objs/choropleth/hoverlabel/_font.py +++ b/plotly/graph_objs/choropleth/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.hoverlabel" _path_str = "choropleth.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/legendgrouptitle/_font.py b/plotly/graph_objs/choropleth/legendgrouptitle/_font.py index fb96100668b..79c05c7d4dd 100644 --- a/plotly/graph_objs/choropleth/legendgrouptitle/_font.py +++ b/plotly/graph_objs/choropleth/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.legendgrouptitle" _path_str = "choropleth.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/marker/_line.py b/plotly/graph_objs/choropleth/marker/_line.py index 439b7a705f6..bf9d861776f 100644 --- a/plotly/graph_objs/choropleth/marker/_line.py +++ b/plotly/graph_objs/choropleth/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.marker" _path_str = "choropleth.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -156,12 +155,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/selected/_marker.py b/plotly/graph_objs/choropleth/selected/_marker.py index 652c8098a9b..97eaa76cc72 100644 --- a/plotly/graph_objs/choropleth/selected/_marker.py +++ b/plotly/graph_objs/choropleth/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.selected" _path_str = "choropleth.selected.marker" _valid_props = {"opacity"} @@ -65,12 +64,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choropleth/unselected/_marker.py b/plotly/graph_objs/choropleth/unselected/_marker.py index 65713847b58..d7d5881d434 100644 --- a/plotly/graph_objs/choropleth/unselected/_marker.py +++ b/plotly/graph_objs/choropleth/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choropleth.unselected" _path_str = "choropleth.unselected.marker" _valid_props = {"opacity"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choropleth.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choropleth.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choropleth.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_colorbar.py b/plotly/graph_objs/choroplethmap/_colorbar.py index e59bbad187b..1a40618937c 100644 --- a/plotly/graph_objs/choroplethmap/_colorbar.py +++ b/plotly/graph_objs/choroplethmap/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_hoverlabel.py b/plotly/graph_objs/choroplethmap/_hoverlabel.py index 9dbdabf3407..761e481a6d0 100644 --- a/plotly/graph_objs/choroplethmap/_hoverlabel.py +++ b/plotly/graph_objs/choroplethmap/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_legendgrouptitle.py b/plotly/graph_objs/choroplethmap/_legendgrouptitle.py index 228e2493b5e..ddfbdfdf11c 100644 --- a/plotly/graph_objs/choroplethmap/_legendgrouptitle.py +++ b/plotly/graph_objs/choroplethmap/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_marker.py b/plotly/graph_objs/choroplethmap/_marker.py index 567341c8ba2..0f7f498b928 100644 --- a/plotly/graph_objs/choroplethmap/_marker.py +++ b/plotly/graph_objs/choroplethmap/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.marker" _valid_props = {"line", "opacity", "opacitysrc"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, line=None, opacity=None, opacitysrc=None, **kwargs) elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_selected.py b/plotly/graph_objs/choroplethmap/_selected.py index d4ad6cc6e84..e68c38fe480 100644 --- a/plotly/graph_objs/choroplethmap/_selected.py +++ b/plotly/graph_objs/choroplethmap/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.Selected`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_stream.py b/plotly/graph_objs/choroplethmap/_stream.py index afae9f66e7e..348b27d9642 100644 --- a/plotly/graph_objs/choroplethmap/_stream.py +++ b/plotly/graph_objs/choroplethmap/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.Stream`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/_unselected.py b/plotly/graph_objs/choroplethmap/_unselected.py index 419fa29373a..fcbf6a8fb82 100644 --- a/plotly/graph_objs/choroplethmap/_unselected.py +++ b/plotly/graph_objs/choroplethmap/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap" _path_str = "choroplethmap.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py b/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py index 3a060d41a85..b20f689e109 100644 --- a/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py +++ b/plotly/graph_objs/choroplethmap/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.colorbar" _path_str = "choroplethmap.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/colorbar/_tickformatstop.py b/plotly/graph_objs/choroplethmap/colorbar/_tickformatstop.py index 7140429c342..f13d83f6101 100644 --- a/plotly/graph_objs/choroplethmap/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/choroplethmap/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.colorbar" _path_str = "choroplethmap.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/colorbar/_title.py b/plotly/graph_objs/choroplethmap/colorbar/_title.py index 58d52f6d944..c5f12b32500 100644 --- a/plotly/graph_objs/choroplethmap/colorbar/_title.py +++ b/plotly/graph_objs/choroplethmap/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.colorbar" _path_str = "choroplethmap.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/colorbar/title/_font.py b/plotly/graph_objs/choroplethmap/colorbar/title/_font.py index f5a00ed2879..ff94542fafb 100644 --- a/plotly/graph_objs/choroplethmap/colorbar/title/_font.py +++ b/plotly/graph_objs/choroplethmap/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.colorbar.title" _path_str = "choroplethmap.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/hoverlabel/_font.py b/plotly/graph_objs/choroplethmap/hoverlabel/_font.py index d0c1d7c7ead..dda15f31cc6 100644 --- a/plotly/graph_objs/choroplethmap/hoverlabel/_font.py +++ b/plotly/graph_objs/choroplethmap/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.hoverlabel" _path_str = "choroplethmap.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py b/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py index ff2ae05ea64..4d2b65b6151 100644 --- a/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/choroplethmap/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.legendgrouptitle" _path_str = "choroplethmap.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/marker/_line.py b/plotly/graph_objs/choroplethmap/marker/_line.py index cff91959296..77c79282b00 100644 --- a/plotly/graph_objs/choroplethmap/marker/_line.py +++ b/plotly/graph_objs/choroplethmap/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.marker" _path_str = "choroplethmap.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -156,12 +155,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/selected/_marker.py b/plotly/graph_objs/choroplethmap/selected/_marker.py index 7d34c68681d..9f254a9bc18 100644 --- a/plotly/graph_objs/choroplethmap/selected/_marker.py +++ b/plotly/graph_objs/choroplethmap/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.selected" _path_str = "choroplethmap.selected.marker" _valid_props = {"opacity"} @@ -65,12 +64,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmap/unselected/_marker.py b/plotly/graph_objs/choroplethmap/unselected/_marker.py index 518f96e5d65..27e2a341abc 100644 --- a/plotly/graph_objs/choroplethmap/unselected/_marker.py +++ b/plotly/graph_objs/choroplethmap/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmap.unselected" _path_str = "choroplethmap.unselected.marker" _valid_props = {"opacity"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmap.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmap.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmap.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_colorbar.py b/plotly/graph_objs/choroplethmapbox/_colorbar.py index eabc5a8c173..135c8518ac9 100644 --- a/plotly/graph_objs/choroplethmapbox/_colorbar.py +++ b/plotly/graph_objs/choroplethmapbox/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_hoverlabel.py b/plotly/graph_objs/choroplethmapbox/_hoverlabel.py index bcfdeceeca7..1c8312e51e3 100644 --- a/plotly/graph_objs/choroplethmapbox/_hoverlabel.py +++ b/plotly/graph_objs/choroplethmapbox/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py b/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py index 28433f4bb24..24455318cdf 100644 --- a/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py +++ b/plotly/graph_objs/choroplethmapbox/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_marker.py b/plotly/graph_objs/choroplethmapbox/_marker.py index 8af9169be76..d4b24d4d30c 100644 --- a/plotly/graph_objs/choroplethmapbox/_marker.py +++ b/plotly/graph_objs/choroplethmapbox/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.marker" _valid_props = {"line", "opacity", "opacitysrc"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, line=None, opacity=None, opacitysrc=None, **kwargs) elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_selected.py b/plotly/graph_objs/choroplethmapbox/_selected.py index a53ee20cc46..d7c4b130092 100644 --- a/plotly/graph_objs/choroplethmapbox/_selected.py +++ b/plotly/graph_objs/choroplethmapbox/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.Selected`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_stream.py b/plotly/graph_objs/choroplethmapbox/_stream.py index a4f4edc76a9..1698554caf7 100644 --- a/plotly/graph_objs/choroplethmapbox/_stream.py +++ b/plotly/graph_objs/choroplethmapbox/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.Stream`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/_unselected.py b/plotly/graph_objs/choroplethmapbox/_unselected.py index 35b6305e919..ad22ba4cdaf 100644 --- a/plotly/graph_objs/choroplethmapbox/_unselected.py +++ b/plotly/graph_objs/choroplethmapbox/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox" _path_str = "choroplethmapbox.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py b/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py index e428b19cb5a..b44c18a7cf3 100644 --- a/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py +++ b/plotly/graph_objs/choroplethmapbox/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.colorbar" _path_str = "choroplethmapbox.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py b/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py index 7f5c44ccf3f..30794def8c9 100644 --- a/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/choroplethmapbox/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.colorbar" _path_str = "choroplethmapbox.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/colorbar/_title.py b/plotly/graph_objs/choroplethmapbox/colorbar/_title.py index 155db24be97..f96e32ecdfb 100644 --- a/plotly/graph_objs/choroplethmapbox/colorbar/_title.py +++ b/plotly/graph_objs/choroplethmapbox/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.colorbar" _path_str = "choroplethmapbox.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py b/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py index 0e691e406a1..1fd1fc233ad 100644 --- a/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py +++ b/plotly/graph_objs/choroplethmapbox/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.colorbar.title" _path_str = "choroplethmapbox.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py b/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py index d68e020e8b8..20d0759f789 100644 --- a/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py +++ b/plotly/graph_objs/choroplethmapbox/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.hoverlabel" _path_str = "choroplethmapbox.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py b/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py index 75512dc09fb..21b889a3b8d 100644 --- a/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py +++ b/plotly/graph_objs/choroplethmapbox/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.legendgrouptitle" _path_str = "choroplethmapbox.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/marker/_line.py b/plotly/graph_objs/choroplethmapbox/marker/_line.py index 0e58dc40e08..47d10d322db 100644 --- a/plotly/graph_objs/choroplethmapbox/marker/_line.py +++ b/plotly/graph_objs/choroplethmapbox/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.marker" _path_str = "choroplethmapbox.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -156,12 +155,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/selected/_marker.py b/plotly/graph_objs/choroplethmapbox/selected/_marker.py index 52fdc754c92..4b7a35defba 100644 --- a/plotly/graph_objs/choroplethmapbox/selected/_marker.py +++ b/plotly/graph_objs/choroplethmapbox/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.selected" _path_str = "choroplethmapbox.selected.marker" _valid_props = {"opacity"} @@ -65,12 +64,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/choroplethmapbox/unselected/_marker.py b/plotly/graph_objs/choroplethmapbox/unselected/_marker.py index 4b0c9c707c6..5da2bb2173f 100644 --- a/plotly/graph_objs/choroplethmapbox/unselected/_marker.py +++ b/plotly/graph_objs/choroplethmapbox/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "choroplethmapbox.unselected" _path_str = "choroplethmapbox.unselected.marker" _valid_props = {"opacity"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.choroplethmapbox.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.choroplethmapbox.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.choroplethmapbox.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/_colorbar.py b/plotly/graph_objs/cone/_colorbar.py index 992ae1811a7..8fa81054c52 100644 --- a/plotly/graph_objs/cone/_colorbar.py +++ b/plotly/graph_objs/cone/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "cone" _path_str = "cone.colorbar" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.cone.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/_hoverlabel.py b/plotly/graph_objs/cone/_hoverlabel.py index ecb067e96fe..a2d769cc65e 100644 --- a/plotly/graph_objs/cone/_hoverlabel.py +++ b/plotly/graph_objs/cone/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "cone" _path_str = "cone.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.cone.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/_legendgrouptitle.py b/plotly/graph_objs/cone/_legendgrouptitle.py index bf86738c7bf..2028ac44264 100644 --- a/plotly/graph_objs/cone/_legendgrouptitle.py +++ b/plotly/graph_objs/cone/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "cone" _path_str = "cone.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.cone.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/_lighting.py b/plotly/graph_objs/cone/_lighting.py index 9feeee4f318..e8cfa31ba4f 100644 --- a/plotly/graph_objs/cone/_lighting.py +++ b/plotly/graph_objs/cone/_lighting.py @@ -6,7 +6,6 @@ class Lighting(_BaseTraceHierarchyType): - _parent_path_str = "cone" _path_str = "cone.lighting" _valid_props = { @@ -241,12 +240,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.Lighting constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.Lighting`""" - ) +an instance of :class:`plotly.graph_objs.cone.Lighting`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/_lightposition.py b/plotly/graph_objs/cone/_lightposition.py index 737785ef37e..13775d631f1 100644 --- a/plotly/graph_objs/cone/_lightposition.py +++ b/plotly/graph_objs/cone/_lightposition.py @@ -6,7 +6,6 @@ class Lightposition(_BaseTraceHierarchyType): - _parent_path_str = "cone" _path_str = "cone.lightposition" _valid_props = {"x", "y", "z"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.Lightposition constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.Lightposition`""" - ) +an instance of :class:`plotly.graph_objs.cone.Lightposition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/_stream.py b/plotly/graph_objs/cone/_stream.py index 0bb3806ed2b..6660a2ba385 100644 --- a/plotly/graph_objs/cone/_stream.py +++ b/plotly/graph_objs/cone/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "cone" _path_str = "cone.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.Stream`""" - ) +an instance of :class:`plotly.graph_objs.cone.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/colorbar/_tickfont.py b/plotly/graph_objs/cone/colorbar/_tickfont.py index 9296220ef49..4b287303a6b 100644 --- a/plotly/graph_objs/cone/colorbar/_tickfont.py +++ b/plotly/graph_objs/cone/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "cone.colorbar" _path_str = "cone.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.cone.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/colorbar/_tickformatstop.py b/plotly/graph_objs/cone/colorbar/_tickformatstop.py index d9c4699f10a..740f3902ebb 100644 --- a/plotly/graph_objs/cone/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/cone/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "cone.colorbar" _path_str = "cone.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.cone.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/colorbar/_title.py b/plotly/graph_objs/cone/colorbar/_title.py index 760e95a2748..66d5ec4d1b7 100644 --- a/plotly/graph_objs/cone/colorbar/_title.py +++ b/plotly/graph_objs/cone/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "cone.colorbar" _path_str = "cone.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.cone.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/colorbar/title/_font.py b/plotly/graph_objs/cone/colorbar/title/_font.py index 25debdef61c..08e5f3c8f94 100644 --- a/plotly/graph_objs/cone/colorbar/title/_font.py +++ b/plotly/graph_objs/cone/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "cone.colorbar.title" _path_str = "cone.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.cone.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/hoverlabel/_font.py b/plotly/graph_objs/cone/hoverlabel/_font.py index d6ab1619581..b24ef2034ef 100644 --- a/plotly/graph_objs/cone/hoverlabel/_font.py +++ b/plotly/graph_objs/cone/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "cone.hoverlabel" _path_str = "cone.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.cone.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/cone/legendgrouptitle/_font.py b/plotly/graph_objs/cone/legendgrouptitle/_font.py index f2eb484bc23..90b723a1c2a 100644 --- a/plotly/graph_objs/cone/legendgrouptitle/_font.py +++ b/plotly/graph_objs/cone/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "cone.legendgrouptitle" _path_str = "cone.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.cone.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.cone.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.cone.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_colorbar.py b/plotly/graph_objs/contour/_colorbar.py index 85d4f3124ca..6c36df4d5c5 100644 --- a/plotly/graph_objs/contour/_colorbar.py +++ b/plotly/graph_objs/contour/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.contour.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_contours.py b/plotly/graph_objs/contour/_contours.py index ef0f4374fbc..122d8d20b26 100644 --- a/plotly/graph_objs/contour/_contours.py +++ b/plotly/graph_objs/contour/_contours.py @@ -6,7 +6,6 @@ class Contours(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.contours" _valid_props = { @@ -414,12 +413,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.Contours constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.Contours`""" - ) +an instance of :class:`plotly.graph_objs.contour.Contours`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_hoverlabel.py b/plotly/graph_objs/contour/_hoverlabel.py index 4b4d5ecb3ca..b8731b5828e 100644 --- a/plotly/graph_objs/contour/_hoverlabel.py +++ b/plotly/graph_objs/contour/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.contour.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_legendgrouptitle.py b/plotly/graph_objs/contour/_legendgrouptitle.py index b5ffa80ebe8..9566a13db0c 100644 --- a/plotly/graph_objs/contour/_legendgrouptitle.py +++ b/plotly/graph_objs/contour/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.contour.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_line.py b/plotly/graph_objs/contour/_line.py index 5b69afca1c2..9090ff7ee69 100644 --- a/plotly/graph_objs/contour/_line.py +++ b/plotly/graph_objs/contour/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.line" _valid_props = {"color", "dash", "smoothing", "width"} @@ -160,12 +159,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.Line`""" - ) +an instance of :class:`plotly.graph_objs.contour.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_stream.py b/plotly/graph_objs/contour/_stream.py index 377e5079593..0fc45b640b5 100644 --- a/plotly/graph_objs/contour/_stream.py +++ b/plotly/graph_objs/contour/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.Stream`""" - ) +an instance of :class:`plotly.graph_objs.contour.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/_textfont.py b/plotly/graph_objs/contour/_textfont.py index 9f6be125dac..281f19b23f1 100644 --- a/plotly/graph_objs/contour/_textfont.py +++ b/plotly/graph_objs/contour/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "contour" _path_str = "contour.textfont" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.contour.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/colorbar/_tickfont.py b/plotly/graph_objs/contour/colorbar/_tickfont.py index 9f48bd0f753..5d83a6417b1 100644 --- a/plotly/graph_objs/contour/colorbar/_tickfont.py +++ b/plotly/graph_objs/contour/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "contour.colorbar" _path_str = "contour.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.contour.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/colorbar/_tickformatstop.py b/plotly/graph_objs/contour/colorbar/_tickformatstop.py index 2881ae4a84a..3ec4bfd9d98 100644 --- a/plotly/graph_objs/contour/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/contour/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "contour.colorbar" _path_str = "contour.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.contour.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/colorbar/_title.py b/plotly/graph_objs/contour/colorbar/_title.py index b98fa282146..111d8484db6 100644 --- a/plotly/graph_objs/contour/colorbar/_title.py +++ b/plotly/graph_objs/contour/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "contour.colorbar" _path_str = "contour.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.contour.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/colorbar/title/_font.py b/plotly/graph_objs/contour/colorbar/title/_font.py index 0dd77b80e51..4d09b4e494e 100644 --- a/plotly/graph_objs/contour/colorbar/title/_font.py +++ b/plotly/graph_objs/contour/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "contour.colorbar.title" _path_str = "contour.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.contour.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/contours/_labelfont.py b/plotly/graph_objs/contour/contours/_labelfont.py index 63420933834..da4331751d1 100644 --- a/plotly/graph_objs/contour/contours/_labelfont.py +++ b/plotly/graph_objs/contour/contours/_labelfont.py @@ -6,7 +6,6 @@ class Labelfont(_BaseTraceHierarchyType): - _parent_path_str = "contour.contours" _path_str = "contour.contours.labelfont" _valid_props = { @@ -316,12 +315,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.contours.Labelfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.contours.Labelfont`""" - ) +an instance of :class:`plotly.graph_objs.contour.contours.Labelfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/hoverlabel/_font.py b/plotly/graph_objs/contour/hoverlabel/_font.py index 59bb4af4aba..6da93a51f8b 100644 --- a/plotly/graph_objs/contour/hoverlabel/_font.py +++ b/plotly/graph_objs/contour/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "contour.hoverlabel" _path_str = "contour.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.contour.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contour/legendgrouptitle/_font.py b/plotly/graph_objs/contour/legendgrouptitle/_font.py index 577248fb4a7..71f970064c2 100644 --- a/plotly/graph_objs/contour/legendgrouptitle/_font.py +++ b/plotly/graph_objs/contour/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "contour.legendgrouptitle" _path_str = "contour.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contour.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.contour.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.contour.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/_colorbar.py b/plotly/graph_objs/contourcarpet/_colorbar.py index f66f9e07290..0ae312257b4 100644 --- a/plotly/graph_objs/contourcarpet/_colorbar.py +++ b/plotly/graph_objs/contourcarpet/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet" _path_str = "contourcarpet.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/_contours.py b/plotly/graph_objs/contourcarpet/_contours.py index 8a62c79c045..0b5e3fbe175 100644 --- a/plotly/graph_objs/contourcarpet/_contours.py +++ b/plotly/graph_objs/contourcarpet/_contours.py @@ -6,7 +6,6 @@ class Contours(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet" _path_str = "contourcarpet.contours" _valid_props = { @@ -411,12 +410,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.Contours constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.Contours`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.Contours`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/_legendgrouptitle.py b/plotly/graph_objs/contourcarpet/_legendgrouptitle.py index 0b0182c3788..77cc45aaf21 100644 --- a/plotly/graph_objs/contourcarpet/_legendgrouptitle.py +++ b/plotly/graph_objs/contourcarpet/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet" _path_str = "contourcarpet.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/_line.py b/plotly/graph_objs/contourcarpet/_line.py index 5d8dfaabb6b..7846e687fc5 100644 --- a/plotly/graph_objs/contourcarpet/_line.py +++ b/plotly/graph_objs/contourcarpet/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet" _path_str = "contourcarpet.line" _valid_props = {"color", "dash", "smoothing", "width"} @@ -161,12 +160,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.Line`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/_stream.py b/plotly/graph_objs/contourcarpet/_stream.py index e70573422f9..cc8c3f79c40 100644 --- a/plotly/graph_objs/contourcarpet/_stream.py +++ b/plotly/graph_objs/contourcarpet/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet" _path_str = "contourcarpet.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.Stream`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py b/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py index 541be1accb1..184293eee45 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet.colorbar" _path_str = "contourcarpet.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py b/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py index 79742e915f4..e62f40968ef 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet.colorbar" _path_str = "contourcarpet.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/colorbar/_title.py b/plotly/graph_objs/contourcarpet/colorbar/_title.py index 7cfc3fcd0a7..879af1dbfb3 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/_title.py +++ b/plotly/graph_objs/contourcarpet/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet.colorbar" _path_str = "contourcarpet.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/colorbar/title/_font.py b/plotly/graph_objs/contourcarpet/colorbar/title/_font.py index 8e80bfdbafd..673f011f804 100644 --- a/plotly/graph_objs/contourcarpet/colorbar/title/_font.py +++ b/plotly/graph_objs/contourcarpet/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet.colorbar.title" _path_str = "contourcarpet.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/contours/_labelfont.py b/plotly/graph_objs/contourcarpet/contours/_labelfont.py index 730a04b8787..d880ceb590d 100644 --- a/plotly/graph_objs/contourcarpet/contours/_labelfont.py +++ b/plotly/graph_objs/contourcarpet/contours/_labelfont.py @@ -6,7 +6,6 @@ class Labelfont(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet.contours" _path_str = "contourcarpet.contours.labelfont" _valid_props = { @@ -316,12 +315,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.contours.Labelfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.contours.Labelfont`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.contours.Labelfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py b/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py index a45a8a1f015..cf6e1318006 100644 --- a/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py +++ b/plotly/graph_objs/contourcarpet/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "contourcarpet.legendgrouptitle" _path_str = "contourcarpet.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.contourcarpet.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.contourcarpet.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.contourcarpet.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/_colorbar.py b/plotly/graph_objs/densitymap/_colorbar.py index 9ac17542b74..750416e7f2f 100644 --- a/plotly/graph_objs/densitymap/_colorbar.py +++ b/plotly/graph_objs/densitymap/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "densitymap" _path_str = "densitymap.colorbar" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/_hoverlabel.py b/plotly/graph_objs/densitymap/_hoverlabel.py index 8b5bb51aa42..af9edb09c8e 100644 --- a/plotly/graph_objs/densitymap/_hoverlabel.py +++ b/plotly/graph_objs/densitymap/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "densitymap" _path_str = "densitymap.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/_legendgrouptitle.py b/plotly/graph_objs/densitymap/_legendgrouptitle.py index 088c7c1760c..27e91accb68 100644 --- a/plotly/graph_objs/densitymap/_legendgrouptitle.py +++ b/plotly/graph_objs/densitymap/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "densitymap" _path_str = "densitymap.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/_stream.py b/plotly/graph_objs/densitymap/_stream.py index 8c552898e1a..d46b6419b76 100644 --- a/plotly/graph_objs/densitymap/_stream.py +++ b/plotly/graph_objs/densitymap/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "densitymap" _path_str = "densitymap.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.Stream`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/colorbar/_tickfont.py b/plotly/graph_objs/densitymap/colorbar/_tickfont.py index 2177f1a8d29..26b4695b647 100644 --- a/plotly/graph_objs/densitymap/colorbar/_tickfont.py +++ b/plotly/graph_objs/densitymap/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "densitymap.colorbar" _path_str = "densitymap.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/colorbar/_tickformatstop.py b/plotly/graph_objs/densitymap/colorbar/_tickformatstop.py index 94c09d099b4..ec189ab8af9 100644 --- a/plotly/graph_objs/densitymap/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/densitymap/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "densitymap.colorbar" _path_str = "densitymap.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/colorbar/_title.py b/plotly/graph_objs/densitymap/colorbar/_title.py index 8d91992112f..caf12d6e568 100644 --- a/plotly/graph_objs/densitymap/colorbar/_title.py +++ b/plotly/graph_objs/densitymap/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "densitymap.colorbar" _path_str = "densitymap.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/colorbar/title/_font.py b/plotly/graph_objs/densitymap/colorbar/title/_font.py index 25cddae36d0..903a5466e3d 100644 --- a/plotly/graph_objs/densitymap/colorbar/title/_font.py +++ b/plotly/graph_objs/densitymap/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "densitymap.colorbar.title" _path_str = "densitymap.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/hoverlabel/_font.py b/plotly/graph_objs/densitymap/hoverlabel/_font.py index 8a472eca20e..6ce680847ec 100644 --- a/plotly/graph_objs/densitymap/hoverlabel/_font.py +++ b/plotly/graph_objs/densitymap/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "densitymap.hoverlabel" _path_str = "densitymap.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymap/legendgrouptitle/_font.py b/plotly/graph_objs/densitymap/legendgrouptitle/_font.py index d1f90139c20..3aed80b8ef6 100644 --- a/plotly/graph_objs/densitymap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/densitymap/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "densitymap.legendgrouptitle" _path_str = "densitymap.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymap.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymap.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.densitymap.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/_colorbar.py b/plotly/graph_objs/densitymapbox/_colorbar.py index 6e9befa57f2..a6c1f873d8e 100644 --- a/plotly/graph_objs/densitymapbox/_colorbar.py +++ b/plotly/graph_objs/densitymapbox/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox" _path_str = "densitymapbox.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/_hoverlabel.py b/plotly/graph_objs/densitymapbox/_hoverlabel.py index 610e7149261..832e3263df2 100644 --- a/plotly/graph_objs/densitymapbox/_hoverlabel.py +++ b/plotly/graph_objs/densitymapbox/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox" _path_str = "densitymapbox.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/_legendgrouptitle.py b/plotly/graph_objs/densitymapbox/_legendgrouptitle.py index c474355b76e..79528e32177 100644 --- a/plotly/graph_objs/densitymapbox/_legendgrouptitle.py +++ b/plotly/graph_objs/densitymapbox/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox" _path_str = "densitymapbox.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/_stream.py b/plotly/graph_objs/densitymapbox/_stream.py index cf7ba5e5f79..9949ce71cdf 100644 --- a/plotly/graph_objs/densitymapbox/_stream.py +++ b/plotly/graph_objs/densitymapbox/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox" _path_str = "densitymapbox.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.Stream`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py b/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py index 74715514d1b..046dc4fc269 100644 --- a/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py +++ b/plotly/graph_objs/densitymapbox/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox.colorbar" _path_str = "densitymapbox.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py b/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py index 23fa41065f4..e81db359538 100644 --- a/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/densitymapbox/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox.colorbar" _path_str = "densitymapbox.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/colorbar/_title.py b/plotly/graph_objs/densitymapbox/colorbar/_title.py index e0176aded70..b281eb60d18 100644 --- a/plotly/graph_objs/densitymapbox/colorbar/_title.py +++ b/plotly/graph_objs/densitymapbox/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox.colorbar" _path_str = "densitymapbox.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/colorbar/title/_font.py b/plotly/graph_objs/densitymapbox/colorbar/title/_font.py index c5f03a53d65..f3d719ef9b6 100644 --- a/plotly/graph_objs/densitymapbox/colorbar/title/_font.py +++ b/plotly/graph_objs/densitymapbox/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox.colorbar.title" _path_str = "densitymapbox.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/hoverlabel/_font.py b/plotly/graph_objs/densitymapbox/hoverlabel/_font.py index 055a4f7f169..84548e8490c 100644 --- a/plotly/graph_objs/densitymapbox/hoverlabel/_font.py +++ b/plotly/graph_objs/densitymapbox/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox.hoverlabel" _path_str = "densitymapbox.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py b/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py index 00ce1aae917..70b46b792ec 100644 --- a/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py +++ b/plotly/graph_objs/densitymapbox/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "densitymapbox.legendgrouptitle" _path_str = "densitymapbox.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.densitymapbox.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.densitymapbox.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.densitymapbox.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_connector.py b/plotly/graph_objs/funnel/_connector.py index ed07fd07199..c19f43133bb 100644 --- a/plotly/graph_objs/funnel/_connector.py +++ b/plotly/graph_objs/funnel/_connector.py @@ -6,7 +6,6 @@ class Connector(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.connector" _valid_props = {"fillcolor", "line", "visible"} @@ -116,12 +115,10 @@ def __init__(self, arg=None, fillcolor=None, line=None, visible=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Connector constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Connector`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Connector`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_hoverlabel.py b/plotly/graph_objs/funnel/_hoverlabel.py index 345c8b02a75..ad98b309260 100644 --- a/plotly/graph_objs/funnel/_hoverlabel.py +++ b/plotly/graph_objs/funnel/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_insidetextfont.py b/plotly/graph_objs/funnel/_insidetextfont.py index 181e01cc9d7..1ab68aa40cf 100644 --- a/plotly/graph_objs/funnel/_insidetextfont.py +++ b/plotly/graph_objs/funnel/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_legendgrouptitle.py b/plotly/graph_objs/funnel/_legendgrouptitle.py index 5e38ba56993..599ae79b711 100644 --- a/plotly/graph_objs/funnel/_legendgrouptitle.py +++ b/plotly/graph_objs/funnel/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_marker.py b/plotly/graph_objs/funnel/_marker.py index 598cd19bd60..631cc28fdb3 100644 --- a/plotly/graph_objs/funnel/_marker.py +++ b/plotly/graph_objs/funnel/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.marker" _valid_props = { @@ -595,12 +594,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Marker`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_outsidetextfont.py b/plotly/graph_objs/funnel/_outsidetextfont.py index 4302f39947b..a413cf4b750 100644 --- a/plotly/graph_objs/funnel/_outsidetextfont.py +++ b/plotly/graph_objs/funnel/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.outsidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_stream.py b/plotly/graph_objs/funnel/_stream.py index 200a88d6c05..a9b62adcaf4 100644 --- a/plotly/graph_objs/funnel/_stream.py +++ b/plotly/graph_objs/funnel/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Stream`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/_textfont.py b/plotly/graph_objs/funnel/_textfont.py index 8283117fe96..c7f91d3dca6 100644 --- a/plotly/graph_objs/funnel/_textfont.py +++ b/plotly/graph_objs/funnel/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "funnel" _path_str = "funnel.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.funnel.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/connector/_line.py b/plotly/graph_objs/funnel/connector/_line.py index 74d3ec6f3f1..9484bb38e24 100644 --- a/plotly/graph_objs/funnel/connector/_line.py +++ b/plotly/graph_objs/funnel/connector/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "funnel.connector" _path_str = "funnel.connector.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.connector.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.connector.Line`""" - ) +an instance of :class:`plotly.graph_objs.funnel.connector.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/hoverlabel/_font.py b/plotly/graph_objs/funnel/hoverlabel/_font.py index 594a074d511..fda32537eae 100644 --- a/plotly/graph_objs/funnel/hoverlabel/_font.py +++ b/plotly/graph_objs/funnel/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "funnel.hoverlabel" _path_str = "funnel.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.funnel.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/legendgrouptitle/_font.py b/plotly/graph_objs/funnel/legendgrouptitle/_font.py index cabd5f6de14..de2957ba1c5 100644 --- a/plotly/graph_objs/funnel/legendgrouptitle/_font.py +++ b/plotly/graph_objs/funnel/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "funnel.legendgrouptitle" _path_str = "funnel.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.funnel.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/marker/_colorbar.py b/plotly/graph_objs/funnel/marker/_colorbar.py index 0b339d6bf18..9db280e9fe7 100644 --- a/plotly/graph_objs/funnel/marker/_colorbar.py +++ b/plotly/graph_objs/funnel/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "funnel.marker" _path_str = "funnel.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.funnel.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/marker/_line.py b/plotly/graph_objs/funnel/marker/_line.py index ac49f331081..3131fba5797 100644 --- a/plotly/graph_objs/funnel/marker/_line.py +++ b/plotly/graph_objs/funnel/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "funnel.marker" _path_str = "funnel.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.funnel.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py b/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py index 38c76adfe2a..57aa294a208 100644 --- a/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/funnel/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "funnel.marker.colorbar" _path_str = "funnel.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py index c4d83d6e0c9..65a16937599 100644 --- a/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/funnel/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "funnel.marker.colorbar" _path_str = "funnel.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/marker/colorbar/_title.py b/plotly/graph_objs/funnel/marker/colorbar/_title.py index 352a9552ac2..0b75fba89ae 100644 --- a/plotly/graph_objs/funnel/marker/colorbar/_title.py +++ b/plotly/graph_objs/funnel/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "funnel.marker.colorbar" _path_str = "funnel.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnel/marker/colorbar/title/_font.py b/plotly/graph_objs/funnel/marker/colorbar/title/_font.py index ae84aa05c40..b107d09e188 100644 --- a/plotly/graph_objs/funnel/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/funnel/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "funnel.marker.colorbar.title" _path_str = "funnel.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnel.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.funnel.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_domain.py b/plotly/graph_objs/funnelarea/_domain.py index 51fb5506479..e83dc2da30a 100644 --- a/plotly/graph_objs/funnelarea/_domain.py +++ b/plotly/graph_objs/funnelarea/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Domain`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_hoverlabel.py b/plotly/graph_objs/funnelarea/_hoverlabel.py index 22c916d70d6..0285bce7b2e 100644 --- a/plotly/graph_objs/funnelarea/_hoverlabel.py +++ b/plotly/graph_objs/funnelarea/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_insidetextfont.py b/plotly/graph_objs/funnelarea/_insidetextfont.py index 82c97ea0a89..0aa7f8f687e 100644 --- a/plotly/graph_objs/funnelarea/_insidetextfont.py +++ b/plotly/graph_objs/funnelarea/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_legendgrouptitle.py b/plotly/graph_objs/funnelarea/_legendgrouptitle.py index 7e3a106eac6..3efd6da93e1 100644 --- a/plotly/graph_objs/funnelarea/_legendgrouptitle.py +++ b/plotly/graph_objs/funnelarea/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_marker.py b/plotly/graph_objs/funnelarea/_marker.py index 2ed4e1afc36..ca38cf77518 100644 --- a/plotly/graph_objs/funnelarea/_marker.py +++ b/plotly/graph_objs/funnelarea/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.marker" _valid_props = {"colors", "colorssrc", "line", "pattern"} @@ -146,12 +145,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Marker`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_stream.py b/plotly/graph_objs/funnelarea/_stream.py index ac97c47b4f5..c271022efe4 100644 --- a/plotly/graph_objs/funnelarea/_stream.py +++ b/plotly/graph_objs/funnelarea/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Stream`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_textfont.py b/plotly/graph_objs/funnelarea/_textfont.py index f3685214385..7b61d3398eb 100644 --- a/plotly/graph_objs/funnelarea/_textfont.py +++ b/plotly/graph_objs/funnelarea/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/_title.py b/plotly/graph_objs/funnelarea/_title.py index e6f0a52aaab..5c2d0422ca2 100644 --- a/plotly/graph_objs/funnelarea/_title.py +++ b/plotly/graph_objs/funnelarea/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea" _path_str = "funnelarea.title" _valid_props = {"font", "position", "text"} @@ -117,12 +116,10 @@ def __init__(self, arg=None, font=None, position=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.Title`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/hoverlabel/_font.py b/plotly/graph_objs/funnelarea/hoverlabel/_font.py index 6356b0c7452..63dcb4f8493 100644 --- a/plotly/graph_objs/funnelarea/hoverlabel/_font.py +++ b/plotly/graph_objs/funnelarea/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea.hoverlabel" _path_str = "funnelarea.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py b/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py index 6d58400bcf5..5b01415fc80 100644 --- a/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py +++ b/plotly/graph_objs/funnelarea/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea.legendgrouptitle" _path_str = "funnelarea.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/marker/_line.py b/plotly/graph_objs/funnelarea/marker/_line.py index 392396b6fa0..a8d25f05151 100644 --- a/plotly/graph_objs/funnelarea/marker/_line.py +++ b/plotly/graph_objs/funnelarea/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea.marker" _path_str = "funnelarea.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -148,12 +147,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/marker/_pattern.py b/plotly/graph_objs/funnelarea/marker/_pattern.py index 56d68a6f172..99e8420f9e1 100644 --- a/plotly/graph_objs/funnelarea/marker/_pattern.py +++ b/plotly/graph_objs/funnelarea/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea.marker" _path_str = "funnelarea.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/funnelarea/title/_font.py b/plotly/graph_objs/funnelarea/title/_font.py index d163adc8c79..0b90b88965d 100644 --- a/plotly/graph_objs/funnelarea/title/_font.py +++ b/plotly/graph_objs/funnelarea/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "funnelarea.title" _path_str = "funnelarea.title.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.funnelarea.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.funnelarea.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.funnelarea.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/_colorbar.py b/plotly/graph_objs/heatmap/_colorbar.py index 6da027a31cf..c75db3860f4 100644 --- a/plotly/graph_objs/heatmap/_colorbar.py +++ b/plotly/graph_objs/heatmap/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "heatmap" _path_str = "heatmap.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/_hoverlabel.py b/plotly/graph_objs/heatmap/_hoverlabel.py index bb6a313a673..03a7a2e71e8 100644 --- a/plotly/graph_objs/heatmap/_hoverlabel.py +++ b/plotly/graph_objs/heatmap/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "heatmap" _path_str = "heatmap.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/_legendgrouptitle.py b/plotly/graph_objs/heatmap/_legendgrouptitle.py index 44174c63c8b..b3f935a6b8b 100644 --- a/plotly/graph_objs/heatmap/_legendgrouptitle.py +++ b/plotly/graph_objs/heatmap/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "heatmap" _path_str = "heatmap.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/_stream.py b/plotly/graph_objs/heatmap/_stream.py index ee5711fce70..776d1b30d6e 100644 --- a/plotly/graph_objs/heatmap/_stream.py +++ b/plotly/graph_objs/heatmap/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "heatmap" _path_str = "heatmap.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.Stream`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/_textfont.py b/plotly/graph_objs/heatmap/_textfont.py index dba110bd365..b09281c0993 100644 --- a/plotly/graph_objs/heatmap/_textfont.py +++ b/plotly/graph_objs/heatmap/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "heatmap" _path_str = "heatmap.textfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/colorbar/_tickfont.py b/plotly/graph_objs/heatmap/colorbar/_tickfont.py index d70f013582f..807c1e205a0 100644 --- a/plotly/graph_objs/heatmap/colorbar/_tickfont.py +++ b/plotly/graph_objs/heatmap/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "heatmap.colorbar" _path_str = "heatmap.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py b/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py index c411a9d4823..3055e0725a0 100644 --- a/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/heatmap/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "heatmap.colorbar" _path_str = "heatmap.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/colorbar/_title.py b/plotly/graph_objs/heatmap/colorbar/_title.py index da046604ef2..f36276776da 100644 --- a/plotly/graph_objs/heatmap/colorbar/_title.py +++ b/plotly/graph_objs/heatmap/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "heatmap.colorbar" _path_str = "heatmap.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/colorbar/title/_font.py b/plotly/graph_objs/heatmap/colorbar/title/_font.py index 1f32cffddf2..cd5653f77c6 100644 --- a/plotly/graph_objs/heatmap/colorbar/title/_font.py +++ b/plotly/graph_objs/heatmap/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "heatmap.colorbar.title" _path_str = "heatmap.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/hoverlabel/_font.py b/plotly/graph_objs/heatmap/hoverlabel/_font.py index a3ea942b57f..7885449e206 100644 --- a/plotly/graph_objs/heatmap/hoverlabel/_font.py +++ b/plotly/graph_objs/heatmap/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "heatmap.hoverlabel" _path_str = "heatmap.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/heatmap/legendgrouptitle/_font.py b/plotly/graph_objs/heatmap/legendgrouptitle/_font.py index 81d2d30e9ad..681209c2299 100644 --- a/plotly/graph_objs/heatmap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/heatmap/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "heatmap.legendgrouptitle" _path_str = "heatmap.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.heatmap.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.heatmap.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.heatmap.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_cumulative.py b/plotly/graph_objs/histogram/_cumulative.py index 62fc155f824..07994807317 100644 --- a/plotly/graph_objs/histogram/_cumulative.py +++ b/plotly/graph_objs/histogram/_cumulative.py @@ -6,7 +6,6 @@ class Cumulative(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.cumulative" _valid_props = {"currentbin", "direction", "enabled"} @@ -159,12 +158,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Cumulative constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Cumulative`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Cumulative`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_error_x.py b/plotly/graph_objs/histogram/_error_x.py index b5638247883..0f51b632c33 100644 --- a/plotly/graph_objs/histogram/_error_x.py +++ b/plotly/graph_objs/histogram/_error_x.py @@ -6,7 +6,6 @@ class ErrorX(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.error_x" _valid_props = { @@ -477,12 +476,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.ErrorX constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.ErrorX`""" - ) +an instance of :class:`plotly.graph_objs.histogram.ErrorX`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_error_y.py b/plotly/graph_objs/histogram/_error_y.py index 0e7f61938a4..9c33cf16967 100644 --- a/plotly/graph_objs/histogram/_error_y.py +++ b/plotly/graph_objs/histogram/_error_y.py @@ -6,7 +6,6 @@ class ErrorY(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.error_y" _valid_props = { @@ -455,12 +454,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.ErrorY constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.ErrorY`""" - ) +an instance of :class:`plotly.graph_objs.histogram.ErrorY`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_hoverlabel.py b/plotly/graph_objs/histogram/_hoverlabel.py index bb3d1ff9408..f9761b99458 100644 --- a/plotly/graph_objs/histogram/_hoverlabel.py +++ b/plotly/graph_objs/histogram/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_insidetextfont.py b/plotly/graph_objs/histogram/_insidetextfont.py index 280ad6e9ce3..f7d9c8374ac 100644 --- a/plotly/graph_objs/histogram/_insidetextfont.py +++ b/plotly/graph_objs/histogram/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.insidetextfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_legendgrouptitle.py b/plotly/graph_objs/histogram/_legendgrouptitle.py index c2a443eb7b5..aea72de559a 100644 --- a/plotly/graph_objs/histogram/_legendgrouptitle.py +++ b/plotly/graph_objs/histogram/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_marker.py b/plotly/graph_objs/histogram/_marker.py index 7b5a9257957..4606fa66020 100644 --- a/plotly/graph_objs/histogram/_marker.py +++ b/plotly/graph_objs/histogram/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.marker" _valid_props = { @@ -658,12 +657,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Marker`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_outsidetextfont.py b/plotly/graph_objs/histogram/_outsidetextfont.py index 0b6d47f90d4..ae088ec2dbe 100644 --- a/plotly/graph_objs/histogram/_outsidetextfont.py +++ b/plotly/graph_objs/histogram/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.outsidetextfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_selected.py b/plotly/graph_objs/histogram/_selected.py index 6bbd91bb3de..b99df320d2d 100644 --- a/plotly/graph_objs/histogram/_selected.py +++ b/plotly/graph_objs/histogram/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Selected`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_stream.py b/plotly/graph_objs/histogram/_stream.py index 3231b450bc9..1249bc9317d 100644 --- a/plotly/graph_objs/histogram/_stream.py +++ b/plotly/graph_objs/histogram/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Stream`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_textfont.py b/plotly/graph_objs/histogram/_textfont.py index 36ff9588cd3..dcacc29c1b8 100644 --- a/plotly/graph_objs/histogram/_textfont.py +++ b/plotly/graph_objs/histogram/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.textfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_unselected.py b/plotly/graph_objs/histogram/_unselected.py index 928c14e1d36..a9e93418ce0 100644 --- a/plotly/graph_objs/histogram/_unselected.py +++ b/plotly/graph_objs/histogram/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.histogram.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_xbins.py b/plotly/graph_objs/histogram/_xbins.py index 387a8d14200..a0dd1a5ae8b 100644 --- a/plotly/graph_objs/histogram/_xbins.py +++ b/plotly/graph_objs/histogram/_xbins.py @@ -6,7 +6,6 @@ class XBins(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.xbins" _valid_props = {"end", "size", "start"} @@ -196,12 +195,10 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.XBins constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.XBins`""" - ) +an instance of :class:`plotly.graph_objs.histogram.XBins`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/_ybins.py b/plotly/graph_objs/histogram/_ybins.py index dd9a06af3e7..1c0975de182 100644 --- a/plotly/graph_objs/histogram/_ybins.py +++ b/plotly/graph_objs/histogram/_ybins.py @@ -6,7 +6,6 @@ class YBins(_BaseTraceHierarchyType): - _parent_path_str = "histogram" _path_str = "histogram.ybins" _valid_props = {"end", "size", "start"} @@ -196,12 +195,10 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.YBins constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.YBins`""" - ) +an instance of :class:`plotly.graph_objs.histogram.YBins`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/hoverlabel/_font.py b/plotly/graph_objs/histogram/hoverlabel/_font.py index f30201e2319..0e6c08b423c 100644 --- a/plotly/graph_objs/histogram/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram.hoverlabel" _path_str = "histogram.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/legendgrouptitle/_font.py b/plotly/graph_objs/histogram/legendgrouptitle/_font.py index 214354be87b..20e04524300 100644 --- a/plotly/graph_objs/histogram/legendgrouptitle/_font.py +++ b/plotly/graph_objs/histogram/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram.legendgrouptitle" _path_str = "histogram.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/_colorbar.py b/plotly/graph_objs/histogram/marker/_colorbar.py index 5cd038ca85e..80eba66ad48 100644 --- a/plotly/graph_objs/histogram/marker/_colorbar.py +++ b/plotly/graph_objs/histogram/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker" _path_str = "histogram.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/_line.py b/plotly/graph_objs/histogram/marker/_line.py index 3d4cbedb042..d236c0e228a 100644 --- a/plotly/graph_objs/histogram/marker/_line.py +++ b/plotly/graph_objs/histogram/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker" _path_str = "histogram.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/_pattern.py b/plotly/graph_objs/histogram/marker/_pattern.py index 7682690dc3d..1b3673a7086 100644 --- a/plotly/graph_objs/histogram/marker/_pattern.py +++ b/plotly/graph_objs/histogram/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker" _path_str = "histogram.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py b/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py index 2eacb07f78c..8d282ee38b9 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker.colorbar" _path_str = "histogram.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py index 9960c2a6a35..b3fda127621 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker.colorbar" _path_str = "histogram.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/colorbar/_title.py b/plotly/graph_objs/histogram/marker/colorbar/_title.py index 4cc0782ca40..f7b5a88ca12 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/_title.py +++ b/plotly/graph_objs/histogram/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker.colorbar" _path_str = "histogram.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/marker/colorbar/title/_font.py b/plotly/graph_objs/histogram/marker/colorbar/title/_font.py index 28b036ea3cf..aaa57f41679 100644 --- a/plotly/graph_objs/histogram/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/histogram/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram.marker.colorbar.title" _path_str = "histogram.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/selected/_marker.py b/plotly/graph_objs/histogram/selected/_marker.py index 3a358102475..7858b6f94d5 100644 --- a/plotly/graph_objs/histogram/selected/_marker.py +++ b/plotly/graph_objs/histogram/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "histogram.selected" _path_str = "histogram.selected.marker" _valid_props = {"color", "opacity"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.histogram.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/selected/_textfont.py b/plotly/graph_objs/histogram/selected/_textfont.py index 894084ded3e..dc0739a01bd 100644 --- a/plotly/graph_objs/histogram/selected/_textfont.py +++ b/plotly/graph_objs/histogram/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram.selected" _path_str = "histogram.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/unselected/_marker.py b/plotly/graph_objs/histogram/unselected/_marker.py index eba6958cfc9..1912438b08c 100644 --- a/plotly/graph_objs/histogram/unselected/_marker.py +++ b/plotly/graph_objs/histogram/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "histogram.unselected" _path_str = "histogram.unselected.marker" _valid_props = {"color", "opacity"} @@ -97,12 +96,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.histogram.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram/unselected/_textfont.py b/plotly/graph_objs/histogram/unselected/_textfont.py index 2c84d5c53c7..423fc3d09a8 100644 --- a/plotly/graph_objs/histogram/unselected/_textfont.py +++ b/plotly/graph_objs/histogram/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram.unselected" _path_str = "histogram.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_colorbar.py b/plotly/graph_objs/histogram2d/_colorbar.py index ca25240d6ec..f8b92981b76 100644 --- a/plotly/graph_objs/histogram2d/_colorbar.py +++ b/plotly/graph_objs/histogram2d/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_hoverlabel.py b/plotly/graph_objs/histogram2d/_hoverlabel.py index 6412f1dafba..6c4513c2abf 100644 --- a/plotly/graph_objs/histogram2d/_hoverlabel.py +++ b/plotly/graph_objs/histogram2d/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_legendgrouptitle.py b/plotly/graph_objs/histogram2d/_legendgrouptitle.py index 8d54b8dcc7f..8e993cd569e 100644 --- a/plotly/graph_objs/histogram2d/_legendgrouptitle.py +++ b/plotly/graph_objs/histogram2d/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_marker.py b/plotly/graph_objs/histogram2d/_marker.py index a6d0c401a06..c433bacac9b 100644 --- a/plotly/graph_objs/histogram2d/_marker.py +++ b/plotly/graph_objs/histogram2d/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.marker" _valid_props = {"color", "colorsrc"} @@ -89,12 +88,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.Marker`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_stream.py b/plotly/graph_objs/histogram2d/_stream.py index 970b8c238ff..7d45c686739 100644 --- a/plotly/graph_objs/histogram2d/_stream.py +++ b/plotly/graph_objs/histogram2d/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.Stream`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_textfont.py b/plotly/graph_objs/histogram2d/_textfont.py index 61a55ea0a57..047d5b0f1fe 100644 --- a/plotly/graph_objs/histogram2d/_textfont.py +++ b/plotly/graph_objs/histogram2d/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.textfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_xbins.py b/plotly/graph_objs/histogram2d/_xbins.py index 8022c4dfd8b..076c78dc8a5 100644 --- a/plotly/graph_objs/histogram2d/_xbins.py +++ b/plotly/graph_objs/histogram2d/_xbins.py @@ -6,7 +6,6 @@ class XBins(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.xbins" _valid_props = {"end", "size", "start"} @@ -173,12 +172,10 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.XBins constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.XBins`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.XBins`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/_ybins.py b/plotly/graph_objs/histogram2d/_ybins.py index a6f02dca885..c24581dc6c5 100644 --- a/plotly/graph_objs/histogram2d/_ybins.py +++ b/plotly/graph_objs/histogram2d/_ybins.py @@ -6,7 +6,6 @@ class YBins(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d" _path_str = "histogram2d.ybins" _valid_props = {"end", "size", "start"} @@ -173,12 +172,10 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.YBins constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.YBins`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.YBins`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/colorbar/_tickfont.py b/plotly/graph_objs/histogram2d/colorbar/_tickfont.py index 01cca1e48c8..5e74d76bcae 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram2d/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d.colorbar" _path_str = "histogram2d.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py b/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py index 03591189530..b6cf996db07 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/histogram2d/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d.colorbar" _path_str = "histogram2d.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/colorbar/_title.py b/plotly/graph_objs/histogram2d/colorbar/_title.py index 1fe10f69070..a941eb63da3 100644 --- a/plotly/graph_objs/histogram2d/colorbar/_title.py +++ b/plotly/graph_objs/histogram2d/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d.colorbar" _path_str = "histogram2d.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/colorbar/title/_font.py b/plotly/graph_objs/histogram2d/colorbar/title/_font.py index 7a58d7c078d..2e0dd20e832 100644 --- a/plotly/graph_objs/histogram2d/colorbar/title/_font.py +++ b/plotly/graph_objs/histogram2d/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d.colorbar.title" _path_str = "histogram2d.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/hoverlabel/_font.py b/plotly/graph_objs/histogram2d/hoverlabel/_font.py index 150eec33bb0..0aded409b07 100644 --- a/plotly/graph_objs/histogram2d/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram2d/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d.hoverlabel" _path_str = "histogram2d.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py b/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py index 8a6d9df215d..e1eda6945a6 100644 --- a/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py +++ b/plotly/graph_objs/histogram2d/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram2d.legendgrouptitle" _path_str = "histogram2d.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2d.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2d.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram2d.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_colorbar.py b/plotly/graph_objs/histogram2dcontour/_colorbar.py index edea249057b..0fe4f0ed0e7 100644 --- a/plotly/graph_objs/histogram2dcontour/_colorbar.py +++ b/plotly/graph_objs/histogram2dcontour/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_contours.py b/plotly/graph_objs/histogram2dcontour/_contours.py index 6c7f0d94c2f..fd0c3745697 100644 --- a/plotly/graph_objs/histogram2dcontour/_contours.py +++ b/plotly/graph_objs/histogram2dcontour/_contours.py @@ -6,7 +6,6 @@ class Contours(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.contours" _valid_props = { @@ -414,12 +413,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Contours constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Contours`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Contours`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_hoverlabel.py b/plotly/graph_objs/histogram2dcontour/_hoverlabel.py index e9aeaeb3d9f..b1cb457693e 100644 --- a/plotly/graph_objs/histogram2dcontour/_hoverlabel.py +++ b/plotly/graph_objs/histogram2dcontour/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py b/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py index 1d4720bb64b..b3275609516 100644 --- a/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py +++ b/plotly/graph_objs/histogram2dcontour/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_line.py b/plotly/graph_objs/histogram2dcontour/_line.py index bda57c1e4d5..c57d618dd73 100644 --- a/plotly/graph_objs/histogram2dcontour/_line.py +++ b/plotly/graph_objs/histogram2dcontour/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.line" _valid_props = {"color", "dash", "smoothing", "width"} @@ -155,12 +154,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Line`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_marker.py b/plotly/graph_objs/histogram2dcontour/_marker.py index f3d11bcca62..146412afab9 100644 --- a/plotly/graph_objs/histogram2dcontour/_marker.py +++ b/plotly/graph_objs/histogram2dcontour/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.marker" _valid_props = {"color", "colorsrc"} @@ -89,12 +88,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Marker`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_stream.py b/plotly/graph_objs/histogram2dcontour/_stream.py index 31287da504f..59dbafd4991 100644 --- a/plotly/graph_objs/histogram2dcontour/_stream.py +++ b/plotly/graph_objs/histogram2dcontour/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Stream`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_textfont.py b/plotly/graph_objs/histogram2dcontour/_textfont.py index ea163a2df3e..36f7542b158 100644 --- a/plotly/graph_objs/histogram2dcontour/_textfont.py +++ b/plotly/graph_objs/histogram2dcontour/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.textfont" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_xbins.py b/plotly/graph_objs/histogram2dcontour/_xbins.py index 45a192f63cd..80a4aca6f84 100644 --- a/plotly/graph_objs/histogram2dcontour/_xbins.py +++ b/plotly/graph_objs/histogram2dcontour/_xbins.py @@ -6,7 +6,6 @@ class XBins(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.xbins" _valid_props = {"end", "size", "start"} @@ -173,12 +172,10 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.XBins constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.XBins`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.XBins`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/_ybins.py b/plotly/graph_objs/histogram2dcontour/_ybins.py index c8f003e1d82..f73dc70ab9a 100644 --- a/plotly/graph_objs/histogram2dcontour/_ybins.py +++ b/plotly/graph_objs/histogram2dcontour/_ybins.py @@ -6,7 +6,6 @@ class YBins(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour" _path_str = "histogram2dcontour.ybins" _valid_props = {"end", "size", "start"} @@ -173,12 +172,10 @@ def __init__(self, arg=None, end=None, size=None, start=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.YBins constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.YBins`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.YBins`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py b/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py index eb96a8103bc..164e6ba240d 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.colorbar" _path_str = "histogram2dcontour.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py b/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py index 8b49cb32a83..1dba319b5b0 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.colorbar" _path_str = "histogram2dcontour.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/_title.py b/plotly/graph_objs/histogram2dcontour/colorbar/_title.py index 6a6a2c9226a..52f41a1d264 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/_title.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.colorbar" _path_str = "histogram2dcontour.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py b/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py index c60f261f3e4..8c9e8185fd8 100644 --- a/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py +++ b/plotly/graph_objs/histogram2dcontour/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.colorbar.title" _path_str = "histogram2dcontour.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py b/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py index dd2620bea00..96bc43bd587 100644 --- a/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py +++ b/plotly/graph_objs/histogram2dcontour/contours/_labelfont.py @@ -6,7 +6,6 @@ class Labelfont(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.contours" _path_str = "histogram2dcontour.contours.labelfont" _valid_props = { @@ -316,12 +315,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.contours.Labelfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.contours.Labelfont`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.contours.Labelfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py b/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py index c2b7fc96190..3697c6bb9eb 100644 --- a/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py +++ b/plotly/graph_objs/histogram2dcontour/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.hoverlabel" _path_str = "histogram2dcontour.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py b/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py index b0c9d71e644..79fa0f4ed1c 100644 --- a/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py +++ b/plotly/graph_objs/histogram2dcontour/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "histogram2dcontour.legendgrouptitle" _path_str = "histogram2dcontour.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.histogram2dcontour.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.histogram2dcontour.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.histogram2dcontour.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_domain.py b/plotly/graph_objs/icicle/_domain.py index fa2758792ed..82640ceeb87 100644 --- a/plotly/graph_objs/icicle/_domain.py +++ b/plotly/graph_objs/icicle/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.domain" _valid_props = {"column", "row", "x", "y"} @@ -154,12 +153,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Domain`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_hoverlabel.py b/plotly/graph_objs/icicle/_hoverlabel.py index fdc9e22c327..1cf2d8e9193 100644 --- a/plotly/graph_objs/icicle/_hoverlabel.py +++ b/plotly/graph_objs/icicle/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_insidetextfont.py b/plotly/graph_objs/icicle/_insidetextfont.py index 38ee58c10ce..6be98515d4c 100644 --- a/plotly/graph_objs/icicle/_insidetextfont.py +++ b/plotly/graph_objs/icicle/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_leaf.py b/plotly/graph_objs/icicle/_leaf.py index 39596517195..467527dc971 100644 --- a/plotly/graph_objs/icicle/_leaf.py +++ b/plotly/graph_objs/icicle/_leaf.py @@ -6,7 +6,6 @@ class Leaf(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.leaf" _valid_props = {"opacity"} @@ -67,12 +66,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Leaf constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Leaf`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Leaf`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_legendgrouptitle.py b/plotly/graph_objs/icicle/_legendgrouptitle.py index b464eddefe6..11ed7f9531f 100644 --- a/plotly/graph_objs/icicle/_legendgrouptitle.py +++ b/plotly/graph_objs/icicle/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_marker.py b/plotly/graph_objs/icicle/_marker.py index fc6970d4c11..15330a6202e 100644 --- a/plotly/graph_objs/icicle/_marker.py +++ b/plotly/graph_objs/icicle/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.marker" _valid_props = { @@ -553,12 +552,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Marker`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_outsidetextfont.py b/plotly/graph_objs/icicle/_outsidetextfont.py index 67d66bcd681..2e226d09aa4 100644 --- a/plotly/graph_objs/icicle/_outsidetextfont.py +++ b/plotly/graph_objs/icicle/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.outsidetextfont" _valid_props = { @@ -562,12 +561,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_pathbar.py b/plotly/graph_objs/icicle/_pathbar.py index 2e875aad608..828c24f9094 100644 --- a/plotly/graph_objs/icicle/_pathbar.py +++ b/plotly/graph_objs/icicle/_pathbar.py @@ -6,7 +6,6 @@ class Pathbar(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.pathbar" _valid_props = {"edgeshape", "side", "textfont", "thickness", "visible"} @@ -182,12 +181,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Pathbar constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Pathbar`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Pathbar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_root.py b/plotly/graph_objs/icicle/_root.py index e461b4da4ca..563937c46cb 100644 --- a/plotly/graph_objs/icicle/_root.py +++ b/plotly/graph_objs/icicle/_root.py @@ -6,7 +6,6 @@ class Root(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.root" _valid_props = {"color"} @@ -74,12 +73,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Root constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Root`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Root`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_stream.py b/plotly/graph_objs/icicle/_stream.py index 1009e6061ae..10fa9d921a6 100644 --- a/plotly/graph_objs/icicle/_stream.py +++ b/plotly/graph_objs/icicle/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Stream`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_textfont.py b/plotly/graph_objs/icicle/_textfont.py index ffbf8fd2d57..5818410ead8 100644 --- a/plotly/graph_objs/icicle/_textfont.py +++ b/plotly/graph_objs/icicle/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/_tiling.py b/plotly/graph_objs/icicle/_tiling.py index 3f13b30c136..9c382f10057 100644 --- a/plotly/graph_objs/icicle/_tiling.py +++ b/plotly/graph_objs/icicle/_tiling.py @@ -6,7 +6,6 @@ class Tiling(_BaseTraceHierarchyType): - _parent_path_str = "icicle" _path_str = "icicle.tiling" _valid_props = {"flip", "orientation", "pad"} @@ -139,12 +138,10 @@ def __init__(self, arg=None, flip=None, orientation=None, pad=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.Tiling constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.Tiling`""" - ) +an instance of :class:`plotly.graph_objs.icicle.Tiling`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/hoverlabel/_font.py b/plotly/graph_objs/icicle/hoverlabel/_font.py index 2eace8e0026..c4253a2bfdb 100644 --- a/plotly/graph_objs/icicle/hoverlabel/_font.py +++ b/plotly/graph_objs/icicle/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "icicle.hoverlabel" _path_str = "icicle.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.icicle.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/legendgrouptitle/_font.py b/plotly/graph_objs/icicle/legendgrouptitle/_font.py index 32184b5040e..cbeb577b506 100644 --- a/plotly/graph_objs/icicle/legendgrouptitle/_font.py +++ b/plotly/graph_objs/icicle/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "icicle.legendgrouptitle" _path_str = "icicle.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.icicle.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/_colorbar.py b/plotly/graph_objs/icicle/marker/_colorbar.py index a6819f8881e..848f59a2128 100644 --- a/plotly/graph_objs/icicle/marker/_colorbar.py +++ b/plotly/graph_objs/icicle/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker" _path_str = "icicle.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/_line.py b/plotly/graph_objs/icicle/marker/_line.py index 347ff795c34..ea00cd59025 100644 --- a/plotly/graph_objs/icicle/marker/_line.py +++ b/plotly/graph_objs/icicle/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker" _path_str = "icicle.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -148,12 +147,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/_pattern.py b/plotly/graph_objs/icicle/marker/_pattern.py index 8c3983e6a8c..1e58174135d 100644 --- a/plotly/graph_objs/icicle/marker/_pattern.py +++ b/plotly/graph_objs/icicle/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker" _path_str = "icicle.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py b/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py index 538a8fcb8fd..03caedc631d 100644 --- a/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/icicle/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker.colorbar" _path_str = "icicle.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py index efd61597ed7..1cdf63f4e4c 100644 --- a/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/icicle/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker.colorbar" _path_str = "icicle.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/colorbar/_title.py b/plotly/graph_objs/icicle/marker/colorbar/_title.py index 669070410b3..0e4f9ec7320 100644 --- a/plotly/graph_objs/icicle/marker/colorbar/_title.py +++ b/plotly/graph_objs/icicle/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker.colorbar" _path_str = "icicle.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/marker/colorbar/title/_font.py b/plotly/graph_objs/icicle/marker/colorbar/title/_font.py index 05cd7ced877..8d4fec62b14 100644 --- a/plotly/graph_objs/icicle/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/icicle/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "icicle.marker.colorbar.title" _path_str = "icicle.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.icicle.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/icicle/pathbar/_textfont.py b/plotly/graph_objs/icicle/pathbar/_textfont.py index 1b844f161df..8df72ddfbce 100644 --- a/plotly/graph_objs/icicle/pathbar/_textfont.py +++ b/plotly/graph_objs/icicle/pathbar/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "icicle.pathbar" _path_str = "icicle.pathbar.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.icicle.pathbar.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.icicle.pathbar.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.icicle.pathbar.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/image/_hoverlabel.py b/plotly/graph_objs/image/_hoverlabel.py index ff47c62ab6c..69435bd8203 100644 --- a/plotly/graph_objs/image/_hoverlabel.py +++ b/plotly/graph_objs/image/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "image" _path_str = "image.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.image.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.image.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.image.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/image/_legendgrouptitle.py b/plotly/graph_objs/image/_legendgrouptitle.py index a2d8c7ebbc5..7b24846aa61 100644 --- a/plotly/graph_objs/image/_legendgrouptitle.py +++ b/plotly/graph_objs/image/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "image" _path_str = "image.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.image.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.image.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.image.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/image/_stream.py b/plotly/graph_objs/image/_stream.py index 30f4b3c4538..7c0a3d32d4e 100644 --- a/plotly/graph_objs/image/_stream.py +++ b/plotly/graph_objs/image/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "image" _path_str = "image.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.image.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.image.Stream`""" - ) +an instance of :class:`plotly.graph_objs.image.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/image/hoverlabel/_font.py b/plotly/graph_objs/image/hoverlabel/_font.py index 0583d1dba10..1eb363feb63 100644 --- a/plotly/graph_objs/image/hoverlabel/_font.py +++ b/plotly/graph_objs/image/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "image.hoverlabel" _path_str = "image.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.image.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.image.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.image.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/image/legendgrouptitle/_font.py b/plotly/graph_objs/image/legendgrouptitle/_font.py index 5a5a1b7352a..c3a46b36fd4 100644 --- a/plotly/graph_objs/image/legendgrouptitle/_font.py +++ b/plotly/graph_objs/image/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "image.legendgrouptitle" _path_str = "image.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.image.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.image.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.image.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_delta.py b/plotly/graph_objs/indicator/_delta.py index 6ee30309bf0..97ff3e1071a 100644 --- a/plotly/graph_objs/indicator/_delta.py +++ b/plotly/graph_objs/indicator/_delta.py @@ -6,7 +6,6 @@ class Delta(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.delta" _valid_props = { @@ -289,12 +288,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Delta constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Delta`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Delta`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_domain.py b/plotly/graph_objs/indicator/_domain.py index d67fef998c4..1aaf4e66a6f 100644 --- a/plotly/graph_objs/indicator/_domain.py +++ b/plotly/graph_objs/indicator/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Domain`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_gauge.py b/plotly/graph_objs/indicator/_gauge.py index 8d770b7a4aa..1fde32d64cf 100644 --- a/plotly/graph_objs/indicator/_gauge.py +++ b/plotly/graph_objs/indicator/_gauge.py @@ -6,7 +6,6 @@ class Gauge(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.gauge" _valid_props = { @@ -303,12 +302,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Gauge constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Gauge`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Gauge`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_legendgrouptitle.py b/plotly/graph_objs/indicator/_legendgrouptitle.py index a6462f57867..d4767c7ed41 100644 --- a/plotly/graph_objs/indicator/_legendgrouptitle.py +++ b/plotly/graph_objs/indicator/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_number.py b/plotly/graph_objs/indicator/_number.py index 74bc79d5bf4..487d4fdc788 100644 --- a/plotly/graph_objs/indicator/_number.py +++ b/plotly/graph_objs/indicator/_number.py @@ -6,7 +6,6 @@ class Number(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.number" _valid_props = {"font", "prefix", "suffix", "valueformat"} @@ -148,12 +147,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Number constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Number`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Number`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_stream.py b/plotly/graph_objs/indicator/_stream.py index 2d909c626fc..0b793d04650 100644 --- a/plotly/graph_objs/indicator/_stream.py +++ b/plotly/graph_objs/indicator/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Stream`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/_title.py b/plotly/graph_objs/indicator/_title.py index 2f37f2fb93b..68f71ab024d 100644 --- a/plotly/graph_objs/indicator/_title.py +++ b/plotly/graph_objs/indicator/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "indicator" _path_str = "indicator.title" _valid_props = {"align", "font", "text"} @@ -120,12 +119,10 @@ def __init__(self, arg=None, align=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.Title`""" - ) +an instance of :class:`plotly.graph_objs.indicator.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/delta/_decreasing.py b/plotly/graph_objs/indicator/delta/_decreasing.py index 3bc604b849f..43644270c5a 100644 --- a/plotly/graph_objs/indicator/delta/_decreasing.py +++ b/plotly/graph_objs/indicator/delta/_decreasing.py @@ -6,7 +6,6 @@ class Decreasing(_BaseTraceHierarchyType): - _parent_path_str = "indicator.delta" _path_str = "indicator.delta.decreasing" _valid_props = {"color", "symbol"} @@ -92,12 +91,10 @@ def __init__(self, arg=None, color=None, symbol=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.delta.Decreasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.delta.Decreasing`""" - ) +an instance of :class:`plotly.graph_objs.indicator.delta.Decreasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/delta/_font.py b/plotly/graph_objs/indicator/delta/_font.py index 325d61e25a7..a30bb94a028 100644 --- a/plotly/graph_objs/indicator/delta/_font.py +++ b/plotly/graph_objs/indicator/delta/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "indicator.delta" _path_str = "indicator.delta.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.delta.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.delta.Font`""" - ) +an instance of :class:`plotly.graph_objs.indicator.delta.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/delta/_increasing.py b/plotly/graph_objs/indicator/delta/_increasing.py index c22854c92a9..91ee3b25ce0 100644 --- a/plotly/graph_objs/indicator/delta/_increasing.py +++ b/plotly/graph_objs/indicator/delta/_increasing.py @@ -6,7 +6,6 @@ class Increasing(_BaseTraceHierarchyType): - _parent_path_str = "indicator.delta" _path_str = "indicator.delta.increasing" _valid_props = {"color", "symbol"} @@ -92,12 +91,10 @@ def __init__(self, arg=None, color=None, symbol=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.delta.Increasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.delta.Increasing`""" - ) +an instance of :class:`plotly.graph_objs.indicator.delta.Increasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/_axis.py b/plotly/graph_objs/indicator/gauge/_axis.py index bede5387041..83ba584c602 100644 --- a/plotly/graph_objs/indicator/gauge/_axis.py +++ b/plotly/graph_objs/indicator/gauge/_axis.py @@ -6,7 +6,6 @@ class Axis(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge" _path_str = "indicator.gauge.axis" _valid_props = { @@ -1067,12 +1066,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.Axis constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.Axis`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.Axis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/_bar.py b/plotly/graph_objs/indicator/gauge/_bar.py index 547745c3339..622dc9eae0d 100644 --- a/plotly/graph_objs/indicator/gauge/_bar.py +++ b/plotly/graph_objs/indicator/gauge/_bar.py @@ -6,7 +6,6 @@ class Bar(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge" _path_str = "indicator.gauge.bar" _valid_props = {"color", "line", "thickness"} @@ -121,12 +120,10 @@ def __init__(self, arg=None, color=None, line=None, thickness=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.Bar constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.Bar`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.Bar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/_step.py b/plotly/graph_objs/indicator/gauge/_step.py index 66d0ba1e600..c683b9beeb4 100644 --- a/plotly/graph_objs/indicator/gauge/_step.py +++ b/plotly/graph_objs/indicator/gauge/_step.py @@ -6,7 +6,6 @@ class Step(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge" _path_str = "indicator.gauge.step" _valid_props = {"color", "line", "name", "range", "templateitemname", "thickness"} @@ -245,12 +244,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.Step constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.Step`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.Step`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/_threshold.py b/plotly/graph_objs/indicator/gauge/_threshold.py index 2cdfb844b0a..acee11427e3 100644 --- a/plotly/graph_objs/indicator/gauge/_threshold.py +++ b/plotly/graph_objs/indicator/gauge/_threshold.py @@ -6,7 +6,6 @@ class Threshold(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge" _path_str = "indicator.gauge.threshold" _valid_props = {"line", "thickness", "value"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, line=None, thickness=None, value=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.Threshold constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.Threshold`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.Threshold`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/axis/_tickfont.py b/plotly/graph_objs/indicator/gauge/axis/_tickfont.py index bad45804eaf..22ed5464c84 100644 --- a/plotly/graph_objs/indicator/gauge/axis/_tickfont.py +++ b/plotly/graph_objs/indicator/gauge/axis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge.axis" _path_str = "indicator.gauge.axis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.axis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py b/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py index bc63df86ff7..d9f8c191d05 100644 --- a/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py +++ b/plotly/graph_objs/indicator/gauge/axis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge.axis" _path_str = "indicator.gauge.axis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.axis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.axis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/bar/_line.py b/plotly/graph_objs/indicator/gauge/bar/_line.py index 05f5be4aab2..4b6a8424d78 100644 --- a/plotly/graph_objs/indicator/gauge/bar/_line.py +++ b/plotly/graph_objs/indicator/gauge/bar/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge.bar" _path_str = "indicator.gauge.bar.line" _valid_props = {"color", "width"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.bar.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.bar.Line`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.bar.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/step/_line.py b/plotly/graph_objs/indicator/gauge/step/_line.py index 484fdafc144..66e52fe23af 100644 --- a/plotly/graph_objs/indicator/gauge/step/_line.py +++ b/plotly/graph_objs/indicator/gauge/step/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge.step" _path_str = "indicator.gauge.step.line" _valid_props = {"color", "width"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.step.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.step.Line`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.step.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/gauge/threshold/_line.py b/plotly/graph_objs/indicator/gauge/threshold/_line.py index 24a4dc43a8f..39cc1745a97 100644 --- a/plotly/graph_objs/indicator/gauge/threshold/_line.py +++ b/plotly/graph_objs/indicator/gauge/threshold/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "indicator.gauge.threshold" _path_str = "indicator.gauge.threshold.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.gauge.threshold.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.gauge.threshold.Line`""" - ) +an instance of :class:`plotly.graph_objs.indicator.gauge.threshold.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/legendgrouptitle/_font.py b/plotly/graph_objs/indicator/legendgrouptitle/_font.py index 09d9b8629d1..6cd1574605b 100644 --- a/plotly/graph_objs/indicator/legendgrouptitle/_font.py +++ b/plotly/graph_objs/indicator/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "indicator.legendgrouptitle" _path_str = "indicator.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.indicator.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/number/_font.py b/plotly/graph_objs/indicator/number/_font.py index 9b32417c8ab..48dedbdd946 100644 --- a/plotly/graph_objs/indicator/number/_font.py +++ b/plotly/graph_objs/indicator/number/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "indicator.number" _path_str = "indicator.number.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.number.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.number.Font`""" - ) +an instance of :class:`plotly.graph_objs.indicator.number.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/indicator/title/_font.py b/plotly/graph_objs/indicator/title/_font.py index d1fea6e0c7a..4407ab238f3 100644 --- a/plotly/graph_objs/indicator/title/_font.py +++ b/plotly/graph_objs/indicator/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "indicator.title" _path_str = "indicator.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.indicator.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.indicator.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.indicator.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_caps.py b/plotly/graph_objs/isosurface/_caps.py index abb1a708bd2..e54a7e0979c 100644 --- a/plotly/graph_objs/isosurface/_caps.py +++ b/plotly/graph_objs/isosurface/_caps.py @@ -6,7 +6,6 @@ class Caps(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.caps" _valid_props = {"x", "y", "z"} @@ -118,12 +117,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Caps constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Caps`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Caps`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_colorbar.py b/plotly/graph_objs/isosurface/_colorbar.py index 1b3aee23958..fff5911126d 100644 --- a/plotly/graph_objs/isosurface/_colorbar.py +++ b/plotly/graph_objs/isosurface/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.colorbar" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_contour.py b/plotly/graph_objs/isosurface/_contour.py index bf48a825048..9032da23c40 100644 --- a/plotly/graph_objs/isosurface/_contour.py +++ b/plotly/graph_objs/isosurface/_contour.py @@ -6,7 +6,6 @@ class Contour(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.contour" _valid_props = {"color", "show", "width"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Contour constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Contour`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Contour`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_hoverlabel.py b/plotly/graph_objs/isosurface/_hoverlabel.py index 0f6e12235ea..51a6cca0519 100644 --- a/plotly/graph_objs/isosurface/_hoverlabel.py +++ b/plotly/graph_objs/isosurface/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_legendgrouptitle.py b/plotly/graph_objs/isosurface/_legendgrouptitle.py index 66eae59574f..bff642573dd 100644 --- a/plotly/graph_objs/isosurface/_legendgrouptitle.py +++ b/plotly/graph_objs/isosurface/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_lighting.py b/plotly/graph_objs/isosurface/_lighting.py index 1f4c6d03a09..e5b9e8f79cc 100644 --- a/plotly/graph_objs/isosurface/_lighting.py +++ b/plotly/graph_objs/isosurface/_lighting.py @@ -6,7 +6,6 @@ class Lighting(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.lighting" _valid_props = { @@ -242,12 +241,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Lighting constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Lighting`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Lighting`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_lightposition.py b/plotly/graph_objs/isosurface/_lightposition.py index fe2e6b446df..07e99a87f42 100644 --- a/plotly/graph_objs/isosurface/_lightposition.py +++ b/plotly/graph_objs/isosurface/_lightposition.py @@ -6,7 +6,6 @@ class Lightposition(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.lightposition" _valid_props = {"x", "y", "z"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Lightposition constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Lightposition`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Lightposition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_slices.py b/plotly/graph_objs/isosurface/_slices.py index 69aa92fa954..df6b4830696 100644 --- a/plotly/graph_objs/isosurface/_slices.py +++ b/plotly/graph_objs/isosurface/_slices.py @@ -6,7 +6,6 @@ class Slices(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.slices" _valid_props = {"x", "y", "z"} @@ -118,12 +117,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Slices constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Slices`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Slices`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_spaceframe.py b/plotly/graph_objs/isosurface/_spaceframe.py index 53493eca761..8aa7d75e991 100644 --- a/plotly/graph_objs/isosurface/_spaceframe.py +++ b/plotly/graph_objs/isosurface/_spaceframe.py @@ -6,7 +6,6 @@ class Spaceframe(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.spaceframe" _valid_props = {"fill", "show"} @@ -109,12 +108,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Spaceframe constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Spaceframe`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Spaceframe`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_stream.py b/plotly/graph_objs/isosurface/_stream.py index 2a3083f2477..ee2809fa7bc 100644 --- a/plotly/graph_objs/isosurface/_stream.py +++ b/plotly/graph_objs/isosurface/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Stream`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/_surface.py b/plotly/graph_objs/isosurface/_surface.py index d9bbdf184dd..605e7fd84b2 100644 --- a/plotly/graph_objs/isosurface/_surface.py +++ b/plotly/graph_objs/isosurface/_surface.py @@ -6,7 +6,6 @@ class Surface(_BaseTraceHierarchyType): - _parent_path_str = "isosurface" _path_str = "isosurface.surface" _valid_props = {"count", "fill", "pattern", "show"} @@ -178,12 +177,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.Surface constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.Surface`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.Surface`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/caps/_x.py b/plotly/graph_objs/isosurface/caps/_x.py index e48e5be9ee1..c93cb6de149 100644 --- a/plotly/graph_objs/isosurface/caps/_x.py +++ b/plotly/graph_objs/isosurface/caps/_x.py @@ -6,7 +6,6 @@ class X(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.caps" _path_str = "isosurface.caps.x" _valid_props = {"fill", "show"} @@ -109,12 +108,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.caps.X constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.caps.X`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.caps.X`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/caps/_y.py b/plotly/graph_objs/isosurface/caps/_y.py index d6283acedcd..fe3a13ea482 100644 --- a/plotly/graph_objs/isosurface/caps/_y.py +++ b/plotly/graph_objs/isosurface/caps/_y.py @@ -6,7 +6,6 @@ class Y(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.caps" _path_str = "isosurface.caps.y" _valid_props = {"fill", "show"} @@ -109,12 +108,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.caps.Y constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.caps.Y`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.caps.Y`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/caps/_z.py b/plotly/graph_objs/isosurface/caps/_z.py index d5facb0d246..b60831e0833 100644 --- a/plotly/graph_objs/isosurface/caps/_z.py +++ b/plotly/graph_objs/isosurface/caps/_z.py @@ -6,7 +6,6 @@ class Z(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.caps" _path_str = "isosurface.caps.z" _valid_props = {"fill", "show"} @@ -109,12 +108,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.caps.Z constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.caps.Z`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.caps.Z`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/colorbar/_tickfont.py b/plotly/graph_objs/isosurface/colorbar/_tickfont.py index ae008e2787f..16009fe9a69 100644 --- a/plotly/graph_objs/isosurface/colorbar/_tickfont.py +++ b/plotly/graph_objs/isosurface/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.colorbar" _path_str = "isosurface.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py b/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py index c4efd13f0c3..faa7b68c212 100644 --- a/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/isosurface/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.colorbar" _path_str = "isosurface.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/colorbar/_title.py b/plotly/graph_objs/isosurface/colorbar/_title.py index 31b63f73616..c19b2b5ecc5 100644 --- a/plotly/graph_objs/isosurface/colorbar/_title.py +++ b/plotly/graph_objs/isosurface/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.colorbar" _path_str = "isosurface.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/colorbar/title/_font.py b/plotly/graph_objs/isosurface/colorbar/title/_font.py index f261151e7ac..1ee65dfbabc 100644 --- a/plotly/graph_objs/isosurface/colorbar/title/_font.py +++ b/plotly/graph_objs/isosurface/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.colorbar.title" _path_str = "isosurface.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/hoverlabel/_font.py b/plotly/graph_objs/isosurface/hoverlabel/_font.py index af5f004a776..a5ca3526aa9 100644 --- a/plotly/graph_objs/isosurface/hoverlabel/_font.py +++ b/plotly/graph_objs/isosurface/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.hoverlabel" _path_str = "isosurface.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/legendgrouptitle/_font.py b/plotly/graph_objs/isosurface/legendgrouptitle/_font.py index bc1c63cf3c4..229756707b8 100644 --- a/plotly/graph_objs/isosurface/legendgrouptitle/_font.py +++ b/plotly/graph_objs/isosurface/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.legendgrouptitle" _path_str = "isosurface.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/slices/_x.py b/plotly/graph_objs/isosurface/slices/_x.py index 06ca724146b..a47a8f9f6b6 100644 --- a/plotly/graph_objs/isosurface/slices/_x.py +++ b/plotly/graph_objs/isosurface/slices/_x.py @@ -6,7 +6,6 @@ class X(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.slices" _path_str = "isosurface.slices.x" _valid_props = {"fill", "locations", "locationssrc", "show"} @@ -162,12 +161,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.slices.X constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.slices.X`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.slices.X`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/slices/_y.py b/plotly/graph_objs/isosurface/slices/_y.py index 25c9685d5fb..29e54ef2f63 100644 --- a/plotly/graph_objs/isosurface/slices/_y.py +++ b/plotly/graph_objs/isosurface/slices/_y.py @@ -6,7 +6,6 @@ class Y(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.slices" _path_str = "isosurface.slices.y" _valid_props = {"fill", "locations", "locationssrc", "show"} @@ -162,12 +161,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.slices.Y constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.slices.Y`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.slices.Y`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/isosurface/slices/_z.py b/plotly/graph_objs/isosurface/slices/_z.py index c364c19fe3a..2aa0012ac84 100644 --- a/plotly/graph_objs/isosurface/slices/_z.py +++ b/plotly/graph_objs/isosurface/slices/_z.py @@ -6,7 +6,6 @@ class Z(_BaseTraceHierarchyType): - _parent_path_str = "isosurface.slices" _path_str = "isosurface.slices.z" _valid_props = {"fill", "locations", "locationssrc", "show"} @@ -162,12 +161,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.isosurface.slices.Z constructor must be a dict or -an instance of :class:`plotly.graph_objs.isosurface.slices.Z`""" - ) +an instance of :class:`plotly.graph_objs.isosurface.slices.Z`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_activeselection.py b/plotly/graph_objs/layout/_activeselection.py index f6d81c281d7..df8947603fd 100644 --- a/plotly/graph_objs/layout/_activeselection.py +++ b/plotly/graph_objs/layout/_activeselection.py @@ -6,7 +6,6 @@ class Activeselection(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.activeselection" _valid_props = {"fillcolor", "opacity"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, fillcolor=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Activeselection constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Activeselection`""" - ) +an instance of :class:`plotly.graph_objs.layout.Activeselection`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_activeshape.py b/plotly/graph_objs/layout/_activeshape.py index a757083aa38..e350187dc67 100644 --- a/plotly/graph_objs/layout/_activeshape.py +++ b/plotly/graph_objs/layout/_activeshape.py @@ -6,7 +6,6 @@ class Activeshape(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.activeshape" _valid_props = {"fillcolor", "opacity"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, fillcolor=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Activeshape constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Activeshape`""" - ) +an instance of :class:`plotly.graph_objs.layout.Activeshape`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_annotation.py b/plotly/graph_objs/layout/_annotation.py index ce80742dc07..5be9964935c 100644 --- a/plotly/graph_objs/layout/_annotation.py +++ b/plotly/graph_objs/layout/_annotation.py @@ -6,7 +6,6 @@ class Annotation(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.annotation" _valid_props = { @@ -1660,12 +1659,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Annotation constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Annotation`""" - ) +an instance of :class:`plotly.graph_objs.layout.Annotation`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_coloraxis.py b/plotly/graph_objs/layout/_coloraxis.py index 443b9c92e93..4606c7add93 100644 --- a/plotly/graph_objs/layout/_coloraxis.py +++ b/plotly/graph_objs/layout/_coloraxis.py @@ -6,7 +6,6 @@ class Coloraxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.coloraxis" _valid_props = { @@ -376,12 +375,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Coloraxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Coloraxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.Coloraxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_colorscale.py b/plotly/graph_objs/layout/_colorscale.py index 81169043451..b65ed87fe79 100644 --- a/plotly/graph_objs/layout/_colorscale.py +++ b/plotly/graph_objs/layout/_colorscale.py @@ -6,7 +6,6 @@ class Colorscale(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.colorscale" _valid_props = {"diverging", "sequential", "sequentialminus"} @@ -200,12 +199,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Colorscale constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Colorscale`""" - ) +an instance of :class:`plotly.graph_objs.layout.Colorscale`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_font.py b/plotly/graph_objs/layout/_font.py index 5c1b45d2ffb..c691e7018c7 100644 --- a/plotly/graph_objs/layout/_font.py +++ b/plotly/graph_objs/layout/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_geo.py b/plotly/graph_objs/layout/_geo.py index e978adf1993..40fba3a1cce 100644 --- a/plotly/graph_objs/layout/_geo.py +++ b/plotly/graph_objs/layout/_geo.py @@ -6,7 +6,6 @@ class Geo(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.geo" _valid_props = { @@ -925,12 +924,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Geo constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Geo`""" - ) +an instance of :class:`plotly.graph_objs.layout.Geo`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_grid.py b/plotly/graph_objs/layout/_grid.py index 79d5bd838c0..8788027b3a4 100644 --- a/plotly/graph_objs/layout/_grid.py +++ b/plotly/graph_objs/layout/_grid.py @@ -6,7 +6,6 @@ class Grid(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.grid" _valid_props = { @@ -488,12 +487,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Grid constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Grid`""" - ) +an instance of :class:`plotly.graph_objs.layout.Grid`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_hoverlabel.py b/plotly/graph_objs/layout/_hoverlabel.py index 5e4e8da03b8..867d3563da4 100644 --- a/plotly/graph_objs/layout/_hoverlabel.py +++ b/plotly/graph_objs/layout/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.hoverlabel" _valid_props = { @@ -237,12 +236,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.layout.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_image.py b/plotly/graph_objs/layout/_image.py index 00b7634f264..33865e42ac6 100644 --- a/plotly/graph_objs/layout/_image.py +++ b/plotly/graph_objs/layout/_image.py @@ -6,7 +6,6 @@ class Image(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.image" _valid_props = { @@ -582,12 +581,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Image constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Image`""" - ) +an instance of :class:`plotly.graph_objs.layout.Image`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_legend.py b/plotly/graph_objs/layout/_legend.py index 97daca8c6c7..7df6dadbe34 100644 --- a/plotly/graph_objs/layout/_legend.py +++ b/plotly/graph_objs/layout/_legend.py @@ -6,7 +6,6 @@ class Legend(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.legend" _valid_props = { @@ -879,12 +878,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Legend constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Legend`""" - ) +an instance of :class:`plotly.graph_objs.layout.Legend`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_map.py b/plotly/graph_objs/layout/_map.py index e7860c6b540..f54257cd6fe 100644 --- a/plotly/graph_objs/layout/_map.py +++ b/plotly/graph_objs/layout/_map.py @@ -6,7 +6,6 @@ class Map(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.map" _valid_props = { @@ -371,12 +370,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Map constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Map`""" - ) +an instance of :class:`plotly.graph_objs.layout.Map`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_mapbox.py b/plotly/graph_objs/layout/_mapbox.py index 81e4e857612..b0f5e4e4c3d 100644 --- a/plotly/graph_objs/layout/_mapbox.py +++ b/plotly/graph_objs/layout/_mapbox.py @@ -6,7 +6,6 @@ class Mapbox(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.mapbox" _valid_props = { @@ -430,12 +429,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Mapbox constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Mapbox`""" - ) +an instance of :class:`plotly.graph_objs.layout.Mapbox`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_margin.py b/plotly/graph_objs/layout/_margin.py index c82b0fd520a..2af604870c7 100644 --- a/plotly/graph_objs/layout/_margin.py +++ b/plotly/graph_objs/layout/_margin.py @@ -6,7 +6,6 @@ class Margin(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.margin" _valid_props = {"autoexpand", "b", "l", "pad", "r", "t"} @@ -195,12 +194,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Margin constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Margin`""" - ) +an instance of :class:`plotly.graph_objs.layout.Margin`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_modebar.py b/plotly/graph_objs/layout/_modebar.py index 53e8580b05a..34b9180f290 100644 --- a/plotly/graph_objs/layout/_modebar.py +++ b/plotly/graph_objs/layout/_modebar.py @@ -6,7 +6,6 @@ class Modebar(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.modebar" _valid_props = { @@ -367,12 +366,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Modebar constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Modebar`""" - ) +an instance of :class:`plotly.graph_objs.layout.Modebar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_newselection.py b/plotly/graph_objs/layout/_newselection.py index c60e111e7ec..4f065710fa0 100644 --- a/plotly/graph_objs/layout/_newselection.py +++ b/plotly/graph_objs/layout/_newselection.py @@ -6,7 +6,6 @@ class Newselection(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.newselection" _valid_props = {"line", "mode"} @@ -105,12 +104,10 @@ def __init__(self, arg=None, line=None, mode=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Newselection constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Newselection`""" - ) +an instance of :class:`plotly.graph_objs.layout.Newselection`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_newshape.py b/plotly/graph_objs/layout/_newshape.py index 8d3cf755826..05710a14563 100644 --- a/plotly/graph_objs/layout/_newshape.py +++ b/plotly/graph_objs/layout/_newshape.py @@ -6,7 +6,6 @@ class Newshape(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.newshape" _valid_props = { @@ -517,12 +516,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Newshape constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Newshape`""" - ) +an instance of :class:`plotly.graph_objs.layout.Newshape`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_polar.py b/plotly/graph_objs/layout/_polar.py index 043f9ce2c70..51d76209a0d 100644 --- a/plotly/graph_objs/layout/_polar.py +++ b/plotly/graph_objs/layout/_polar.py @@ -6,7 +6,6 @@ class Polar(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.polar" _valid_props = { @@ -361,12 +360,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Polar constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Polar`""" - ) +an instance of :class:`plotly.graph_objs.layout.Polar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_scene.py b/plotly/graph_objs/layout/_scene.py index 6d5fc00ccc9..2d08ae1b23b 100644 --- a/plotly/graph_objs/layout/_scene.py +++ b/plotly/graph_objs/layout/_scene.py @@ -6,7 +6,6 @@ class Scene(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.scene" _valid_props = { @@ -430,12 +429,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Scene constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Scene`""" - ) +an instance of :class:`plotly.graph_objs.layout.Scene`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_selection.py b/plotly/graph_objs/layout/_selection.py index d01ea200d7c..3ebf7419c32 100644 --- a/plotly/graph_objs/layout/_selection.py +++ b/plotly/graph_objs/layout/_selection.py @@ -6,7 +6,6 @@ class Selection(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.selection" _valid_props = { @@ -470,12 +469,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Selection constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Selection`""" - ) +an instance of :class:`plotly.graph_objs.layout.Selection`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_shape.py b/plotly/graph_objs/layout/_shape.py index b95ee536394..8923d1c172f 100644 --- a/plotly/graph_objs/layout/_shape.py +++ b/plotly/graph_objs/layout/_shape.py @@ -6,7 +6,6 @@ class Shape(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.shape" _valid_props = { @@ -1244,12 +1243,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Shape constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Shape`""" - ) +an instance of :class:`plotly.graph_objs.layout.Shape`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_slider.py b/plotly/graph_objs/layout/_slider.py index 69546f35616..e6d0a2fe24b 100644 --- a/plotly/graph_objs/layout/_slider.py +++ b/plotly/graph_objs/layout/_slider.py @@ -6,7 +6,6 @@ class Slider(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.slider" _valid_props = { @@ -751,12 +750,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Slider constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Slider`""" - ) +an instance of :class:`plotly.graph_objs.layout.Slider`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_smith.py b/plotly/graph_objs/layout/_smith.py index ad97b2b5c76..061e67992a1 100644 --- a/plotly/graph_objs/layout/_smith.py +++ b/plotly/graph_objs/layout/_smith.py @@ -6,7 +6,6 @@ class Smith(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.smith" _valid_props = {"bgcolor", "domain", "imaginaryaxis", "realaxis"} @@ -151,12 +150,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Smith constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Smith`""" - ) +an instance of :class:`plotly.graph_objs.layout.Smith`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_template.py b/plotly/graph_objs/layout/_template.py index c06e5595693..90eb3f6602b 100644 --- a/plotly/graph_objs/layout/_template.py +++ b/plotly/graph_objs/layout/_template.py @@ -7,7 +7,6 @@ class Template(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.template" _valid_props = {"data", "layout"} @@ -114,12 +113,10 @@ def __init__(self, arg=None, data=None, layout=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Template constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Template`""" - ) +an instance of :class:`plotly.graph_objs.layout.Template`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_ternary.py b/plotly/graph_objs/layout/_ternary.py index c99800f394b..c8cb58fbb9f 100644 --- a/plotly/graph_objs/layout/_ternary.py +++ b/plotly/graph_objs/layout/_ternary.py @@ -6,7 +6,6 @@ class Ternary(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.ternary" _valid_props = {"aaxis", "baxis", "bgcolor", "caxis", "domain", "sum", "uirevision"} @@ -232,12 +231,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Ternary constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Ternary`""" - ) +an instance of :class:`plotly.graph_objs.layout.Ternary`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_title.py b/plotly/graph_objs/layout/_title.py index ce4cf1c3cb9..47301d8e114 100644 --- a/plotly/graph_objs/layout/_title.py +++ b/plotly/graph_objs/layout/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.title" _valid_props = { @@ -428,12 +427,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_transition.py b/plotly/graph_objs/layout/_transition.py index f66a7a5c81d..fec6a282708 100644 --- a/plotly/graph_objs/layout/_transition.py +++ b/plotly/graph_objs/layout/_transition.py @@ -6,7 +6,6 @@ class Transition(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.transition" _valid_props = {"duration", "easing", "ordering"} @@ -130,12 +129,10 @@ def __init__(self, arg=None, duration=None, easing=None, ordering=None, **kwargs elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Transition constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Transition`""" - ) +an instance of :class:`plotly.graph_objs.layout.Transition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_uniformtext.py b/plotly/graph_objs/layout/_uniformtext.py index 4b42830a169..a47da28903f 100644 --- a/plotly/graph_objs/layout/_uniformtext.py +++ b/plotly/graph_objs/layout/_uniformtext.py @@ -6,7 +6,6 @@ class Uniformtext(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.uniformtext" _valid_props = {"minsize", "mode"} @@ -111,12 +110,10 @@ def __init__(self, arg=None, minsize=None, mode=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Uniformtext constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Uniformtext`""" - ) +an instance of :class:`plotly.graph_objs.layout.Uniformtext`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_updatemenu.py b/plotly/graph_objs/layout/_updatemenu.py index 4e862378307..ebd1e679381 100644 --- a/plotly/graph_objs/layout/_updatemenu.py +++ b/plotly/graph_objs/layout/_updatemenu.py @@ -6,7 +6,6 @@ class Updatemenu(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.updatemenu" _valid_props = { @@ -603,12 +602,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.Updatemenu constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.Updatemenu`""" - ) +an instance of :class:`plotly.graph_objs.layout.Updatemenu`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_xaxis.py b/plotly/graph_objs/layout/_xaxis.py index cff33a75b0f..901e4180b08 100644 --- a/plotly/graph_objs/layout/_xaxis.py +++ b/plotly/graph_objs/layout/_xaxis.py @@ -6,7 +6,6 @@ class XAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.xaxis" _valid_props = { @@ -3311,12 +3310,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.XAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.XAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.XAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/_yaxis.py b/plotly/graph_objs/layout/_yaxis.py index 50c195a6c3f..95cf85f2836 100644 --- a/plotly/graph_objs/layout/_yaxis.py +++ b/plotly/graph_objs/layout/_yaxis.py @@ -6,7 +6,6 @@ class YAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout" _path_str = "layout.yaxis" _valid_props = { @@ -3339,12 +3338,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.YAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.YAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.YAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/annotation/_font.py b/plotly/graph_objs/layout/annotation/_font.py index 651a38ca803..736edb1bfb0 100644 --- a/plotly/graph_objs/layout/annotation/_font.py +++ b/plotly/graph_objs/layout/annotation/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.annotation" _path_str = "layout.annotation.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.annotation.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.annotation.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.annotation.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/annotation/_hoverlabel.py b/plotly/graph_objs/layout/annotation/_hoverlabel.py index 052860cc6f0..ee847b297dd 100644 --- a/plotly/graph_objs/layout/annotation/_hoverlabel.py +++ b/plotly/graph_objs/layout/annotation/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseLayoutHierarchyType): - _parent_path_str = "layout.annotation" _path_str = "layout.annotation.hoverlabel" _valid_props = {"bgcolor", "bordercolor", "font"} @@ -137,12 +136,10 @@ def __init__(self, arg=None, bgcolor=None, bordercolor=None, font=None, **kwargs elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.annotation.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.annotation.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.layout.annotation.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/annotation/hoverlabel/_font.py b/plotly/graph_objs/layout/annotation/hoverlabel/_font.py index 4b89faac69a..b3a561eb679 100644 --- a/plotly/graph_objs/layout/annotation/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/annotation/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.annotation.hoverlabel" _path_str = "layout.annotation.hoverlabel.font" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.annotation.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.annotation.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.annotation.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/coloraxis/_colorbar.py b/plotly/graph_objs/layout/coloraxis/_colorbar.py index 5b6adc752b7..0749ad3097f 100644 --- a/plotly/graph_objs/layout/coloraxis/_colorbar.py +++ b/plotly/graph_objs/layout/coloraxis/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseLayoutHierarchyType): - _parent_path_str = "layout.coloraxis" _path_str = "layout.coloraxis.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.coloraxis.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.coloraxis.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.layout.coloraxis.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py b/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py index 53c81dc8b07..146bfec8bd7 100644 --- a/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py +++ b/plotly/graph_objs/layout/coloraxis/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.coloraxis.colorbar" _path_str = "layout.coloraxis.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py b/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py index e9e9f78a545..2a971e117ef 100644 --- a/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/layout/coloraxis/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.coloraxis.colorbar" _path_str = "layout.coloraxis.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/coloraxis/colorbar/_title.py b/plotly/graph_objs/layout/coloraxis/colorbar/_title.py index eab7c4a99d5..3f906c72dc3 100644 --- a/plotly/graph_objs/layout/coloraxis/colorbar/_title.py +++ b/plotly/graph_objs/layout/coloraxis/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.coloraxis.colorbar" _path_str = "layout.coloraxis.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py b/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py index e41fb7e25e2..d151ff393b2 100644 --- a/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py +++ b/plotly/graph_objs/layout/coloraxis/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.coloraxis.colorbar.title" _path_str = "layout.coloraxis.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.coloraxis.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.coloraxis.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/geo/_center.py b/plotly/graph_objs/layout/geo/_center.py index 555788d454b..059d3a4e3ea 100644 --- a/plotly/graph_objs/layout/geo/_center.py +++ b/plotly/graph_objs/layout/geo/_center.py @@ -6,7 +6,6 @@ class Center(_BaseLayoutHierarchyType): - _parent_path_str = "layout.geo" _path_str = "layout.geo.center" _valid_props = {"lat", "lon"} @@ -102,12 +101,10 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.geo.Center constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.geo.Center`""" - ) +an instance of :class:`plotly.graph_objs.layout.geo.Center`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/geo/_domain.py b/plotly/graph_objs/layout/geo/_domain.py index 18cb943a0f8..1869b41f12f 100644 --- a/plotly/graph_objs/layout/geo/_domain.py +++ b/plotly/graph_objs/layout/geo/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.geo" _path_str = "layout.geo.domain" _valid_props = {"column", "row", "x", "y"} @@ -189,12 +188,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.geo.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.geo.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.geo.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/geo/_lataxis.py b/plotly/graph_objs/layout/geo/_lataxis.py index dcbf8f1e661..fcaf4c85466 100644 --- a/plotly/graph_objs/layout/geo/_lataxis.py +++ b/plotly/graph_objs/layout/geo/_lataxis.py @@ -6,7 +6,6 @@ class Lataxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.geo" _path_str = "layout.geo.lataxis" _valid_props = { @@ -240,12 +239,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.geo.Lataxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.geo.Lataxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.geo.Lataxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/geo/_lonaxis.py b/plotly/graph_objs/layout/geo/_lonaxis.py index c7992778502..6b3152774c2 100644 --- a/plotly/graph_objs/layout/geo/_lonaxis.py +++ b/plotly/graph_objs/layout/geo/_lonaxis.py @@ -6,7 +6,6 @@ class Lonaxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.geo" _path_str = "layout.geo.lonaxis" _valid_props = { @@ -240,12 +239,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.geo.Lonaxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.geo.Lonaxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.geo.Lonaxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/geo/_projection.py b/plotly/graph_objs/layout/geo/_projection.py index bd56424ca97..fb8a53981be 100644 --- a/plotly/graph_objs/layout/geo/_projection.py +++ b/plotly/graph_objs/layout/geo/_projection.py @@ -6,7 +6,6 @@ class Projection(_BaseLayoutHierarchyType): - _parent_path_str = "layout.geo" _path_str = "layout.geo.projection" _valid_props = {"distance", "parallels", "rotation", "scale", "tilt", "type"} @@ -234,12 +233,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.geo.Projection constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.geo.Projection`""" - ) +an instance of :class:`plotly.graph_objs.layout.geo.Projection`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/geo/projection/_rotation.py b/plotly/graph_objs/layout/geo/projection/_rotation.py index 6961e429786..4934597e463 100644 --- a/plotly/graph_objs/layout/geo/projection/_rotation.py +++ b/plotly/graph_objs/layout/geo/projection/_rotation.py @@ -6,7 +6,6 @@ class Rotation(_BaseLayoutHierarchyType): - _parent_path_str = "layout.geo.projection" _path_str = "layout.geo.projection.rotation" _valid_props = {"lat", "lon", "roll"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, lat=None, lon=None, roll=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.geo.projection.Rotation constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.geo.projection.Rotation`""" - ) +an instance of :class:`plotly.graph_objs.layout.geo.projection.Rotation`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/grid/_domain.py b/plotly/graph_objs/layout/grid/_domain.py index b9afa3311ec..1e1fc2f7138 100644 --- a/plotly/graph_objs/layout/grid/_domain.py +++ b/plotly/graph_objs/layout/grid/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.grid" _path_str = "layout.grid.domain" _valid_props = {"x", "y"} @@ -109,12 +108,10 @@ def __init__(self, arg=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.grid.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.grid.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.grid.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/hoverlabel/_font.py b/plotly/graph_objs/layout/hoverlabel/_font.py index 74b6f929ba2..afaef5d4a2e 100644 --- a/plotly/graph_objs/layout/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.hoverlabel" _path_str = "layout.hoverlabel.font" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py b/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py index 960f3c15cdc..f1aae36ca2b 100644 --- a/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py +++ b/plotly/graph_objs/layout/hoverlabel/_grouptitlefont.py @@ -6,7 +6,6 @@ class Grouptitlefont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.hoverlabel" _path_str = "layout.hoverlabel.grouptitlefont" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.hoverlabel.Grouptitlefont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitlefont`""" - ) +an instance of :class:`plotly.graph_objs.layout.hoverlabel.Grouptitlefont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/legend/_font.py b/plotly/graph_objs/layout/legend/_font.py index f0f62c93213..5b1eedf3214 100644 --- a/plotly/graph_objs/layout/legend/_font.py +++ b/plotly/graph_objs/layout/legend/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.legend" _path_str = "layout.legend.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.legend.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.legend.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.legend.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/legend/_grouptitlefont.py b/plotly/graph_objs/layout/legend/_grouptitlefont.py index 5a60a45ebd5..1dc128570fe 100644 --- a/plotly/graph_objs/layout/legend/_grouptitlefont.py +++ b/plotly/graph_objs/layout/legend/_grouptitlefont.py @@ -6,7 +6,6 @@ class Grouptitlefont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.legend" _path_str = "layout.legend.grouptitlefont" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.legend.Grouptitlefont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.legend.Grouptitlefont`""" - ) +an instance of :class:`plotly.graph_objs.layout.legend.Grouptitlefont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/legend/_title.py b/plotly/graph_objs/layout/legend/_title.py index 68119a23670..a0c67bffd59 100644 --- a/plotly/graph_objs/layout/legend/_title.py +++ b/plotly/graph_objs/layout/legend/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.legend" _path_str = "layout.legend.title" _valid_props = {"font", "side", "text"} @@ -131,12 +130,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.legend.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.legend.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.legend.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/legend/title/_font.py b/plotly/graph_objs/layout/legend/title/_font.py index cadfbdea6e8..1deec6aa4d9 100644 --- a/plotly/graph_objs/layout/legend/title/_font.py +++ b/plotly/graph_objs/layout/legend/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.legend.title" _path_str = "layout.legend.title.font" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.legend.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.legend.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.legend.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/_bounds.py b/plotly/graph_objs/layout/map/_bounds.py index 512b32e3ab4..13e914c6ef0 100644 --- a/plotly/graph_objs/layout/map/_bounds.py +++ b/plotly/graph_objs/layout/map/_bounds.py @@ -6,7 +6,6 @@ class Bounds(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map" _path_str = "layout.map.bounds" _valid_props = {"east", "north", "south", "west"} @@ -145,12 +144,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.Bounds constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.Bounds`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.Bounds`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/_center.py b/plotly/graph_objs/layout/map/_center.py index 0b741df3e06..34c339ee048 100644 --- a/plotly/graph_objs/layout/map/_center.py +++ b/plotly/graph_objs/layout/map/_center.py @@ -6,7 +6,6 @@ class Center(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map" _path_str = "layout.map.center" _valid_props = {"lat", "lon"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.Center constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.Center`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.Center`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/_domain.py b/plotly/graph_objs/layout/map/_domain.py index b4d23da8bc4..9baf6eaad13 100644 --- a/plotly/graph_objs/layout/map/_domain.py +++ b/plotly/graph_objs/layout/map/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map" _path_str = "layout.map.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/_layer.py b/plotly/graph_objs/layout/map/_layer.py index 01aa9671d0c..cf22d324e9a 100644 --- a/plotly/graph_objs/layout/map/_layer.py +++ b/plotly/graph_objs/layout/map/_layer.py @@ -6,7 +6,6 @@ class Layer(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map" _path_str = "layout.map.layer" _valid_props = { @@ -662,12 +661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.Layer constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.Layer`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.Layer`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/layer/_circle.py b/plotly/graph_objs/layout/map/layer/_circle.py index 839b29e4ab1..2d99a00c746 100644 --- a/plotly/graph_objs/layout/map/layer/_circle.py +++ b/plotly/graph_objs/layout/map/layer/_circle.py @@ -6,7 +6,6 @@ class Circle(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map.layer" _path_str = "layout.map.layer.circle" _valid_props = {"radius"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, radius=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.layer.Circle constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.layer.Circle`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.layer.Circle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/layer/_fill.py b/plotly/graph_objs/layout/map/layer/_fill.py index 71ed17fd566..2c82cdd67ee 100644 --- a/plotly/graph_objs/layout/map/layer/_fill.py +++ b/plotly/graph_objs/layout/map/layer/_fill.py @@ -6,7 +6,6 @@ class Fill(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map.layer" _path_str = "layout.map.layer.fill" _valid_props = {"outlinecolor"} @@ -74,12 +73,10 @@ def __init__(self, arg=None, outlinecolor=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.layer.Fill constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.layer.Fill`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.layer.Fill`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/layer/_line.py b/plotly/graph_objs/layout/map/layer/_line.py index 8ed89ed0a7e..369be5f2189 100644 --- a/plotly/graph_objs/layout/map/layer/_line.py +++ b/plotly/graph_objs/layout/map/layer/_line.py @@ -6,7 +6,6 @@ class Line(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map.layer" _path_str = "layout.map.layer.line" _valid_props = {"dash", "dashsrc", "width"} @@ -119,12 +118,10 @@ def __init__(self, arg=None, dash=None, dashsrc=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.layer.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.layer.Line`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.layer.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/layer/_symbol.py b/plotly/graph_objs/layout/map/layer/_symbol.py index 0f8e8853551..58507ae4ede 100644 --- a/plotly/graph_objs/layout/map/layer/_symbol.py +++ b/plotly/graph_objs/layout/map/layer/_symbol.py @@ -6,7 +6,6 @@ class Symbol(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map.layer" _path_str = "layout.map.layer.symbol" _valid_props = {"icon", "iconsize", "placement", "text", "textfont", "textposition"} @@ -226,12 +225,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.layer.Symbol constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.layer.Symbol`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.layer.Symbol`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/map/layer/symbol/_textfont.py b/plotly/graph_objs/layout/map/layer/symbol/_textfont.py index bd95dbe7f3e..911cbcd757b 100644 --- a/plotly/graph_objs/layout/map/layer/symbol/_textfont.py +++ b/plotly/graph_objs/layout/map/layer/symbol/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.map.layer.symbol" _path_str = "layout.map.layer.symbol.textfont" _valid_props = {"color", "family", "size", "style", "weight"} @@ -186,12 +185,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.map.layer.symbol.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.map.layer.symbol.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.map.layer.symbol.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/_bounds.py b/plotly/graph_objs/layout/mapbox/_bounds.py index 92330d8fb85..0179224f263 100644 --- a/plotly/graph_objs/layout/mapbox/_bounds.py +++ b/plotly/graph_objs/layout/mapbox/_bounds.py @@ -6,7 +6,6 @@ class Bounds(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox" _path_str = "layout.mapbox.bounds" _valid_props = {"east", "north", "south", "west"} @@ -145,12 +144,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.Bounds constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.Bounds`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.Bounds`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/_center.py b/plotly/graph_objs/layout/mapbox/_center.py index f740e4194ca..c3a23805f3f 100644 --- a/plotly/graph_objs/layout/mapbox/_center.py +++ b/plotly/graph_objs/layout/mapbox/_center.py @@ -6,7 +6,6 @@ class Center(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox" _path_str = "layout.mapbox.center" _valid_props = {"lat", "lon"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, lat=None, lon=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.Center constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.Center`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.Center`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/_domain.py b/plotly/graph_objs/layout/mapbox/_domain.py index be2db84f0aa..371af697c7b 100644 --- a/plotly/graph_objs/layout/mapbox/_domain.py +++ b/plotly/graph_objs/layout/mapbox/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox" _path_str = "layout.mapbox.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/_layer.py b/plotly/graph_objs/layout/mapbox/_layer.py index e3d516fe184..abad68fb2a2 100644 --- a/plotly/graph_objs/layout/mapbox/_layer.py +++ b/plotly/graph_objs/layout/mapbox/_layer.py @@ -6,7 +6,6 @@ class Layer(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox" _path_str = "layout.mapbox.layer" _valid_props = { @@ -666,12 +665,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.Layer constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.Layer`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.Layer`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/layer/_circle.py b/plotly/graph_objs/layout/mapbox/layer/_circle.py index 17a6f270f7b..74ba8191cb3 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_circle.py +++ b/plotly/graph_objs/layout/mapbox/layer/_circle.py @@ -6,7 +6,6 @@ class Circle(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox.layer" _path_str = "layout.mapbox.layer.circle" _valid_props = {"radius"} @@ -70,12 +69,10 @@ def __init__(self, arg=None, radius=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.layer.Circle constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Circle`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Circle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/layer/_fill.py b/plotly/graph_objs/layout/mapbox/layer/_fill.py index 791cf20a35e..d7ae63c27cb 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_fill.py +++ b/plotly/graph_objs/layout/mapbox/layer/_fill.py @@ -6,7 +6,6 @@ class Fill(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox.layer" _path_str = "layout.mapbox.layer.fill" _valid_props = {"outlinecolor"} @@ -74,12 +73,10 @@ def __init__(self, arg=None, outlinecolor=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.layer.Fill constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Fill`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Fill`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/layer/_line.py b/plotly/graph_objs/layout/mapbox/layer/_line.py index 27db066a8eb..1ca3ca3aaa8 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_line.py +++ b/plotly/graph_objs/layout/mapbox/layer/_line.py @@ -6,7 +6,6 @@ class Line(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox.layer" _path_str = "layout.mapbox.layer.line" _valid_props = {"dash", "dashsrc", "width"} @@ -119,12 +118,10 @@ def __init__(self, arg=None, dash=None, dashsrc=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.layer.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Line`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/layer/_symbol.py b/plotly/graph_objs/layout/mapbox/layer/_symbol.py index 1eb28e9d37d..506e36adf5e 100644 --- a/plotly/graph_objs/layout/mapbox/layer/_symbol.py +++ b/plotly/graph_objs/layout/mapbox/layer/_symbol.py @@ -6,7 +6,6 @@ class Symbol(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox.layer" _path_str = "layout.mapbox.layer.symbol" _valid_props = {"icon", "iconsize", "placement", "text", "textfont", "textposition"} @@ -228,12 +227,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.layer.Symbol constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Symbol`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.layer.Symbol`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py b/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py index 337fe7d370c..473535eba75 100644 --- a/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py +++ b/plotly/graph_objs/layout/mapbox/layer/symbol/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.mapbox.layer.symbol" _path_str = "layout.mapbox.layer.symbol.textfont" _valid_props = {"color", "family", "size", "style", "weight"} @@ -186,12 +185,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.mapbox.layer.symbol.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.mapbox.layer.symbol.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.mapbox.layer.symbol.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/newselection/_line.py b/plotly/graph_objs/layout/newselection/_line.py index f11feb990cc..b7d64201ec5 100644 --- a/plotly/graph_objs/layout/newselection/_line.py +++ b/plotly/graph_objs/layout/newselection/_line.py @@ -6,7 +6,6 @@ class Line(_BaseLayoutHierarchyType): - _parent_path_str = "layout.newselection" _path_str = "layout.newselection.line" _valid_props = {"color", "dash", "width"} @@ -128,12 +127,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.newselection.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.newselection.Line`""" - ) +an instance of :class:`plotly.graph_objs.layout.newselection.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/newshape/_label.py b/plotly/graph_objs/layout/newshape/_label.py index 027968b8421..419a6a07434 100644 --- a/plotly/graph_objs/layout/newshape/_label.py +++ b/plotly/graph_objs/layout/newshape/_label.py @@ -6,7 +6,6 @@ class Label(_BaseLayoutHierarchyType): - _parent_path_str = "layout.newshape" _path_str = "layout.newshape.label" _valid_props = { @@ -378,12 +377,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.newshape.Label constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.newshape.Label`""" - ) +an instance of :class:`plotly.graph_objs.layout.newshape.Label`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/newshape/_legendgrouptitle.py b/plotly/graph_objs/layout/newshape/_legendgrouptitle.py index 87a5f0b6e00..00230ca78bc 100644 --- a/plotly/graph_objs/layout/newshape/_legendgrouptitle.py +++ b/plotly/graph_objs/layout/newshape/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseLayoutHierarchyType): - _parent_path_str = "layout.newshape" _path_str = "layout.newshape.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.newshape.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.newshape.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.layout.newshape.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/newshape/_line.py b/plotly/graph_objs/layout/newshape/_line.py index b0fb879bde6..9a679d80c74 100644 --- a/plotly/graph_objs/layout/newshape/_line.py +++ b/plotly/graph_objs/layout/newshape/_line.py @@ -6,7 +6,6 @@ class Line(_BaseLayoutHierarchyType): - _parent_path_str = "layout.newshape" _path_str = "layout.newshape.line" _valid_props = {"color", "dash", "width"} @@ -128,12 +127,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.newshape.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.newshape.Line`""" - ) +an instance of :class:`plotly.graph_objs.layout.newshape.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/newshape/label/_font.py b/plotly/graph_objs/layout/newshape/label/_font.py index 77b1b5e5fd5..91e49defa33 100644 --- a/plotly/graph_objs/layout/newshape/label/_font.py +++ b/plotly/graph_objs/layout/newshape/label/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.newshape.label" _path_str = "layout.newshape.label.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.newshape.label.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.newshape.label.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.newshape.label.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py b/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py index f7ce3c35738..879c619b704 100644 --- a/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py +++ b/plotly/graph_objs/layout/newshape/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.newshape.legendgrouptitle" _path_str = "layout.newshape.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.newshape.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.newshape.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.newshape.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/_angularaxis.py b/plotly/graph_objs/layout/polar/_angularaxis.py index 527e82cf441..0dbf8916691 100644 --- a/plotly/graph_objs/layout/polar/_angularaxis.py +++ b/plotly/graph_objs/layout/polar/_angularaxis.py @@ -6,7 +6,6 @@ class AngularAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar" _path_str = "layout.polar.angularaxis" _valid_props = { @@ -1716,12 +1715,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.AngularAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.AngularAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.AngularAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/_domain.py b/plotly/graph_objs/layout/polar/_domain.py index ab016a9adb3..0fd15cf2575 100644 --- a/plotly/graph_objs/layout/polar/_domain.py +++ b/plotly/graph_objs/layout/polar/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar" _path_str = "layout.polar.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/_radialaxis.py b/plotly/graph_objs/layout/polar/_radialaxis.py index 38b1740608b..aa5bfd5b0b0 100644 --- a/plotly/graph_objs/layout/polar/_radialaxis.py +++ b/plotly/graph_objs/layout/polar/_radialaxis.py @@ -6,7 +6,6 @@ class RadialAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar" _path_str = "layout.polar.radialaxis" _valid_props = { @@ -1982,12 +1981,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.RadialAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.RadialAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.RadialAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py b/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py index 677e0ccb9e1..d0a6e745100 100644 --- a/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py +++ b/plotly/graph_objs/layout/polar/angularaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.angularaxis" _path_str = "layout.polar.angularaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py b/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py index 51ab090aac6..8142b3c23ce 100644 --- a/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/polar/angularaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.angularaxis" _path_str = "layout.polar.angularaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.angularaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/radialaxis/_autorangeoptions.py b/plotly/graph_objs/layout/polar/radialaxis/_autorangeoptions.py index 4548bca104f..0c12c55e9da 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_autorangeoptions.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_autorangeoptions.py @@ -6,7 +6,6 @@ class Autorangeoptions(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.radialaxis" _path_str = "layout.polar.radialaxis.autorangeoptions" _valid_props = { @@ -199,12 +198,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Autorangeoptions`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py b/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py index 8abdb4ba8fd..6be3feb71c9 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.radialaxis" _path_str = "layout.polar.radialaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py b/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py index 768bfa3089f..a2c237a29d5 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.radialaxis" _path_str = "layout.polar.radialaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.radialaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/radialaxis/_title.py b/plotly/graph_objs/layout/polar/radialaxis/_title.py index 1d105d45149..6472d8837da 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/_title.py +++ b/plotly/graph_objs/layout/polar/radialaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.radialaxis" _path_str = "layout.polar.radialaxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.radialaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/polar/radialaxis/title/_font.py b/plotly/graph_objs/layout/polar/radialaxis/title/_font.py index 67dffb964b2..8a6981fc44e 100644 --- a/plotly/graph_objs/layout/polar/radialaxis/title/_font.py +++ b/plotly/graph_objs/layout/polar/radialaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.polar.radialaxis.title" _path_str = "layout.polar.radialaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.polar.radialaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.polar.radialaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_annotation.py b/plotly/graph_objs/layout/scene/_annotation.py index aef234a6326..341cb4b8916 100644 --- a/plotly/graph_objs/layout/scene/_annotation.py +++ b/plotly/graph_objs/layout/scene/_annotation.py @@ -6,7 +6,6 @@ class Annotation(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.annotation" _valid_props = { @@ -1195,12 +1194,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.Annotation constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.Annotation`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.Annotation`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_aspectratio.py b/plotly/graph_objs/layout/scene/_aspectratio.py index 81c15e75422..62e17299e30 100644 --- a/plotly/graph_objs/layout/scene/_aspectratio.py +++ b/plotly/graph_objs/layout/scene/_aspectratio.py @@ -6,7 +6,6 @@ class Aspectratio(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.aspectratio" _valid_props = {"x", "y", "z"} @@ -105,12 +104,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.Aspectratio constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.Aspectratio`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.Aspectratio`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_camera.py b/plotly/graph_objs/layout/scene/_camera.py index e70bb6f0aaa..cd73985412c 100644 --- a/plotly/graph_objs/layout/scene/_camera.py +++ b/plotly/graph_objs/layout/scene/_camera.py @@ -6,7 +6,6 @@ class Camera(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.camera" _valid_props = {"center", "eye", "projection", "up"} @@ -168,12 +167,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.Camera constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.Camera`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.Camera`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_domain.py b/plotly/graph_objs/layout/scene/_domain.py index 88469984d85..ef03c3826ad 100644 --- a/plotly/graph_objs/layout/scene/_domain.py +++ b/plotly/graph_objs/layout/scene/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_xaxis.py b/plotly/graph_objs/layout/scene/_xaxis.py index 466951eed53..3158a2e8318 100644 --- a/plotly/graph_objs/layout/scene/_xaxis.py +++ b/plotly/graph_objs/layout/scene/_xaxis.py @@ -6,7 +6,6 @@ class XAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.xaxis" _valid_props = { @@ -2040,12 +2039,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.XAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.XAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.XAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_yaxis.py b/plotly/graph_objs/layout/scene/_yaxis.py index 28d9e26db96..852837d3984 100644 --- a/plotly/graph_objs/layout/scene/_yaxis.py +++ b/plotly/graph_objs/layout/scene/_yaxis.py @@ -6,7 +6,6 @@ class YAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.yaxis" _valid_props = { @@ -2040,12 +2039,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.YAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.YAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.YAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/_zaxis.py b/plotly/graph_objs/layout/scene/_zaxis.py index 28d334e88be..81936c64854 100644 --- a/plotly/graph_objs/layout/scene/_zaxis.py +++ b/plotly/graph_objs/layout/scene/_zaxis.py @@ -6,7 +6,6 @@ class ZAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene" _path_str = "layout.scene.zaxis" _valid_props = { @@ -2040,12 +2039,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.ZAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.ZAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.ZAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/annotation/_font.py b/plotly/graph_objs/layout/scene/annotation/_font.py index 5b7bf8d7eb6..d4a686ad427 100644 --- a/plotly/graph_objs/layout/scene/annotation/_font.py +++ b/plotly/graph_objs/layout/scene/annotation/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.annotation" _path_str = "layout.scene.annotation.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.annotation.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py b/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py index f5a09cbb3c7..32232be169f 100644 --- a/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py +++ b/plotly/graph_objs/layout/scene/annotation/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.annotation" _path_str = "layout.scene.annotation.hoverlabel" _valid_props = {"bgcolor", "bordercolor", "font"} @@ -137,12 +136,10 @@ def __init__(self, arg=None, bgcolor=None, bordercolor=None, font=None, **kwargs elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.annotation.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py b/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py index 2a31b18fbef..04b66f2ff88 100644 --- a/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py +++ b/plotly/graph_objs/layout/scene/annotation/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.annotation.hoverlabel" _path_str = "layout.scene.annotation.hoverlabel.font" _valid_props = { @@ -315,12 +314,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.annotation.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.annotation.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.annotation.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/camera/_center.py b/plotly/graph_objs/layout/scene/camera/_center.py index 9f5ca655ebc..b64f4418aef 100644 --- a/plotly/graph_objs/layout/scene/camera/_center.py +++ b/plotly/graph_objs/layout/scene/camera/_center.py @@ -6,7 +6,6 @@ class Center(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.camera" _path_str = "layout.scene.camera.center" _valid_props = {"x", "y", "z"} @@ -107,12 +106,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.camera.Center constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.camera.Center`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.camera.Center`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/camera/_eye.py b/plotly/graph_objs/layout/scene/camera/_eye.py index 08c108629b3..19767a8409e 100644 --- a/plotly/graph_objs/layout/scene/camera/_eye.py +++ b/plotly/graph_objs/layout/scene/camera/_eye.py @@ -6,7 +6,6 @@ class Eye(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.camera" _path_str = "layout.scene.camera.eye" _valid_props = {"x", "y", "z"} @@ -107,12 +106,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.camera.Eye constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.camera.Eye`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.camera.Eye`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/camera/_projection.py b/plotly/graph_objs/layout/scene/camera/_projection.py index db376ad9f8b..58b936ed693 100644 --- a/plotly/graph_objs/layout/scene/camera/_projection.py +++ b/plotly/graph_objs/layout/scene/camera/_projection.py @@ -6,7 +6,6 @@ class Projection(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.camera" _path_str = "layout.scene.camera.projection" _valid_props = {"type"} @@ -71,12 +70,10 @@ def __init__(self, arg=None, type=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.camera.Projection constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.camera.Projection`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.camera.Projection`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/camera/_up.py b/plotly/graph_objs/layout/scene/camera/_up.py index 0ea56815c78..1f307ec8db1 100644 --- a/plotly/graph_objs/layout/scene/camera/_up.py +++ b/plotly/graph_objs/layout/scene/camera/_up.py @@ -6,7 +6,6 @@ class Up(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.camera" _path_str = "layout.scene.camera.up" _valid_props = {"x", "y", "z"} @@ -108,12 +107,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.camera.Up constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.camera.Up`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.camera.Up`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/xaxis/_autorangeoptions.py b/plotly/graph_objs/layout/scene/xaxis/_autorangeoptions.py index e97114801e7..707a38eb4e5 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_autorangeoptions.py +++ b/plotly/graph_objs/layout/scene/xaxis/_autorangeoptions.py @@ -6,7 +6,6 @@ class Autorangeoptions(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.xaxis" _path_str = "layout.scene.xaxis.autorangeoptions" _valid_props = { @@ -199,12 +198,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.xaxis.Autorangeoptions constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Autorangeoptions`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Autorangeoptions`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/xaxis/_tickfont.py b/plotly/graph_objs/layout/scene/xaxis/_tickfont.py index 9e18542e747..d9d2628958b 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/xaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.xaxis" _path_str = "layout.scene.xaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.xaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py b/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py index b618d31c32b..8953f2c6460 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/scene/xaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.xaxis" _path_str = "layout.scene.xaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.xaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/xaxis/_title.py b/plotly/graph_objs/layout/scene/xaxis/_title.py index a3009506cb5..b2be9aa165c 100644 --- a/plotly/graph_objs/layout/scene/xaxis/_title.py +++ b/plotly/graph_objs/layout/scene/xaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.xaxis" _path_str = "layout.scene.xaxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.xaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.xaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/xaxis/title/_font.py b/plotly/graph_objs/layout/scene/xaxis/title/_font.py index 555198e1330..46dc7b43b6d 100644 --- a/plotly/graph_objs/layout/scene/xaxis/title/_font.py +++ b/plotly/graph_objs/layout/scene/xaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.xaxis.title" _path_str = "layout.scene.xaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.xaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.xaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.xaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/yaxis/_autorangeoptions.py b/plotly/graph_objs/layout/scene/yaxis/_autorangeoptions.py index 7c0bbf152cb..1f57deff9a8 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_autorangeoptions.py +++ b/plotly/graph_objs/layout/scene/yaxis/_autorangeoptions.py @@ -6,7 +6,6 @@ class Autorangeoptions(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.yaxis" _path_str = "layout.scene.yaxis.autorangeoptions" _valid_props = { @@ -199,12 +198,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.yaxis.Autorangeoptions constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Autorangeoptions`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Autorangeoptions`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/yaxis/_tickfont.py b/plotly/graph_objs/layout/scene/yaxis/_tickfont.py index 321f0dd0f4e..ff12147d624 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/yaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.yaxis" _path_str = "layout.scene.yaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.yaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py b/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py index 9fd0c1592f7..faf7540c066 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/scene/yaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.yaxis" _path_str = "layout.scene.yaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.yaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/yaxis/_title.py b/plotly/graph_objs/layout/scene/yaxis/_title.py index e6fe15e2ffd..296c6223919 100644 --- a/plotly/graph_objs/layout/scene/yaxis/_title.py +++ b/plotly/graph_objs/layout/scene/yaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.yaxis" _path_str = "layout.scene.yaxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.yaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.yaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/yaxis/title/_font.py b/plotly/graph_objs/layout/scene/yaxis/title/_font.py index c2087f2bb34..81c436c3b77 100644 --- a/plotly/graph_objs/layout/scene/yaxis/title/_font.py +++ b/plotly/graph_objs/layout/scene/yaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.yaxis.title" _path_str = "layout.scene.yaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.yaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.yaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.yaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/zaxis/_autorangeoptions.py b/plotly/graph_objs/layout/scene/zaxis/_autorangeoptions.py index 2ae17dd85be..ca4a8db91b4 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_autorangeoptions.py +++ b/plotly/graph_objs/layout/scene/zaxis/_autorangeoptions.py @@ -6,7 +6,6 @@ class Autorangeoptions(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.zaxis" _path_str = "layout.scene.zaxis.autorangeoptions" _valid_props = { @@ -199,12 +198,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.zaxis.Autorangeoptions constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Autorangeoptions`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Autorangeoptions`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/zaxis/_tickfont.py b/plotly/graph_objs/layout/scene/zaxis/_tickfont.py index bac266b477b..7146405e80d 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_tickfont.py +++ b/plotly/graph_objs/layout/scene/zaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.zaxis" _path_str = "layout.scene.zaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.zaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py b/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py index 15a35847437..1d6cc95c1f1 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/scene/zaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.zaxis" _path_str = "layout.scene.zaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.zaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/zaxis/_title.py b/plotly/graph_objs/layout/scene/zaxis/_title.py index bd535a9b9ee..ae7e476c97e 100644 --- a/plotly/graph_objs/layout/scene/zaxis/_title.py +++ b/plotly/graph_objs/layout/scene/zaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.zaxis" _path_str = "layout.scene.zaxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.zaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.zaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/scene/zaxis/title/_font.py b/plotly/graph_objs/layout/scene/zaxis/title/_font.py index c4201cec005..54972c0f18d 100644 --- a/plotly/graph_objs/layout/scene/zaxis/title/_font.py +++ b/plotly/graph_objs/layout/scene/zaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.scene.zaxis.title" _path_str = "layout.scene.zaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.scene.zaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.scene.zaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.scene.zaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/selection/_line.py b/plotly/graph_objs/layout/selection/_line.py index 868f26c369d..aeecc179375 100644 --- a/plotly/graph_objs/layout/selection/_line.py +++ b/plotly/graph_objs/layout/selection/_line.py @@ -6,7 +6,6 @@ class Line(_BaseLayoutHierarchyType): - _parent_path_str = "layout.selection" _path_str = "layout.selection.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.selection.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.selection.Line`""" - ) +an instance of :class:`plotly.graph_objs.layout.selection.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/shape/_label.py b/plotly/graph_objs/layout/shape/_label.py index a1da664094a..81028c6925f 100644 --- a/plotly/graph_objs/layout/shape/_label.py +++ b/plotly/graph_objs/layout/shape/_label.py @@ -6,7 +6,6 @@ class Label(_BaseLayoutHierarchyType): - _parent_path_str = "layout.shape" _path_str = "layout.shape.label" _valid_props = { @@ -377,12 +376,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.shape.Label constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.shape.Label`""" - ) +an instance of :class:`plotly.graph_objs.layout.shape.Label`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/shape/_legendgrouptitle.py b/plotly/graph_objs/layout/shape/_legendgrouptitle.py index 792e64b48b4..898c1fb3323 100644 --- a/plotly/graph_objs/layout/shape/_legendgrouptitle.py +++ b/plotly/graph_objs/layout/shape/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseLayoutHierarchyType): - _parent_path_str = "layout.shape" _path_str = "layout.shape.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.shape.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.shape.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.layout.shape.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/shape/_line.py b/plotly/graph_objs/layout/shape/_line.py index a49f8c233fb..b59b47232f5 100644 --- a/plotly/graph_objs/layout/shape/_line.py +++ b/plotly/graph_objs/layout/shape/_line.py @@ -6,7 +6,6 @@ class Line(_BaseLayoutHierarchyType): - _parent_path_str = "layout.shape" _path_str = "layout.shape.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.shape.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.shape.Line`""" - ) +an instance of :class:`plotly.graph_objs.layout.shape.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/shape/label/_font.py b/plotly/graph_objs/layout/shape/label/_font.py index 18bec928059..d80142dec71 100644 --- a/plotly/graph_objs/layout/shape/label/_font.py +++ b/plotly/graph_objs/layout/shape/label/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.shape.label" _path_str = "layout.shape.label.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.shape.label.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.shape.label.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.shape.label.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py b/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py index f3776ca2883..c547c64f4a3 100644 --- a/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py +++ b/plotly/graph_objs/layout/shape/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.shape.legendgrouptitle" _path_str = "layout.shape.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.shape.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.shape.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.shape.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/slider/_currentvalue.py b/plotly/graph_objs/layout/slider/_currentvalue.py index e9b47693dea..d25d72bc681 100644 --- a/plotly/graph_objs/layout/slider/_currentvalue.py +++ b/plotly/graph_objs/layout/slider/_currentvalue.py @@ -6,7 +6,6 @@ class Currentvalue(_BaseLayoutHierarchyType): - _parent_path_str = "layout.slider" _path_str = "layout.slider.currentvalue" _valid_props = {"font", "offset", "prefix", "suffix", "visible", "xanchor"} @@ -203,12 +202,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.slider.Currentvalue constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.slider.Currentvalue`""" - ) +an instance of :class:`plotly.graph_objs.layout.slider.Currentvalue`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/slider/_font.py b/plotly/graph_objs/layout/slider/_font.py index d45feb8c85a..41412107938 100644 --- a/plotly/graph_objs/layout/slider/_font.py +++ b/plotly/graph_objs/layout/slider/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.slider" _path_str = "layout.slider.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.slider.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.slider.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.slider.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/slider/_pad.py b/plotly/graph_objs/layout/slider/_pad.py index a614ee41dd5..dfee2028c23 100644 --- a/plotly/graph_objs/layout/slider/_pad.py +++ b/plotly/graph_objs/layout/slider/_pad.py @@ -6,7 +6,6 @@ class Pad(_BaseLayoutHierarchyType): - _parent_path_str = "layout.slider" _path_str = "layout.slider.pad" _valid_props = {"b", "l", "r", "t"} @@ -144,12 +143,10 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.slider.Pad constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.slider.Pad`""" - ) +an instance of :class:`plotly.graph_objs.layout.slider.Pad`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/slider/_step.py b/plotly/graph_objs/layout/slider/_step.py index 714aee84581..bcc3d92439b 100644 --- a/plotly/graph_objs/layout/slider/_step.py +++ b/plotly/graph_objs/layout/slider/_step.py @@ -6,7 +6,6 @@ class Step(_BaseLayoutHierarchyType): - _parent_path_str = "layout.slider" _path_str = "layout.slider.step" _valid_props = { @@ -335,12 +334,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.slider.Step constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.slider.Step`""" - ) +an instance of :class:`plotly.graph_objs.layout.slider.Step`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/slider/_transition.py b/plotly/graph_objs/layout/slider/_transition.py index 1291ac5d5a9..7fbc3aa2a71 100644 --- a/plotly/graph_objs/layout/slider/_transition.py +++ b/plotly/graph_objs/layout/slider/_transition.py @@ -6,7 +6,6 @@ class Transition(_BaseLayoutHierarchyType): - _parent_path_str = "layout.slider" _path_str = "layout.slider.transition" _valid_props = {"duration", "easing"} @@ -96,12 +95,10 @@ def __init__(self, arg=None, duration=None, easing=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.slider.Transition constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.slider.Transition`""" - ) +an instance of :class:`plotly.graph_objs.layout.slider.Transition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/slider/currentvalue/_font.py b/plotly/graph_objs/layout/slider/currentvalue/_font.py index 8ab76a0c9f7..60743f469af 100644 --- a/plotly/graph_objs/layout/slider/currentvalue/_font.py +++ b/plotly/graph_objs/layout/slider/currentvalue/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.slider.currentvalue" _path_str = "layout.slider.currentvalue.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.slider.currentvalue.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.slider.currentvalue.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.slider.currentvalue.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/smith/_domain.py b/plotly/graph_objs/layout/smith/_domain.py index ddb5ba9d5ab..bbfd6109516 100644 --- a/plotly/graph_objs/layout/smith/_domain.py +++ b/plotly/graph_objs/layout/smith/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.smith" _path_str = "layout.smith.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.smith.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.smith.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.smith.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/smith/_imaginaryaxis.py b/plotly/graph_objs/layout/smith/_imaginaryaxis.py index 175553fd242..85ae07a704a 100644 --- a/plotly/graph_objs/layout/smith/_imaginaryaxis.py +++ b/plotly/graph_objs/layout/smith/_imaginaryaxis.py @@ -6,7 +6,6 @@ class Imaginaryaxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.smith" _path_str = "layout.smith.imaginaryaxis" _valid_props = { @@ -829,12 +828,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.smith.Imaginaryaxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.smith.Imaginaryaxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.smith.Imaginaryaxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/smith/_realaxis.py b/plotly/graph_objs/layout/smith/_realaxis.py index 883ed21151a..7a3bf0e3376 100644 --- a/plotly/graph_objs/layout/smith/_realaxis.py +++ b/plotly/graph_objs/layout/smith/_realaxis.py @@ -6,7 +6,6 @@ class Realaxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.smith" _path_str = "layout.smith.realaxis" _valid_props = { @@ -884,12 +883,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.smith.Realaxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.smith.Realaxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.smith.Realaxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py b/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py index 756bce8eea2..6ecb5527b74 100644 --- a/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py +++ b/plotly/graph_objs/layout/smith/imaginaryaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.smith.imaginaryaxis" _path_str = "layout.smith.imaginaryaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.smith.imaginaryaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.smith.imaginaryaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.smith.imaginaryaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/smith/realaxis/_tickfont.py b/plotly/graph_objs/layout/smith/realaxis/_tickfont.py index 3ad1c81ec86..63d87135873 100644 --- a/plotly/graph_objs/layout/smith/realaxis/_tickfont.py +++ b/plotly/graph_objs/layout/smith/realaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.smith.realaxis" _path_str = "layout.smith.realaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.smith.realaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.smith.realaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.smith.realaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/template/_data.py b/plotly/graph_objs/layout/template/_data.py index 024a996eef1..ef3b5f69395 100644 --- a/plotly/graph_objs/layout/template/_data.py +++ b/plotly/graph_objs/layout/template/_data.py @@ -6,7 +6,6 @@ class Data(_BaseLayoutHierarchyType): - _parent_path_str = "layout.template" _path_str = "layout.template.data" _valid_props = { @@ -1375,12 +1374,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.template.Data constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.template.Data`""" - ) +an instance of :class:`plotly.graph_objs.layout.template.Data`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/_aaxis.py b/plotly/graph_objs/layout/ternary/_aaxis.py index 5e178e303e2..636e68a6b4d 100644 --- a/plotly/graph_objs/layout/ternary/_aaxis.py +++ b/plotly/graph_objs/layout/ternary/_aaxis.py @@ -6,7 +6,6 @@ class Aaxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary" _path_str = "layout.ternary.aaxis" _valid_props = { @@ -1422,12 +1421,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.Aaxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.Aaxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.Aaxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/_baxis.py b/plotly/graph_objs/layout/ternary/_baxis.py index f08cf168885..c6604312fe3 100644 --- a/plotly/graph_objs/layout/ternary/_baxis.py +++ b/plotly/graph_objs/layout/ternary/_baxis.py @@ -6,7 +6,6 @@ class Baxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary" _path_str = "layout.ternary.baxis" _valid_props = { @@ -1422,12 +1421,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.Baxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.Baxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.Baxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/_caxis.py b/plotly/graph_objs/layout/ternary/_caxis.py index 86ae5b62fd7..486cf470efa 100644 --- a/plotly/graph_objs/layout/ternary/_caxis.py +++ b/plotly/graph_objs/layout/ternary/_caxis.py @@ -6,7 +6,6 @@ class Caxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary" _path_str = "layout.ternary.caxis" _valid_props = { @@ -1422,12 +1421,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.Caxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.Caxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.Caxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/_domain.py b/plotly/graph_objs/layout/ternary/_domain.py index 6ac8742647d..ce72c0dfe63 100644 --- a/plotly/graph_objs/layout/ternary/_domain.py +++ b/plotly/graph_objs/layout/ternary/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary" _path_str = "layout.ternary.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.Domain`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py b/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py index 9247b8982cc..2da6f8aaef5 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.aaxis" _path_str = "layout.ternary.aaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.aaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py b/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py index 6991f65432d..e58ffb34d2d 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.aaxis" _path_str = "layout.ternary.aaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.aaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/aaxis/_title.py b/plotly/graph_objs/layout/ternary/aaxis/_title.py index 72d6a03ba2b..3e143c2d045 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/_title.py +++ b/plotly/graph_objs/layout/ternary/aaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.aaxis" _path_str = "layout.ternary.aaxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.aaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/aaxis/title/_font.py b/plotly/graph_objs/layout/ternary/aaxis/title/_font.py index 89c31aa83f3..2f486ce4b79 100644 --- a/plotly/graph_objs/layout/ternary/aaxis/title/_font.py +++ b/plotly/graph_objs/layout/ternary/aaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.aaxis.title" _path_str = "layout.ternary.aaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.aaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.aaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/baxis/_tickfont.py b/plotly/graph_objs/layout/ternary/baxis/_tickfont.py index 0f57e7fdea5..33d4488e8dc 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/baxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.baxis" _path_str = "layout.ternary.baxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.baxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py b/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py index f401787b9ae..7c934f9b708 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/ternary/baxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.baxis" _path_str = "layout.ternary.baxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.baxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/baxis/_title.py b/plotly/graph_objs/layout/ternary/baxis/_title.py index 855b9f41395..e41f7fa7f20 100644 --- a/plotly/graph_objs/layout/ternary/baxis/_title.py +++ b/plotly/graph_objs/layout/ternary/baxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.baxis" _path_str = "layout.ternary.baxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.baxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.baxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/baxis/title/_font.py b/plotly/graph_objs/layout/ternary/baxis/title/_font.py index 254488fb731..596e1c7156b 100644 --- a/plotly/graph_objs/layout/ternary/baxis/title/_font.py +++ b/plotly/graph_objs/layout/ternary/baxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.baxis.title" _path_str = "layout.ternary.baxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.baxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.baxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.baxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/caxis/_tickfont.py b/plotly/graph_objs/layout/ternary/caxis/_tickfont.py index dcc67cae213..9e5adbaf595 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_tickfont.py +++ b/plotly/graph_objs/layout/ternary/caxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.caxis" _path_str = "layout.ternary.caxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.caxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py b/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py index f922d464f38..a0baf4db260 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/ternary/caxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.caxis" _path_str = "layout.ternary.caxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.caxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/caxis/_title.py b/plotly/graph_objs/layout/ternary/caxis/_title.py index 86ddf17acf8..cdb94465796 100644 --- a/plotly/graph_objs/layout/ternary/caxis/_title.py +++ b/plotly/graph_objs/layout/ternary/caxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.caxis" _path_str = "layout.ternary.caxis.title" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.caxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.caxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/ternary/caxis/title/_font.py b/plotly/graph_objs/layout/ternary/caxis/title/_font.py index d6c23fb458e..c4868a72b71 100644 --- a/plotly/graph_objs/layout/ternary/caxis/title/_font.py +++ b/plotly/graph_objs/layout/ternary/caxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.ternary.caxis.title" _path_str = "layout.ternary.caxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.ternary.caxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.ternary.caxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.ternary.caxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/title/_font.py b/plotly/graph_objs/layout/title/_font.py index 188f056599e..969f70e2ff9 100644 --- a/plotly/graph_objs/layout/title/_font.py +++ b/plotly/graph_objs/layout/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.title" _path_str = "layout.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/title/_pad.py b/plotly/graph_objs/layout/title/_pad.py index 620b791ce80..c70910ce151 100644 --- a/plotly/graph_objs/layout/title/_pad.py +++ b/plotly/graph_objs/layout/title/_pad.py @@ -6,7 +6,6 @@ class Pad(_BaseLayoutHierarchyType): - _parent_path_str = "layout.title" _path_str = "layout.title.pad" _valid_props = {"b", "l", "r", "t"} @@ -149,12 +148,10 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.title.Pad constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.title.Pad`""" - ) +an instance of :class:`plotly.graph_objs.layout.title.Pad`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/title/_subtitle.py b/plotly/graph_objs/layout/title/_subtitle.py index 1f6bcc6f97e..fb36d654c82 100644 --- a/plotly/graph_objs/layout/title/_subtitle.py +++ b/plotly/graph_objs/layout/title/_subtitle.py @@ -6,7 +6,6 @@ class Subtitle(_BaseLayoutHierarchyType): - _parent_path_str = "layout.title" _path_str = "layout.title.subtitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.title.Subtitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.title.Subtitle`""" - ) +an instance of :class:`plotly.graph_objs.layout.title.Subtitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/title/subtitle/_font.py b/plotly/graph_objs/layout/title/subtitle/_font.py index 44545cefc2b..7e3781adfac 100644 --- a/plotly/graph_objs/layout/title/subtitle/_font.py +++ b/plotly/graph_objs/layout/title/subtitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.title.subtitle" _path_str = "layout.title.subtitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.title.subtitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.title.subtitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.title.subtitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/updatemenu/_button.py b/plotly/graph_objs/layout/updatemenu/_button.py index 5994d225fe8..2fdb0b48cff 100644 --- a/plotly/graph_objs/layout/updatemenu/_button.py +++ b/plotly/graph_objs/layout/updatemenu/_button.py @@ -6,7 +6,6 @@ class Button(_BaseLayoutHierarchyType): - _parent_path_str = "layout.updatemenu" _path_str = "layout.updatemenu.button" _valid_props = { @@ -340,12 +339,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.updatemenu.Button constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.updatemenu.Button`""" - ) +an instance of :class:`plotly.graph_objs.layout.updatemenu.Button`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/updatemenu/_font.py b/plotly/graph_objs/layout/updatemenu/_font.py index db4ddae0fab..cbab80e20f4 100644 --- a/plotly/graph_objs/layout/updatemenu/_font.py +++ b/plotly/graph_objs/layout/updatemenu/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.updatemenu" _path_str = "layout.updatemenu.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.updatemenu.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.updatemenu.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.updatemenu.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/updatemenu/_pad.py b/plotly/graph_objs/layout/updatemenu/_pad.py index 888590f6d4f..3a641d826b3 100644 --- a/plotly/graph_objs/layout/updatemenu/_pad.py +++ b/plotly/graph_objs/layout/updatemenu/_pad.py @@ -6,7 +6,6 @@ class Pad(_BaseLayoutHierarchyType): - _parent_path_str = "layout.updatemenu" _path_str = "layout.updatemenu.pad" _valid_props = {"b", "l", "r", "t"} @@ -144,12 +143,10 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.updatemenu.Pad constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.updatemenu.Pad`""" - ) +an instance of :class:`plotly.graph_objs.layout.updatemenu.Pad`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_autorangeoptions.py b/plotly/graph_objs/layout/xaxis/_autorangeoptions.py index e21bc167b38..e16114be60a 100644 --- a/plotly/graph_objs/layout/xaxis/_autorangeoptions.py +++ b/plotly/graph_objs/layout/xaxis/_autorangeoptions.py @@ -6,7 +6,6 @@ class Autorangeoptions(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.autorangeoptions" _valid_props = { @@ -199,12 +198,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Autorangeoptions constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Autorangeoptions`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Autorangeoptions`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_minor.py b/plotly/graph_objs/layout/xaxis/_minor.py index b462c42eed4..fbe8b7249aa 100644 --- a/plotly/graph_objs/layout/xaxis/_minor.py +++ b/plotly/graph_objs/layout/xaxis/_minor.py @@ -6,7 +6,6 @@ class Minor(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.minor" _valid_props = { @@ -541,12 +540,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Minor constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Minor`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Minor`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_rangebreak.py b/plotly/graph_objs/layout/xaxis/_rangebreak.py index 9bf3fc5c567..40246fbb631 100644 --- a/plotly/graph_objs/layout/xaxis/_rangebreak.py +++ b/plotly/graph_objs/layout/xaxis/_rangebreak.py @@ -6,7 +6,6 @@ class Rangebreak(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.rangebreak" _valid_props = { @@ -312,12 +311,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Rangebreak constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Rangebreak`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Rangebreak`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_rangeselector.py b/plotly/graph_objs/layout/xaxis/_rangeselector.py index d97090d1396..22404bc2b83 100644 --- a/plotly/graph_objs/layout/xaxis/_rangeselector.py +++ b/plotly/graph_objs/layout/xaxis/_rangeselector.py @@ -6,7 +6,6 @@ class Rangeselector(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.rangeselector" _valid_props = { @@ -404,12 +403,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Rangeselector constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Rangeselector`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Rangeselector`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_rangeslider.py b/plotly/graph_objs/layout/xaxis/_rangeslider.py index 6f374e39bf3..9d30a4d37d7 100644 --- a/plotly/graph_objs/layout/xaxis/_rangeslider.py +++ b/plotly/graph_objs/layout/xaxis/_rangeslider.py @@ -6,7 +6,6 @@ class Rangeslider(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.rangeslider" _valid_props = { @@ -292,12 +291,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Rangeslider constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Rangeslider`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Rangeslider`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_tickfont.py b/plotly/graph_objs/layout/xaxis/_tickfont.py index 5576d9de4ea..3df643ef781 100644 --- a/plotly/graph_objs/layout/xaxis/_tickfont.py +++ b/plotly/graph_objs/layout/xaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_tickformatstop.py b/plotly/graph_objs/layout/xaxis/_tickformatstop.py index d575d0c9d83..6941096533d 100644 --- a/plotly/graph_objs/layout/xaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/xaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/_title.py b/plotly/graph_objs/layout/xaxis/_title.py index 0052eee8014..a517a226f2a 100644 --- a/plotly/graph_objs/layout/xaxis/_title.py +++ b/plotly/graph_objs/layout/xaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis" _path_str = "layout.xaxis.title" _valid_props = {"font", "standoff", "text"} @@ -136,12 +135,10 @@ def __init__(self, arg=None, font=None, standoff=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/rangeselector/_button.py b/plotly/graph_objs/layout/xaxis/rangeselector/_button.py index 524bb0adbe3..adfa4677348 100644 --- a/plotly/graph_objs/layout/xaxis/rangeselector/_button.py +++ b/plotly/graph_objs/layout/xaxis/rangeselector/_button.py @@ -6,7 +6,6 @@ class Button(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis.rangeselector" _path_str = "layout.xaxis.rangeselector.button" _valid_props = { @@ -300,12 +299,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.rangeselector.Button constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.rangeselector.Button`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.rangeselector.Button`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/rangeselector/_font.py b/plotly/graph_objs/layout/xaxis/rangeselector/_font.py index 7b4a2c2cbd4..b594067052c 100644 --- a/plotly/graph_objs/layout/xaxis/rangeselector/_font.py +++ b/plotly/graph_objs/layout/xaxis/rangeselector/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis.rangeselector" _path_str = "layout.xaxis.rangeselector.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.rangeselector.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.rangeselector.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.rangeselector.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py b/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py index e35c040a1f3..1ce88a5807f 100644 --- a/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py +++ b/plotly/graph_objs/layout/xaxis/rangeslider/_yaxis.py @@ -6,7 +6,6 @@ class YAxis(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis.rangeslider" _path_str = "layout.xaxis.rangeslider.yaxis" _valid_props = {"range", "rangemode"} @@ -105,12 +104,10 @@ def __init__(self, arg=None, range=None, rangemode=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.rangeslider.YAxis constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.rangeslider.YAxis`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.rangeslider.YAxis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/xaxis/title/_font.py b/plotly/graph_objs/layout/xaxis/title/_font.py index 76322586cf2..b94335107f2 100644 --- a/plotly/graph_objs/layout/xaxis/title/_font.py +++ b/plotly/graph_objs/layout/xaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.xaxis.title" _path_str = "layout.xaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.xaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.xaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.xaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/_autorangeoptions.py b/plotly/graph_objs/layout/yaxis/_autorangeoptions.py index bbb50bdf806..722feb1d2f7 100644 --- a/plotly/graph_objs/layout/yaxis/_autorangeoptions.py +++ b/plotly/graph_objs/layout/yaxis/_autorangeoptions.py @@ -6,7 +6,6 @@ class Autorangeoptions(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis" _path_str = "layout.yaxis.autorangeoptions" _valid_props = { @@ -199,12 +198,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.Autorangeoptions constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.Autorangeoptions`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.Autorangeoptions`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/_minor.py b/plotly/graph_objs/layout/yaxis/_minor.py index f621a191f1d..c718a605acc 100644 --- a/plotly/graph_objs/layout/yaxis/_minor.py +++ b/plotly/graph_objs/layout/yaxis/_minor.py @@ -6,7 +6,6 @@ class Minor(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis" _path_str = "layout.yaxis.minor" _valid_props = { @@ -541,12 +540,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.Minor constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.Minor`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.Minor`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/_rangebreak.py b/plotly/graph_objs/layout/yaxis/_rangebreak.py index 2c879926433..1816985f380 100644 --- a/plotly/graph_objs/layout/yaxis/_rangebreak.py +++ b/plotly/graph_objs/layout/yaxis/_rangebreak.py @@ -6,7 +6,6 @@ class Rangebreak(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis" _path_str = "layout.yaxis.rangebreak" _valid_props = { @@ -312,12 +311,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.Rangebreak constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.Rangebreak`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.Rangebreak`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/_tickfont.py b/plotly/graph_objs/layout/yaxis/_tickfont.py index 0a379c2a9ea..7a573843b34 100644 --- a/plotly/graph_objs/layout/yaxis/_tickfont.py +++ b/plotly/graph_objs/layout/yaxis/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis" _path_str = "layout.yaxis.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/_tickformatstop.py b/plotly/graph_objs/layout/yaxis/_tickformatstop.py index 67495db3253..40314fda7a8 100644 --- a/plotly/graph_objs/layout/yaxis/_tickformatstop.py +++ b/plotly/graph_objs/layout/yaxis/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis" _path_str = "layout.yaxis.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/_title.py b/plotly/graph_objs/layout/yaxis/_title.py index 6b5273afb83..4bb8d4f218e 100644 --- a/plotly/graph_objs/layout/yaxis/_title.py +++ b/plotly/graph_objs/layout/yaxis/_title.py @@ -6,7 +6,6 @@ class Title(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis" _path_str = "layout.yaxis.title" _valid_props = {"font", "standoff", "text"} @@ -136,12 +135,10 @@ def __init__(self, arg=None, font=None, standoff=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.Title`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/layout/yaxis/title/_font.py b/plotly/graph_objs/layout/yaxis/title/_font.py index c9f4cf075e9..b04cd984b1c 100644 --- a/plotly/graph_objs/layout/yaxis/title/_font.py +++ b/plotly/graph_objs/layout/yaxis/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseLayoutHierarchyType): - _parent_path_str = "layout.yaxis.title" _path_str = "layout.yaxis.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.layout.yaxis.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.layout.yaxis.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.layout.yaxis.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_colorbar.py b/plotly/graph_objs/mesh3d/_colorbar.py index 143cc846a27..6e23c41709f 100644 --- a/plotly/graph_objs/mesh3d/_colorbar.py +++ b/plotly/graph_objs/mesh3d/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_contour.py b/plotly/graph_objs/mesh3d/_contour.py index 25c2671346a..b55625a5413 100644 --- a/plotly/graph_objs/mesh3d/_contour.py +++ b/plotly/graph_objs/mesh3d/_contour.py @@ -6,7 +6,6 @@ class Contour(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.contour" _valid_props = {"color", "show", "width"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.Contour constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.Contour`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.Contour`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_hoverlabel.py b/plotly/graph_objs/mesh3d/_hoverlabel.py index 9ef3a060695..dfcd90cb244 100644 --- a/plotly/graph_objs/mesh3d/_hoverlabel.py +++ b/plotly/graph_objs/mesh3d/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_legendgrouptitle.py b/plotly/graph_objs/mesh3d/_legendgrouptitle.py index b0eb12df69e..19ae382d553 100644 --- a/plotly/graph_objs/mesh3d/_legendgrouptitle.py +++ b/plotly/graph_objs/mesh3d/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_lighting.py b/plotly/graph_objs/mesh3d/_lighting.py index a8568627fdc..18a57ff7e34 100644 --- a/plotly/graph_objs/mesh3d/_lighting.py +++ b/plotly/graph_objs/mesh3d/_lighting.py @@ -6,7 +6,6 @@ class Lighting(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.lighting" _valid_props = { @@ -242,12 +241,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.Lighting constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.Lighting`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.Lighting`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_lightposition.py b/plotly/graph_objs/mesh3d/_lightposition.py index b30854bd8cf..00b35d6945e 100644 --- a/plotly/graph_objs/mesh3d/_lightposition.py +++ b/plotly/graph_objs/mesh3d/_lightposition.py @@ -6,7 +6,6 @@ class Lightposition(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.lightposition" _valid_props = {"x", "y", "z"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.Lightposition constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.Lightposition`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.Lightposition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/_stream.py b/plotly/graph_objs/mesh3d/_stream.py index be3106ca687..b3b00d69d04 100644 --- a/plotly/graph_objs/mesh3d/_stream.py +++ b/plotly/graph_objs/mesh3d/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d" _path_str = "mesh3d.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.Stream`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/colorbar/_tickfont.py b/plotly/graph_objs/mesh3d/colorbar/_tickfont.py index d5f567e982f..7aaacd1e8a8 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_tickfont.py +++ b/plotly/graph_objs/mesh3d/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d.colorbar" _path_str = "mesh3d.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py b/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py index 0998ddfab21..bb5fe240af0 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/mesh3d/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d.colorbar" _path_str = "mesh3d.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/colorbar/_title.py b/plotly/graph_objs/mesh3d/colorbar/_title.py index b5ea3e82abc..19426d4f399 100644 --- a/plotly/graph_objs/mesh3d/colorbar/_title.py +++ b/plotly/graph_objs/mesh3d/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d.colorbar" _path_str = "mesh3d.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/colorbar/title/_font.py b/plotly/graph_objs/mesh3d/colorbar/title/_font.py index 47309f868bc..f4dd6a9b434 100644 --- a/plotly/graph_objs/mesh3d/colorbar/title/_font.py +++ b/plotly/graph_objs/mesh3d/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d.colorbar.title" _path_str = "mesh3d.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/hoverlabel/_font.py b/plotly/graph_objs/mesh3d/hoverlabel/_font.py index 71a531c97b9..09288337fd1 100644 --- a/plotly/graph_objs/mesh3d/hoverlabel/_font.py +++ b/plotly/graph_objs/mesh3d/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d.hoverlabel" _path_str = "mesh3d.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py b/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py index c7a66a7c0e6..266ef98611a 100644 --- a/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py +++ b/plotly/graph_objs/mesh3d/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "mesh3d.legendgrouptitle" _path_str = "mesh3d.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.mesh3d.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.mesh3d.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.mesh3d.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/_decreasing.py b/plotly/graph_objs/ohlc/_decreasing.py index fe95dae848a..bed49343199 100644 --- a/plotly/graph_objs/ohlc/_decreasing.py +++ b/plotly/graph_objs/ohlc/_decreasing.py @@ -6,7 +6,6 @@ class Decreasing(_BaseTraceHierarchyType): - _parent_path_str = "ohlc" _path_str = "ohlc.decreasing" _valid_props = {"line"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.Decreasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.Decreasing`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.Decreasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/_hoverlabel.py b/plotly/graph_objs/ohlc/_hoverlabel.py index 73117e09cec..8e0c8eb4958 100644 --- a/plotly/graph_objs/ohlc/_hoverlabel.py +++ b/plotly/graph_objs/ohlc/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "ohlc" _path_str = "ohlc.hoverlabel" _valid_props = { @@ -345,12 +344,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/_increasing.py b/plotly/graph_objs/ohlc/_increasing.py index bd218e3a9ed..77ff3e42697 100644 --- a/plotly/graph_objs/ohlc/_increasing.py +++ b/plotly/graph_objs/ohlc/_increasing.py @@ -6,7 +6,6 @@ class Increasing(_BaseTraceHierarchyType): - _parent_path_str = "ohlc" _path_str = "ohlc.increasing" _valid_props = {"line"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.Increasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.Increasing`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.Increasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/_legendgrouptitle.py b/plotly/graph_objs/ohlc/_legendgrouptitle.py index abd8266b8f1..b21b4403954 100644 --- a/plotly/graph_objs/ohlc/_legendgrouptitle.py +++ b/plotly/graph_objs/ohlc/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "ohlc" _path_str = "ohlc.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/_line.py b/plotly/graph_objs/ohlc/_line.py index 5e436039101..0090896dd64 100644 --- a/plotly/graph_objs/ohlc/_line.py +++ b/plotly/graph_objs/ohlc/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "ohlc" _path_str = "ohlc.line" _valid_props = {"dash", "width"} @@ -110,12 +109,10 @@ def __init__(self, arg=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.Line`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/_stream.py b/plotly/graph_objs/ohlc/_stream.py index 97b72d8acb3..5e753fbde7d 100644 --- a/plotly/graph_objs/ohlc/_stream.py +++ b/plotly/graph_objs/ohlc/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "ohlc" _path_str = "ohlc.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.Stream`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/decreasing/_line.py b/plotly/graph_objs/ohlc/decreasing/_line.py index a4e4cb96403..55ec4c4f5e3 100644 --- a/plotly/graph_objs/ohlc/decreasing/_line.py +++ b/plotly/graph_objs/ohlc/decreasing/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "ohlc.decreasing" _path_str = "ohlc.decreasing.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.decreasing.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.decreasing.Line`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.decreasing.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/hoverlabel/_font.py b/plotly/graph_objs/ohlc/hoverlabel/_font.py index 9aa914b7444..de3f8707711 100644 --- a/plotly/graph_objs/ohlc/hoverlabel/_font.py +++ b/plotly/graph_objs/ohlc/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "ohlc.hoverlabel" _path_str = "ohlc.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/increasing/_line.py b/plotly/graph_objs/ohlc/increasing/_line.py index 9a23068139b..567f9cf0167 100644 --- a/plotly/graph_objs/ohlc/increasing/_line.py +++ b/plotly/graph_objs/ohlc/increasing/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "ohlc.increasing" _path_str = "ohlc.increasing.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.increasing.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.increasing.Line`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.increasing.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/ohlc/legendgrouptitle/_font.py b/plotly/graph_objs/ohlc/legendgrouptitle/_font.py index 7fd2fd80916..7d1cc80288c 100644 --- a/plotly/graph_objs/ohlc/legendgrouptitle/_font.py +++ b/plotly/graph_objs/ohlc/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "ohlc.legendgrouptitle" _path_str = "ohlc.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.ohlc.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.ohlc.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.ohlc.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_dimension.py b/plotly/graph_objs/parcats/_dimension.py index 38127e68866..17a67da7ee3 100644 --- a/plotly/graph_objs/parcats/_dimension.py +++ b/plotly/graph_objs/parcats/_dimension.py @@ -6,7 +6,6 @@ class Dimension(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.dimension" _valid_props = { @@ -362,12 +361,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Dimension constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Dimension`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Dimension`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_domain.py b/plotly/graph_objs/parcats/_domain.py index e8a75a22914..6699f7bb108 100644 --- a/plotly/graph_objs/parcats/_domain.py +++ b/plotly/graph_objs/parcats/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Domain`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_labelfont.py b/plotly/graph_objs/parcats/_labelfont.py index f13f98f24db..8f3bd58e3ac 100644 --- a/plotly/graph_objs/parcats/_labelfont.py +++ b/plotly/graph_objs/parcats/_labelfont.py @@ -6,7 +6,6 @@ class Labelfont(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.labelfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Labelfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Labelfont`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Labelfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_legendgrouptitle.py b/plotly/graph_objs/parcats/_legendgrouptitle.py index 315048a77f2..180f8f8b4cd 100644 --- a/plotly/graph_objs/parcats/_legendgrouptitle.py +++ b/plotly/graph_objs/parcats/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_line.py b/plotly/graph_objs/parcats/_line.py index 787cfc3e65d..72b01bc9f06 100644 --- a/plotly/graph_objs/parcats/_line.py +++ b/plotly/graph_objs/parcats/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.line" _valid_props = { @@ -655,12 +654,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Line`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_stream.py b/plotly/graph_objs/parcats/_stream.py index 04cd076845b..8d0707800b6 100644 --- a/plotly/graph_objs/parcats/_stream.py +++ b/plotly/graph_objs/parcats/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Stream`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/_tickfont.py b/plotly/graph_objs/parcats/_tickfont.py index 5d0f9a8fbe4..630d6dc72c9 100644 --- a/plotly/graph_objs/parcats/_tickfont.py +++ b/plotly/graph_objs/parcats/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "parcats" _path_str = "parcats.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.parcats.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/legendgrouptitle/_font.py b/plotly/graph_objs/parcats/legendgrouptitle/_font.py index f982fc928c5..1f0135986ea 100644 --- a/plotly/graph_objs/parcats/legendgrouptitle/_font.py +++ b/plotly/graph_objs/parcats/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "parcats.legendgrouptitle" _path_str = "parcats.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.parcats.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/line/_colorbar.py b/plotly/graph_objs/parcats/line/_colorbar.py index 09a32aa4d6a..453686b028b 100644 --- a/plotly/graph_objs/parcats/line/_colorbar.py +++ b/plotly/graph_objs/parcats/line/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "parcats.line" _path_str = "parcats.line.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.line.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.line.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.parcats.line.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/line/colorbar/_tickfont.py b/plotly/graph_objs/parcats/line/colorbar/_tickfont.py index fe9ee34895d..4f92e44d6d5 100644 --- a/plotly/graph_objs/parcats/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/parcats/line/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "parcats.line.colorbar" _path_str = "parcats.line.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.line.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py b/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py index 2f111b5e7a2..fc0ffbf2c83 100644 --- a/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/parcats/line/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "parcats.line.colorbar" _path_str = "parcats.line.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.line.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/line/colorbar/_title.py b/plotly/graph_objs/parcats/line/colorbar/_title.py index c1f17647d62..ec906492ca2 100644 --- a/plotly/graph_objs/parcats/line/colorbar/_title.py +++ b/plotly/graph_objs/parcats/line/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "parcats.line.colorbar" _path_str = "parcats.line.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.line.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.parcats.line.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcats/line/colorbar/title/_font.py b/plotly/graph_objs/parcats/line/colorbar/title/_font.py index 24804f764f0..37698b17c3f 100644 --- a/plotly/graph_objs/parcats/line/colorbar/title/_font.py +++ b/plotly/graph_objs/parcats/line/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "parcats.line.colorbar.title" _path_str = "parcats.line.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcats.line.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcats.line.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.parcats.line.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_dimension.py b/plotly/graph_objs/parcoords/_dimension.py index 6ce8184be89..0c28911e144 100644 --- a/plotly/graph_objs/parcoords/_dimension.py +++ b/plotly/graph_objs/parcoords/_dimension.py @@ -6,7 +6,6 @@ class Dimension(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.dimension" _valid_props = { @@ -521,12 +520,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Dimension constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Dimension`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Dimension`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_domain.py b/plotly/graph_objs/parcoords/_domain.py index 4879e9ea609..a1b3f57bcd5 100644 --- a/plotly/graph_objs/parcoords/_domain.py +++ b/plotly/graph_objs/parcoords/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Domain`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_labelfont.py b/plotly/graph_objs/parcoords/_labelfont.py index dd5ff335a89..b73fe482fb1 100644 --- a/plotly/graph_objs/parcoords/_labelfont.py +++ b/plotly/graph_objs/parcoords/_labelfont.py @@ -6,7 +6,6 @@ class Labelfont(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.labelfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Labelfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Labelfont`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Labelfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_legendgrouptitle.py b/plotly/graph_objs/parcoords/_legendgrouptitle.py index 95eaa05aa1c..67462f33cbb 100644 --- a/plotly/graph_objs/parcoords/_legendgrouptitle.py +++ b/plotly/graph_objs/parcoords/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_line.py b/plotly/graph_objs/parcoords/_line.py index 5a0e73c0480..82478ae9b0d 100644 --- a/plotly/graph_objs/parcoords/_line.py +++ b/plotly/graph_objs/parcoords/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.line" _valid_props = { @@ -517,12 +516,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Line`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_rangefont.py b/plotly/graph_objs/parcoords/_rangefont.py index 0c9513b3b89..1e19ceff70f 100644 --- a/plotly/graph_objs/parcoords/_rangefont.py +++ b/plotly/graph_objs/parcoords/_rangefont.py @@ -6,7 +6,6 @@ class Rangefont(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.rangefont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Rangefont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Rangefont`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Rangefont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_stream.py b/plotly/graph_objs/parcoords/_stream.py index 2e5d68951cc..a3753b10e52 100644 --- a/plotly/graph_objs/parcoords/_stream.py +++ b/plotly/graph_objs/parcoords/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Stream`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_tickfont.py b/plotly/graph_objs/parcoords/_tickfont.py index 356c288b207..676f0ada3fb 100644 --- a/plotly/graph_objs/parcoords/_tickfont.py +++ b/plotly/graph_objs/parcoords/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/_unselected.py b/plotly/graph_objs/parcoords/_unselected.py index c7d5c2d9e46..576feb6c24d 100644 --- a/plotly/graph_objs/parcoords/_unselected.py +++ b/plotly/graph_objs/parcoords/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "parcoords" _path_str = "parcoords.unselected" _valid_props = {"line"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/legendgrouptitle/_font.py b/plotly/graph_objs/parcoords/legendgrouptitle/_font.py index 4e748d86d37..32fda37d17b 100644 --- a/plotly/graph_objs/parcoords/legendgrouptitle/_font.py +++ b/plotly/graph_objs/parcoords/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.legendgrouptitle" _path_str = "parcoords.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/line/_colorbar.py b/plotly/graph_objs/parcoords/line/_colorbar.py index 1d8436f755b..43cf23b9682 100644 --- a/plotly/graph_objs/parcoords/line/_colorbar.py +++ b/plotly/graph_objs/parcoords/line/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.line" _path_str = "parcoords.line.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.line.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.line.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.line.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py b/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py index b3988ca49d5..8737a56ecea 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.line.colorbar" _path_str = "parcoords.line.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.line.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py b/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py index b8e0455d480..0cbc6452887 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.line.colorbar" _path_str = "parcoords.line.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.line.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/line/colorbar/_title.py b/plotly/graph_objs/parcoords/line/colorbar/_title.py index fbaf42775e4..caa26b02d39 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/_title.py +++ b/plotly/graph_objs/parcoords/line/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.line.colorbar" _path_str = "parcoords.line.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.line.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/line/colorbar/title/_font.py b/plotly/graph_objs/parcoords/line/colorbar/title/_font.py index 7cb19cb80aa..d09e6f7d7c2 100644 --- a/plotly/graph_objs/parcoords/line/colorbar/title/_font.py +++ b/plotly/graph_objs/parcoords/line/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.line.colorbar.title" _path_str = "parcoords.line.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.line.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.line.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/parcoords/unselected/_line.py b/plotly/graph_objs/parcoords/unselected/_line.py index fa0f67e9eea..0f340942f79 100644 --- a/plotly/graph_objs/parcoords/unselected/_line.py +++ b/plotly/graph_objs/parcoords/unselected/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "parcoords.unselected" _path_str = "parcoords.unselected.line" _valid_props = {"color", "opacity"} @@ -102,12 +101,10 @@ def __init__(self, arg=None, color=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.parcoords.unselected.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.parcoords.unselected.Line`""" - ) +an instance of :class:`plotly.graph_objs.parcoords.unselected.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_domain.py b/plotly/graph_objs/pie/_domain.py index fe923ad9111..fd3dee6a066 100644 --- a/plotly/graph_objs/pie/_domain.py +++ b/plotly/graph_objs/pie/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.domain" _valid_props = {"column", "row", "x", "y"} @@ -153,12 +152,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Domain`""" - ) +an instance of :class:`plotly.graph_objs.pie.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_hoverlabel.py b/plotly/graph_objs/pie/_hoverlabel.py index 9368daed1f1..674f659d50c 100644 --- a/plotly/graph_objs/pie/_hoverlabel.py +++ b/plotly/graph_objs/pie/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.pie.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_insidetextfont.py b/plotly/graph_objs/pie/_insidetextfont.py index 89f6e2b4018..cf59dbe01c7 100644 --- a/plotly/graph_objs/pie/_insidetextfont.py +++ b/plotly/graph_objs/pie/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.pie.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_legendgrouptitle.py b/plotly/graph_objs/pie/_legendgrouptitle.py index 43c4f3fcfa5..ff1230c89ef 100644 --- a/plotly/graph_objs/pie/_legendgrouptitle.py +++ b/plotly/graph_objs/pie/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.pie.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_marker.py b/plotly/graph_objs/pie/_marker.py index eab96c8ee9a..49f04435733 100644 --- a/plotly/graph_objs/pie/_marker.py +++ b/plotly/graph_objs/pie/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.marker" _valid_props = {"colors", "colorssrc", "line", "pattern"} @@ -145,12 +144,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Marker`""" - ) +an instance of :class:`plotly.graph_objs.pie.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_outsidetextfont.py b/plotly/graph_objs/pie/_outsidetextfont.py index fccb71d800b..dac483e3e76 100644 --- a/plotly/graph_objs/pie/_outsidetextfont.py +++ b/plotly/graph_objs/pie/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.outsidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.pie.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_stream.py b/plotly/graph_objs/pie/_stream.py index e9de4785dd5..d8187aaea60 100644 --- a/plotly/graph_objs/pie/_stream.py +++ b/plotly/graph_objs/pie/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Stream`""" - ) +an instance of :class:`plotly.graph_objs.pie.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_textfont.py b/plotly/graph_objs/pie/_textfont.py index 68b2f631455..3ad5c97e6c5 100644 --- a/plotly/graph_objs/pie/_textfont.py +++ b/plotly/graph_objs/pie/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.textfont" _valid_props = { @@ -557,12 +556,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.pie.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/_title.py b/plotly/graph_objs/pie/_title.py index f754e4d8ccd..84582a55006 100644 --- a/plotly/graph_objs/pie/_title.py +++ b/plotly/graph_objs/pie/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "pie" _path_str = "pie.title" _valid_props = {"font", "position", "text"} @@ -117,12 +116,10 @@ def __init__(self, arg=None, font=None, position=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.Title`""" - ) +an instance of :class:`plotly.graph_objs.pie.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/hoverlabel/_font.py b/plotly/graph_objs/pie/hoverlabel/_font.py index 1e12e5233ef..556bfc2a818 100644 --- a/plotly/graph_objs/pie/hoverlabel/_font.py +++ b/plotly/graph_objs/pie/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "pie.hoverlabel" _path_str = "pie.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.pie.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/legendgrouptitle/_font.py b/plotly/graph_objs/pie/legendgrouptitle/_font.py index a0c9de34050..fff0d0d8993 100644 --- a/plotly/graph_objs/pie/legendgrouptitle/_font.py +++ b/plotly/graph_objs/pie/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "pie.legendgrouptitle" _path_str = "pie.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.pie.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/marker/_line.py b/plotly/graph_objs/pie/marker/_line.py index c43366e7885..3fdf9ce39ed 100644 --- a/plotly/graph_objs/pie/marker/_line.py +++ b/plotly/graph_objs/pie/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "pie.marker" _path_str = "pie.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -145,12 +144,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.pie.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/marker/_pattern.py b/plotly/graph_objs/pie/marker/_pattern.py index d9c7faf89bf..db8b13e3a09 100644 --- a/plotly/graph_objs/pie/marker/_pattern.py +++ b/plotly/graph_objs/pie/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "pie.marker" _path_str = "pie.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.pie.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/pie/title/_font.py b/plotly/graph_objs/pie/title/_font.py index bf865b3ac84..abe938653cb 100644 --- a/plotly/graph_objs/pie/title/_font.py +++ b/plotly/graph_objs/pie/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "pie.title" _path_str = "pie.title.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.pie.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.pie.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.pie.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_domain.py b/plotly/graph_objs/sankey/_domain.py index 37548ccf199..c86377e3b21 100644 --- a/plotly/graph_objs/sankey/_domain.py +++ b/plotly/graph_objs/sankey/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.domain" _valid_props = {"column", "row", "x", "y"} @@ -154,12 +153,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Domain`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_hoverlabel.py b/plotly/graph_objs/sankey/_hoverlabel.py index e423be83f0d..32d95a9532c 100644 --- a/plotly/graph_objs/sankey/_hoverlabel.py +++ b/plotly/graph_objs/sankey/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_legendgrouptitle.py b/plotly/graph_objs/sankey/_legendgrouptitle.py index eb4749f2454..8f024639ac4 100644 --- a/plotly/graph_objs/sankey/_legendgrouptitle.py +++ b/plotly/graph_objs/sankey/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_link.py b/plotly/graph_objs/sankey/_link.py index da4af0cbd8d..d436fd81cfe 100644 --- a/plotly/graph_objs/sankey/_link.py +++ b/plotly/graph_objs/sankey/_link.py @@ -6,7 +6,6 @@ class Link(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.link" _valid_props = { @@ -751,12 +750,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Link constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Link`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Link`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_node.py b/plotly/graph_objs/sankey/_node.py index d3e4c21b6e5..1e05e7a4829 100644 --- a/plotly/graph_objs/sankey/_node.py +++ b/plotly/graph_objs/sankey/_node.py @@ -6,7 +6,6 @@ class Node(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.node" _valid_props = { @@ -652,12 +651,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Node constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Node`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Node`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_stream.py b/plotly/graph_objs/sankey/_stream.py index 9c8f1046a93..542d7c1f8ea 100644 --- a/plotly/graph_objs/sankey/_stream.py +++ b/plotly/graph_objs/sankey/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Stream`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/_textfont.py b/plotly/graph_objs/sankey/_textfont.py index 3c777acf412..d052501252e 100644 --- a/plotly/graph_objs/sankey/_textfont.py +++ b/plotly/graph_objs/sankey/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "sankey" _path_str = "sankey.textfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.sankey.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/hoverlabel/_font.py b/plotly/graph_objs/sankey/hoverlabel/_font.py index 8a98d0f9537..3d9d60ff5fd 100644 --- a/plotly/graph_objs/sankey/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sankey.hoverlabel" _path_str = "sankey.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.sankey.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/legendgrouptitle/_font.py b/plotly/graph_objs/sankey/legendgrouptitle/_font.py index 04430041b74..28879581709 100644 --- a/plotly/graph_objs/sankey/legendgrouptitle/_font.py +++ b/plotly/graph_objs/sankey/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sankey.legendgrouptitle" _path_str = "sankey.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.sankey.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/link/_colorscale.py b/plotly/graph_objs/sankey/link/_colorscale.py index a3bf41cc0e6..61d0934d00d 100644 --- a/plotly/graph_objs/sankey/link/_colorscale.py +++ b/plotly/graph_objs/sankey/link/_colorscale.py @@ -6,7 +6,6 @@ class Colorscale(_BaseTraceHierarchyType): - _parent_path_str = "sankey.link" _path_str = "sankey.link.colorscale" _valid_props = {"cmax", "cmin", "colorscale", "label", "name", "templateitemname"} @@ -287,12 +286,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.link.Colorscale constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.link.Colorscale`""" - ) +an instance of :class:`plotly.graph_objs.sankey.link.Colorscale`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/link/_hoverlabel.py b/plotly/graph_objs/sankey/link/_hoverlabel.py index 763f566f9e8..e5684a2ee36 100644 --- a/plotly/graph_objs/sankey/link/_hoverlabel.py +++ b/plotly/graph_objs/sankey/link/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "sankey.link" _path_str = "sankey.link.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.link.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.link.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.sankey.link.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/link/_line.py b/plotly/graph_objs/sankey/link/_line.py index 1029e59f1eb..feb0d9edcc4 100644 --- a/plotly/graph_objs/sankey/link/_line.py +++ b/plotly/graph_objs/sankey/link/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "sankey.link" _path_str = "sankey.link.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -145,12 +144,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.link.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.link.Line`""" - ) +an instance of :class:`plotly.graph_objs.sankey.link.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/link/hoverlabel/_font.py b/plotly/graph_objs/sankey/link/hoverlabel/_font.py index 277da0b1e15..e96c178add3 100644 --- a/plotly/graph_objs/sankey/link/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/link/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sankey.link.hoverlabel" _path_str = "sankey.link.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.link.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.link.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.sankey.link.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/node/_hoverlabel.py b/plotly/graph_objs/sankey/node/_hoverlabel.py index 5dfa29f8ece..22a65902599 100644 --- a/plotly/graph_objs/sankey/node/_hoverlabel.py +++ b/plotly/graph_objs/sankey/node/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "sankey.node" _path_str = "sankey.node.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.node.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.node.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.sankey.node.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/node/_line.py b/plotly/graph_objs/sankey/node/_line.py index 3c2162637eb..d3855f241a0 100644 --- a/plotly/graph_objs/sankey/node/_line.py +++ b/plotly/graph_objs/sankey/node/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "sankey.node" _path_str = "sankey.node.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -145,12 +144,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.node.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.node.Line`""" - ) +an instance of :class:`plotly.graph_objs.sankey.node.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sankey/node/hoverlabel/_font.py b/plotly/graph_objs/sankey/node/hoverlabel/_font.py index 03adfe1ca6b..545db572858 100644 --- a/plotly/graph_objs/sankey/node/hoverlabel/_font.py +++ b/plotly/graph_objs/sankey/node/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sankey.node.hoverlabel" _path_str = "sankey.node.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sankey.node.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sankey.node.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.sankey.node.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_error_x.py b/plotly/graph_objs/scatter/_error_x.py index d6d10a16c2e..b312a56e389 100644 --- a/plotly/graph_objs/scatter/_error_x.py +++ b/plotly/graph_objs/scatter/_error_x.py @@ -6,7 +6,6 @@ class ErrorX(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.error_x" _valid_props = { @@ -477,12 +476,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.ErrorX constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.ErrorX`""" - ) +an instance of :class:`plotly.graph_objs.scatter.ErrorX`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_error_y.py b/plotly/graph_objs/scatter/_error_y.py index 16271b02009..a5a8228267a 100644 --- a/plotly/graph_objs/scatter/_error_y.py +++ b/plotly/graph_objs/scatter/_error_y.py @@ -6,7 +6,6 @@ class ErrorY(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.error_y" _valid_props = { @@ -455,12 +454,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.ErrorY constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.ErrorY`""" - ) +an instance of :class:`plotly.graph_objs.scatter.ErrorY`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_fillgradient.py b/plotly/graph_objs/scatter/_fillgradient.py index 67cc2970d0b..1df626d968e 100644 --- a/plotly/graph_objs/scatter/_fillgradient.py +++ b/plotly/graph_objs/scatter/_fillgradient.py @@ -6,7 +6,6 @@ class Fillgradient(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.fillgradient" _valid_props = {"colorscale", "start", "stop", "type"} @@ -212,12 +211,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Fillgradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Fillgradient`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Fillgradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_fillpattern.py b/plotly/graph_objs/scatter/_fillpattern.py index e8a7fdda8be..f333974bca2 100644 --- a/plotly/graph_objs/scatter/_fillpattern.py +++ b/plotly/graph_objs/scatter/_fillpattern.py @@ -6,7 +6,6 @@ class Fillpattern(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.fillpattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Fillpattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Fillpattern`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Fillpattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_hoverlabel.py b/plotly/graph_objs/scatter/_hoverlabel.py index e0540990c17..e7ff803fe41 100644 --- a/plotly/graph_objs/scatter/_hoverlabel.py +++ b/plotly/graph_objs/scatter/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_legendgrouptitle.py b/plotly/graph_objs/scatter/_legendgrouptitle.py index 02b97dbb060..fabbee30f82 100644 --- a/plotly/graph_objs/scatter/_legendgrouptitle.py +++ b/plotly/graph_objs/scatter/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_line.py b/plotly/graph_objs/scatter/_line.py index 13a1d123461..872923db544 100644 --- a/plotly/graph_objs/scatter/_line.py +++ b/plotly/graph_objs/scatter/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.line" _valid_props = { @@ -291,12 +290,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_marker.py b/plotly/graph_objs/scatter/_marker.py index 1098f885e6c..3543558763a 100644 --- a/plotly/graph_objs/scatter/_marker.py +++ b/plotly/graph_objs/scatter/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.marker" _valid_props = { @@ -1090,12 +1089,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_selected.py b/plotly/graph_objs/scatter/_selected.py index bf5178f097a..d8f7e1d44d3 100644 --- a/plotly/graph_objs/scatter/_selected.py +++ b/plotly/graph_objs/scatter/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_stream.py b/plotly/graph_objs/scatter/_stream.py index 79163cc0fa2..6ba740d92e7 100644 --- a/plotly/graph_objs/scatter/_stream.py +++ b/plotly/graph_objs/scatter/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_textfont.py b/plotly/graph_objs/scatter/_textfont.py index ed354516def..79576294342 100644 --- a/plotly/graph_objs/scatter/_textfont.py +++ b/plotly/graph_objs/scatter/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/_unselected.py b/plotly/graph_objs/scatter/_unselected.py index a8c291175f5..e96e33b8cb1 100644 --- a/plotly/graph_objs/scatter/_unselected.py +++ b/plotly/graph_objs/scatter/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scatter" _path_str = "scatter.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scatter.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/hoverlabel/_font.py b/plotly/graph_objs/scatter/hoverlabel/_font.py index a09cf0bbae8..1abdf82e9fb 100644 --- a/plotly/graph_objs/scatter/hoverlabel/_font.py +++ b/plotly/graph_objs/scatter/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter.hoverlabel" _path_str = "scatter.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/legendgrouptitle/_font.py b/plotly/graph_objs/scatter/legendgrouptitle/_font.py index 36cc91c2bd3..fbc6a1ad98e 100644 --- a/plotly/graph_objs/scatter/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatter/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter.legendgrouptitle" _path_str = "scatter.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/_colorbar.py b/plotly/graph_objs/scatter/marker/_colorbar.py index 1ed6d635a79..69d2530c572 100644 --- a/plotly/graph_objs/scatter/marker/_colorbar.py +++ b/plotly/graph_objs/scatter/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker" _path_str = "scatter.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/_gradient.py b/plotly/graph_objs/scatter/marker/_gradient.py index 9e6b568a44e..129ea674922 100644 --- a/plotly/graph_objs/scatter/marker/_gradient.py +++ b/plotly/graph_objs/scatter/marker/_gradient.py @@ -6,7 +6,6 @@ class Gradient(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker" _path_str = "scatter.marker.gradient" _valid_props = {"color", "colorsrc", "type", "typesrc"} @@ -149,12 +148,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.Gradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.Gradient`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.Gradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/_line.py b/plotly/graph_objs/scatter/marker/_line.py index c6e81451c9a..4d77c650a6f 100644 --- a/plotly/graph_objs/scatter/marker/_line.py +++ b/plotly/graph_objs/scatter/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker" _path_str = "scatter.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py index b47874ec19b..979d2b738a2 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker.colorbar" _path_str = "scatter.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py index ea14fcf850c..17996eb5adc 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker.colorbar" _path_str = "scatter.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/colorbar/_title.py b/plotly/graph_objs/scatter/marker/colorbar/_title.py index e555b89ec1e..381a749dae3 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/_title.py +++ b/plotly/graph_objs/scatter/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker.colorbar" _path_str = "scatter.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/marker/colorbar/title/_font.py b/plotly/graph_objs/scatter/marker/colorbar/title/_font.py index cd5aa3a22cf..6d202535da4 100644 --- a/plotly/graph_objs/scatter/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatter/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter.marker.colorbar.title" _path_str = "scatter.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/selected/_marker.py b/plotly/graph_objs/scatter/selected/_marker.py index 93ebfe86e8a..6eb0a98bec2 100644 --- a/plotly/graph_objs/scatter/selected/_marker.py +++ b/plotly/graph_objs/scatter/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatter.selected" _path_str = "scatter.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatter.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/selected/_textfont.py b/plotly/graph_objs/scatter/selected/_textfont.py index 65f365c9dbf..75424c16390 100644 --- a/plotly/graph_objs/scatter/selected/_textfont.py +++ b/plotly/graph_objs/scatter/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter.selected" _path_str = "scatter.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/unselected/_marker.py b/plotly/graph_objs/scatter/unselected/_marker.py index bd5d81f45cb..dce5658bb22 100644 --- a/plotly/graph_objs/scatter/unselected/_marker.py +++ b/plotly/graph_objs/scatter/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatter.unselected" _path_str = "scatter.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatter.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter/unselected/_textfont.py b/plotly/graph_objs/scatter/unselected/_textfont.py index f63b1945814..63e170796d4 100644 --- a/plotly/graph_objs/scatter/unselected/_textfont.py +++ b/plotly/graph_objs/scatter/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter.unselected" _path_str = "scatter.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_error_x.py b/plotly/graph_objs/scatter3d/_error_x.py index d04f8e4c6eb..1fd5bd2af70 100644 --- a/plotly/graph_objs/scatter3d/_error_x.py +++ b/plotly/graph_objs/scatter3d/_error_x.py @@ -6,7 +6,6 @@ class ErrorX(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.error_x" _valid_props = { @@ -477,12 +476,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.ErrorX constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.ErrorX`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.ErrorX`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_error_y.py b/plotly/graph_objs/scatter3d/_error_y.py index 84a00a99b73..87c1a936f0d 100644 --- a/plotly/graph_objs/scatter3d/_error_y.py +++ b/plotly/graph_objs/scatter3d/_error_y.py @@ -6,7 +6,6 @@ class ErrorY(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.error_y" _valid_props = { @@ -477,12 +476,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.ErrorY constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.ErrorY`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.ErrorY`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_error_z.py b/plotly/graph_objs/scatter3d/_error_z.py index ff7d68b096b..cdfd115ac7e 100644 --- a/plotly/graph_objs/scatter3d/_error_z.py +++ b/plotly/graph_objs/scatter3d/_error_z.py @@ -6,7 +6,6 @@ class ErrorZ(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.error_z" _valid_props = { @@ -455,12 +454,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.ErrorZ constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.ErrorZ`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.ErrorZ`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_hoverlabel.py b/plotly/graph_objs/scatter3d/_hoverlabel.py index 9fc1bf43513..efb86164b91 100644 --- a/plotly/graph_objs/scatter3d/_hoverlabel.py +++ b/plotly/graph_objs/scatter3d/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_legendgrouptitle.py b/plotly/graph_objs/scatter3d/_legendgrouptitle.py index 882857b01a1..35ef9eafae4 100644 --- a/plotly/graph_objs/scatter3d/_legendgrouptitle.py +++ b/plotly/graph_objs/scatter3d/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_line.py b/plotly/graph_objs/scatter3d/_line.py index b163c5384cd..d1d72347aa3 100644 --- a/plotly/graph_objs/scatter3d/_line.py +++ b/plotly/graph_objs/scatter3d/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.line" _valid_props = { @@ -567,12 +566,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_marker.py b/plotly/graph_objs/scatter3d/_marker.py index 74501873747..7f4e4222586 100644 --- a/plotly/graph_objs/scatter3d/_marker.py +++ b/plotly/graph_objs/scatter3d/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.marker" _valid_props = { @@ -778,12 +777,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_projection.py b/plotly/graph_objs/scatter3d/_projection.py index f2f29667b01..de02e0c3636 100644 --- a/plotly/graph_objs/scatter3d/_projection.py +++ b/plotly/graph_objs/scatter3d/_projection.py @@ -6,7 +6,6 @@ class Projection(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.projection" _valid_props = {"x", "y", "z"} @@ -118,12 +117,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Projection constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Projection`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Projection`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_stream.py b/plotly/graph_objs/scatter3d/_stream.py index bb38f1ba940..382456ff05e 100644 --- a/plotly/graph_objs/scatter3d/_stream.py +++ b/plotly/graph_objs/scatter3d/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/_textfont.py b/plotly/graph_objs/scatter3d/_textfont.py index 650e577a152..6d365232c9c 100644 --- a/plotly/graph_objs/scatter3d/_textfont.py +++ b/plotly/graph_objs/scatter3d/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d" _path_str = "scatter3d.textfont" _valid_props = { @@ -377,12 +376,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/hoverlabel/_font.py b/plotly/graph_objs/scatter3d/hoverlabel/_font.py index 7f051e2ff70..3edf8ede05f 100644 --- a/plotly/graph_objs/scatter3d/hoverlabel/_font.py +++ b/plotly/graph_objs/scatter3d/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.hoverlabel" _path_str = "scatter3d.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py b/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py index d8392fbd46b..95c7ad1edf8 100644 --- a/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatter3d/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.legendgrouptitle" _path_str = "scatter3d.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/line/_colorbar.py b/plotly/graph_objs/scatter3d/line/_colorbar.py index eca42e81850..b2b308e7b6c 100644 --- a/plotly/graph_objs/scatter3d/line/_colorbar.py +++ b/plotly/graph_objs/scatter3d/line/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.line" _path_str = "scatter3d.line.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.line.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.line.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.line.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py b/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py index 4db15015620..2d5833c877c 100644 --- a/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter3d/line/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.line.colorbar" _path_str = "scatter3d.line.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py b/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py index 862ba9713c0..66e80c356fd 100644 --- a/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatter3d/line/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.line.colorbar" _path_str = "scatter3d.line.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/line/colorbar/_title.py b/plotly/graph_objs/scatter3d/line/colorbar/_title.py index a656d805337..7bcfe28e383 100644 --- a/plotly/graph_objs/scatter3d/line/colorbar/_title.py +++ b/plotly/graph_objs/scatter3d/line/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.line.colorbar" _path_str = "scatter3d.line.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.line.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py b/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py index 8d72116e7a7..603e087e373 100644 --- a/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py +++ b/plotly/graph_objs/scatter3d/line/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.line.colorbar.title" _path_str = "scatter3d.line.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.line.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.line.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/marker/_colorbar.py b/plotly/graph_objs/scatter3d/marker/_colorbar.py index f2b5895eb71..f362a2b4937 100644 --- a/plotly/graph_objs/scatter3d/marker/_colorbar.py +++ b/plotly/graph_objs/scatter3d/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.marker" _path_str = "scatter3d.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/marker/_line.py b/plotly/graph_objs/scatter3d/marker/_line.py index a257714e5c8..50011a6ad16 100644 --- a/plotly/graph_objs/scatter3d/marker/_line.py +++ b/plotly/graph_objs/scatter3d/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.marker" _path_str = "scatter3d.marker.line" _valid_props = { @@ -496,12 +495,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py index 4d0f35fa6e4..78612661cc0 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.marker.colorbar" _path_str = "scatter3d.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py index 48d9dada61d..5c95cfa9e46 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.marker.colorbar" _path_str = "scatter3d.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/_title.py b/plotly/graph_objs/scatter3d/marker/colorbar/_title.py index 270fd8269b9..1b2aafe1c98 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/_title.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.marker.colorbar" _path_str = "scatter3d.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py b/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py index b38a7cf725c..53344ff1a79 100644 --- a/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatter3d/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.marker.colorbar.title" _path_str = "scatter3d.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/projection/_x.py b/plotly/graph_objs/scatter3d/projection/_x.py index f05bebbdb76..20945837a5c 100644 --- a/plotly/graph_objs/scatter3d/projection/_x.py +++ b/plotly/graph_objs/scatter3d/projection/_x.py @@ -6,7 +6,6 @@ class X(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.projection" _path_str = "scatter3d.projection.x" _valid_props = {"opacity", "scale", "show"} @@ -114,12 +113,10 @@ def __init__(self, arg=None, opacity=None, scale=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.projection.X constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.projection.X`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.projection.X`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/projection/_y.py b/plotly/graph_objs/scatter3d/projection/_y.py index ee11e53cee8..fb4d7df7659 100644 --- a/plotly/graph_objs/scatter3d/projection/_y.py +++ b/plotly/graph_objs/scatter3d/projection/_y.py @@ -6,7 +6,6 @@ class Y(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.projection" _path_str = "scatter3d.projection.y" _valid_props = {"opacity", "scale", "show"} @@ -114,12 +113,10 @@ def __init__(self, arg=None, opacity=None, scale=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.projection.Y constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.projection.Y`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.projection.Y`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatter3d/projection/_z.py b/plotly/graph_objs/scatter3d/projection/_z.py index a3ce33cadb4..16655eb0e62 100644 --- a/plotly/graph_objs/scatter3d/projection/_z.py +++ b/plotly/graph_objs/scatter3d/projection/_z.py @@ -6,7 +6,6 @@ class Z(_BaseTraceHierarchyType): - _parent_path_str = "scatter3d.projection" _path_str = "scatter3d.projection.z" _valid_props = {"opacity", "scale", "show"} @@ -114,12 +113,10 @@ def __init__(self, arg=None, opacity=None, scale=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatter3d.projection.Z constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatter3d.projection.Z`""" - ) +an instance of :class:`plotly.graph_objs.scatter3d.projection.Z`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_hoverlabel.py b/plotly/graph_objs/scattercarpet/_hoverlabel.py index 4c02dd2acf2..dc13e0250b8 100644 --- a/plotly/graph_objs/scattercarpet/_hoverlabel.py +++ b/plotly/graph_objs/scattercarpet/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_legendgrouptitle.py b/plotly/graph_objs/scattercarpet/_legendgrouptitle.py index 48edf472b7c..ded56494b97 100644 --- a/plotly/graph_objs/scattercarpet/_legendgrouptitle.py +++ b/plotly/graph_objs/scattercarpet/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_line.py b/plotly/graph_objs/scattercarpet/_line.py index 336fe8e5444..0aa2e06cd2a 100644 --- a/plotly/graph_objs/scattercarpet/_line.py +++ b/plotly/graph_objs/scattercarpet/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.line" _valid_props = { @@ -259,12 +258,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_marker.py b/plotly/graph_objs/scattercarpet/_marker.py index 32b8d44a824..3dfb1f719c4 100644 --- a/plotly/graph_objs/scattercarpet/_marker.py +++ b/plotly/graph_objs/scattercarpet/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.marker" _valid_props = { @@ -1090,12 +1089,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_selected.py b/plotly/graph_objs/scattercarpet/_selected.py index 4081ec1bbf7..c92d8b38322 100644 --- a/plotly/graph_objs/scattercarpet/_selected.py +++ b/plotly/graph_objs/scattercarpet/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_stream.py b/plotly/graph_objs/scattercarpet/_stream.py index 5e5ac78c881..d1b93a857fd 100644 --- a/plotly/graph_objs/scattercarpet/_stream.py +++ b/plotly/graph_objs/scattercarpet/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_textfont.py b/plotly/graph_objs/scattercarpet/_textfont.py index 32240df57a1..3deda0f4e97 100644 --- a/plotly/graph_objs/scattercarpet/_textfont.py +++ b/plotly/graph_objs/scattercarpet/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/_unselected.py b/plotly/graph_objs/scattercarpet/_unselected.py index 31be43e1bff..ab71af95703 100644 --- a/plotly/graph_objs/scattercarpet/_unselected.py +++ b/plotly/graph_objs/scattercarpet/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet" _path_str = "scattercarpet.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/hoverlabel/_font.py b/plotly/graph_objs/scattercarpet/hoverlabel/_font.py index 9c19de45396..232ffa768ed 100644 --- a/plotly/graph_objs/scattercarpet/hoverlabel/_font.py +++ b/plotly/graph_objs/scattercarpet/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.hoverlabel" _path_str = "scattercarpet.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py b/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py index afb974824cc..083f9ecc562 100644 --- a/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattercarpet/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.legendgrouptitle" _path_str = "scattercarpet.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/_colorbar.py b/plotly/graph_objs/scattercarpet/marker/_colorbar.py index 51327ceaeee..1d5c07fc644 100644 --- a/plotly/graph_objs/scattercarpet/marker/_colorbar.py +++ b/plotly/graph_objs/scattercarpet/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker" _path_str = "scattercarpet.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/_gradient.py b/plotly/graph_objs/scattercarpet/marker/_gradient.py index c68ea551ac3..1fe30ae5a37 100644 --- a/plotly/graph_objs/scattercarpet/marker/_gradient.py +++ b/plotly/graph_objs/scattercarpet/marker/_gradient.py @@ -6,7 +6,6 @@ class Gradient(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker" _path_str = "scattercarpet.marker.gradient" _valid_props = {"color", "colorsrc", "type", "typesrc"} @@ -149,12 +148,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.Gradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.Gradient`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.Gradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/_line.py b/plotly/graph_objs/scattercarpet/marker/_line.py index 1f8f8e09cd3..bc682af241d 100644 --- a/plotly/graph_objs/scattercarpet/marker/_line.py +++ b/plotly/graph_objs/scattercarpet/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker" _path_str = "scattercarpet.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py index 51b7c2a491d..b831738c576 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker.colorbar" _path_str = "scattercarpet.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py index 9f873f37842..6edaabebc3a 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker.colorbar" _path_str = "scattercarpet.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py b/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py index 937455bef70..c8032d91253 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker.colorbar" _path_str = "scattercarpet.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py b/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py index 8f84fd36616..33b501ca9d6 100644 --- a/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattercarpet/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.marker.colorbar.title" _path_str = "scattercarpet.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/selected/_marker.py b/plotly/graph_objs/scattercarpet/selected/_marker.py index e43d198c4ed..1af34aa60d5 100644 --- a/plotly/graph_objs/scattercarpet/selected/_marker.py +++ b/plotly/graph_objs/scattercarpet/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.selected" _path_str = "scattercarpet.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/selected/_textfont.py b/plotly/graph_objs/scattercarpet/selected/_textfont.py index 6c4337e3fb1..10dc095c553 100644 --- a/plotly/graph_objs/scattercarpet/selected/_textfont.py +++ b/plotly/graph_objs/scattercarpet/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.selected" _path_str = "scattercarpet.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/unselected/_marker.py b/plotly/graph_objs/scattercarpet/unselected/_marker.py index 5f63108bd97..48738330b2c 100644 --- a/plotly/graph_objs/scattercarpet/unselected/_marker.py +++ b/plotly/graph_objs/scattercarpet/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.unselected" _path_str = "scattercarpet.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattercarpet/unselected/_textfont.py b/plotly/graph_objs/scattercarpet/unselected/_textfont.py index b39b308db6e..02f1e9dade2 100644 --- a/plotly/graph_objs/scattercarpet/unselected/_textfont.py +++ b/plotly/graph_objs/scattercarpet/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattercarpet.unselected" _path_str = "scattercarpet.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattercarpet.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattercarpet.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattercarpet.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_hoverlabel.py b/plotly/graph_objs/scattergeo/_hoverlabel.py index 4120c553775..249bc9cd0b1 100644 --- a/plotly/graph_objs/scattergeo/_hoverlabel.py +++ b/plotly/graph_objs/scattergeo/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_legendgrouptitle.py b/plotly/graph_objs/scattergeo/_legendgrouptitle.py index fdc17073c6b..ba86fda185d 100644 --- a/plotly/graph_objs/scattergeo/_legendgrouptitle.py +++ b/plotly/graph_objs/scattergeo/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_line.py b/plotly/graph_objs/scattergeo/_line.py index 0299f42e7c6..5151208ecf9 100644 --- a/plotly/graph_objs/scattergeo/_line.py +++ b/plotly/graph_objs/scattergeo/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_marker.py b/plotly/graph_objs/scattergeo/_marker.py index f3b56d6bc7a..3db78be645d 100644 --- a/plotly/graph_objs/scattergeo/_marker.py +++ b/plotly/graph_objs/scattergeo/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.marker" _valid_props = { @@ -1067,12 +1066,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_selected.py b/plotly/graph_objs/scattergeo/_selected.py index cca85d4a7ba..efa633a42df 100644 --- a/plotly/graph_objs/scattergeo/_selected.py +++ b/plotly/graph_objs/scattergeo/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_stream.py b/plotly/graph_objs/scattergeo/_stream.py index 9eb70b909ee..18aea3ecb12 100644 --- a/plotly/graph_objs/scattergeo/_stream.py +++ b/plotly/graph_objs/scattergeo/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_textfont.py b/plotly/graph_objs/scattergeo/_textfont.py index d1450a148ab..8a56df5ca13 100644 --- a/plotly/graph_objs/scattergeo/_textfont.py +++ b/plotly/graph_objs/scattergeo/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/_unselected.py b/plotly/graph_objs/scattergeo/_unselected.py index 0bd34ac33f5..0904ecc3c4b 100644 --- a/plotly/graph_objs/scattergeo/_unselected.py +++ b/plotly/graph_objs/scattergeo/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo" _path_str = "scattergeo.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/hoverlabel/_font.py b/plotly/graph_objs/scattergeo/hoverlabel/_font.py index 5912282f38f..730d1d49fb5 100644 --- a/plotly/graph_objs/scattergeo/hoverlabel/_font.py +++ b/plotly/graph_objs/scattergeo/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.hoverlabel" _path_str = "scattergeo.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py b/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py index 6671c9faf3a..4dfd8a01f42 100644 --- a/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattergeo/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.legendgrouptitle" _path_str = "scattergeo.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/_colorbar.py b/plotly/graph_objs/scattergeo/marker/_colorbar.py index 16d225e32af..6b0e32133d3 100644 --- a/plotly/graph_objs/scattergeo/marker/_colorbar.py +++ b/plotly/graph_objs/scattergeo/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker" _path_str = "scattergeo.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/_gradient.py b/plotly/graph_objs/scattergeo/marker/_gradient.py index a4931635bcf..abda79fad72 100644 --- a/plotly/graph_objs/scattergeo/marker/_gradient.py +++ b/plotly/graph_objs/scattergeo/marker/_gradient.py @@ -6,7 +6,6 @@ class Gradient(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker" _path_str = "scattergeo.marker.gradient" _valid_props = {"color", "colorsrc", "type", "typesrc"} @@ -149,12 +148,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.Gradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.Gradient`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.Gradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/_line.py b/plotly/graph_objs/scattergeo/marker/_line.py index 72d3e119cab..c721fcd3fda 100644 --- a/plotly/graph_objs/scattergeo/marker/_line.py +++ b/plotly/graph_objs/scattergeo/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker" _path_str = "scattergeo.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py index 94163453779..81b1718f4bc 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker.colorbar" _path_str = "scattergeo.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py index 2b21f5972ac..af8aad9f59c 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker.colorbar" _path_str = "scattergeo.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/_title.py b/plotly/graph_objs/scattergeo/marker/colorbar/_title.py index 2e08a80e3c0..8ca1156adc0 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/_title.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker.colorbar" _path_str = "scattergeo.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py b/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py index c6e9a31259b..ace978f2cc8 100644 --- a/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattergeo/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.marker.colorbar.title" _path_str = "scattergeo.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/selected/_marker.py b/plotly/graph_objs/scattergeo/selected/_marker.py index 301576c7666..e3c2b9a98d5 100644 --- a/plotly/graph_objs/scattergeo/selected/_marker.py +++ b/plotly/graph_objs/scattergeo/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.selected" _path_str = "scattergeo.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/selected/_textfont.py b/plotly/graph_objs/scattergeo/selected/_textfont.py index 6a56e33d3a5..d3fa7e867b8 100644 --- a/plotly/graph_objs/scattergeo/selected/_textfont.py +++ b/plotly/graph_objs/scattergeo/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.selected" _path_str = "scattergeo.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/unselected/_marker.py b/plotly/graph_objs/scattergeo/unselected/_marker.py index cd5f878018d..7249a60e7b2 100644 --- a/plotly/graph_objs/scattergeo/unselected/_marker.py +++ b/plotly/graph_objs/scattergeo/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.unselected" _path_str = "scattergeo.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergeo/unselected/_textfont.py b/plotly/graph_objs/scattergeo/unselected/_textfont.py index 4b0cc73bf3f..c076f082bae 100644 --- a/plotly/graph_objs/scattergeo/unselected/_textfont.py +++ b/plotly/graph_objs/scattergeo/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergeo.unselected" _path_str = "scattergeo.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergeo.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergeo.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergeo.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_error_x.py b/plotly/graph_objs/scattergl/_error_x.py index 65103fa6f0a..b2efa2a8eac 100644 --- a/plotly/graph_objs/scattergl/_error_x.py +++ b/plotly/graph_objs/scattergl/_error_x.py @@ -6,7 +6,6 @@ class ErrorX(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.error_x" _valid_props = { @@ -477,12 +476,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.ErrorX constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.ErrorX`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.ErrorX`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_error_y.py b/plotly/graph_objs/scattergl/_error_y.py index 885979fbc47..376febb9945 100644 --- a/plotly/graph_objs/scattergl/_error_y.py +++ b/plotly/graph_objs/scattergl/_error_y.py @@ -6,7 +6,6 @@ class ErrorY(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.error_y" _valid_props = { @@ -455,12 +454,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.ErrorY constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.ErrorY`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.ErrorY`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_hoverlabel.py b/plotly/graph_objs/scattergl/_hoverlabel.py index 0caa4ab7fe9..cdd1270448a 100644 --- a/plotly/graph_objs/scattergl/_hoverlabel.py +++ b/plotly/graph_objs/scattergl/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_legendgrouptitle.py b/plotly/graph_objs/scattergl/_legendgrouptitle.py index 916787fdef1..ac54eda9d68 100644 --- a/plotly/graph_objs/scattergl/_legendgrouptitle.py +++ b/plotly/graph_objs/scattergl/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_line.py b/plotly/graph_objs/scattergl/_line.py index 013c115e95f..12b641ca4b7 100644 --- a/plotly/graph_objs/scattergl/_line.py +++ b/plotly/graph_objs/scattergl/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.line" _valid_props = {"color", "dash", "shape", "width"} @@ -143,12 +142,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_marker.py b/plotly/graph_objs/scattergl/_marker.py index 2b4861660af..c26e398252b 100644 --- a/plotly/graph_objs/scattergl/_marker.py +++ b/plotly/graph_objs/scattergl/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.marker" _valid_props = { @@ -943,12 +942,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_selected.py b/plotly/graph_objs/scattergl/_selected.py index f1a97da88da..1271cedc740 100644 --- a/plotly/graph_objs/scattergl/_selected.py +++ b/plotly/graph_objs/scattergl/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_stream.py b/plotly/graph_objs/scattergl/_stream.py index 76ec5afd1ff..108cc9b4184 100644 --- a/plotly/graph_objs/scattergl/_stream.py +++ b/plotly/graph_objs/scattergl/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_textfont.py b/plotly/graph_objs/scattergl/_textfont.py index e7fc1cbd63c..ccc8e03f156 100644 --- a/plotly/graph_objs/scattergl/_textfont.py +++ b/plotly/graph_objs/scattergl/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.textfont" _valid_props = { @@ -376,12 +375,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/_unselected.py b/plotly/graph_objs/scattergl/_unselected.py index 02524fc047f..7c2cd4b9b32 100644 --- a/plotly/graph_objs/scattergl/_unselected.py +++ b/plotly/graph_objs/scattergl/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scattergl" _path_str = "scattergl.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/hoverlabel/_font.py b/plotly/graph_objs/scattergl/hoverlabel/_font.py index e33371f02d6..9481a5144d5 100644 --- a/plotly/graph_objs/scattergl/hoverlabel/_font.py +++ b/plotly/graph_objs/scattergl/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.hoverlabel" _path_str = "scattergl.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/legendgrouptitle/_font.py b/plotly/graph_objs/scattergl/legendgrouptitle/_font.py index 71e06dbe752..fa358d7ab01 100644 --- a/plotly/graph_objs/scattergl/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattergl/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.legendgrouptitle" _path_str = "scattergl.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/marker/_colorbar.py b/plotly/graph_objs/scattergl/marker/_colorbar.py index 33aa6ff92da..6cb0422283f 100644 --- a/plotly/graph_objs/scattergl/marker/_colorbar.py +++ b/plotly/graph_objs/scattergl/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.marker" _path_str = "scattergl.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/marker/_line.py b/plotly/graph_objs/scattergl/marker/_line.py index 862c23f0f4f..70e996045d0 100644 --- a/plotly/graph_objs/scattergl/marker/_line.py +++ b/plotly/graph_objs/scattergl/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.marker" _path_str = "scattergl.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py index 2510ee3ecda..c4aadedec7c 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.marker.colorbar" _path_str = "scattergl.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py index ddf5d0ac5f2..c621d4a7304 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.marker.colorbar" _path_str = "scattergl.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/marker/colorbar/_title.py b/plotly/graph_objs/scattergl/marker/colorbar/_title.py index 51badd91a30..48a038460dc 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/_title.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.marker.colorbar" _path_str = "scattergl.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py b/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py index 8b1ec88e797..359d09ec33b 100644 --- a/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattergl/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.marker.colorbar.title" _path_str = "scattergl.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/selected/_marker.py b/plotly/graph_objs/scattergl/selected/_marker.py index 36978eb840c..dbad7a5eadf 100644 --- a/plotly/graph_objs/scattergl/selected/_marker.py +++ b/plotly/graph_objs/scattergl/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.selected" _path_str = "scattergl.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/selected/_textfont.py b/plotly/graph_objs/scattergl/selected/_textfont.py index 57e3b59aa4e..a37e6d9f240 100644 --- a/plotly/graph_objs/scattergl/selected/_textfont.py +++ b/plotly/graph_objs/scattergl/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.selected" _path_str = "scattergl.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/unselected/_marker.py b/plotly/graph_objs/scattergl/unselected/_marker.py index 6f44c3a35e5..0d9f1ccd06e 100644 --- a/plotly/graph_objs/scattergl/unselected/_marker.py +++ b/plotly/graph_objs/scattergl/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.unselected" _path_str = "scattergl.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattergl/unselected/_textfont.py b/plotly/graph_objs/scattergl/unselected/_textfont.py index fb7a2a63032..73d64c96e50 100644 --- a/plotly/graph_objs/scattergl/unselected/_textfont.py +++ b/plotly/graph_objs/scattergl/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattergl.unselected" _path_str = "scattergl.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattergl.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattergl.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattergl.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_cluster.py b/plotly/graph_objs/scattermap/_cluster.py index 154b3b60de0..06e8863f976 100644 --- a/plotly/graph_objs/scattermap/_cluster.py +++ b/plotly/graph_objs/scattermap/_cluster.py @@ -6,7 +6,6 @@ class Cluster(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.cluster" _valid_props = { @@ -321,12 +320,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Cluster constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Cluster`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Cluster`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_hoverlabel.py b/plotly/graph_objs/scattermap/_hoverlabel.py index 4e6a7017657..7e63cfbd128 100644 --- a/plotly/graph_objs/scattermap/_hoverlabel.py +++ b/plotly/graph_objs/scattermap/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_legendgrouptitle.py b/plotly/graph_objs/scattermap/_legendgrouptitle.py index 5db1684911c..0dee4c5dd77 100644 --- a/plotly/graph_objs/scattermap/_legendgrouptitle.py +++ b/plotly/graph_objs/scattermap/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_line.py b/plotly/graph_objs/scattermap/_line.py index 8d1c8127b63..6d07e8bbfd4 100644 --- a/plotly/graph_objs/scattermap/_line.py +++ b/plotly/graph_objs/scattermap/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_marker.py b/plotly/graph_objs/scattermap/_marker.py index 904c9867e19..a5612a3fb67 100644 --- a/plotly/graph_objs/scattermap/_marker.py +++ b/plotly/graph_objs/scattermap/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.marker" _valid_props = { @@ -857,12 +856,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_selected.py b/plotly/graph_objs/scattermap/_selected.py index bf88cb4c85a..fc36d377b9f 100644 --- a/plotly/graph_objs/scattermap/_selected.py +++ b/plotly/graph_objs/scattermap/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_stream.py b/plotly/graph_objs/scattermap/_stream.py index 9fbd73879aa..cb82bb8b98f 100644 --- a/plotly/graph_objs/scattermap/_stream.py +++ b/plotly/graph_objs/scattermap/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_textfont.py b/plotly/graph_objs/scattermap/_textfont.py index 9e65b7aefb7..fda40ac9cdb 100644 --- a/plotly/graph_objs/scattermap/_textfont.py +++ b/plotly/graph_objs/scattermap/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.textfont" _valid_props = {"color", "family", "size", "style", "weight"} @@ -186,12 +185,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/_unselected.py b/plotly/graph_objs/scattermap/_unselected.py index bc68c4df2a5..6911361a0db 100644 --- a/plotly/graph_objs/scattermap/_unselected.py +++ b/plotly/graph_objs/scattermap/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scattermap" _path_str = "scattermap.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/hoverlabel/_font.py b/plotly/graph_objs/scattermap/hoverlabel/_font.py index 03de7684952..a6fe4953e57 100644 --- a/plotly/graph_objs/scattermap/hoverlabel/_font.py +++ b/plotly/graph_objs/scattermap/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.hoverlabel" _path_str = "scattermap.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/legendgrouptitle/_font.py b/plotly/graph_objs/scattermap/legendgrouptitle/_font.py index 7f19d536a94..ea1fc048161 100644 --- a/plotly/graph_objs/scattermap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattermap/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.legendgrouptitle" _path_str = "scattermap.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/marker/_colorbar.py b/plotly/graph_objs/scattermap/marker/_colorbar.py index 9e935b73bb9..77f929ef115 100644 --- a/plotly/graph_objs/scattermap/marker/_colorbar.py +++ b/plotly/graph_objs/scattermap/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.marker" _path_str = "scattermap.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py index da8d633f9c5..77304fcb60e 100644 --- a/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattermap/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.marker.colorbar" _path_str = "scattermap.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattermap/marker/colorbar/_tickformatstop.py index c081999b084..9185e884e2f 100644 --- a/plotly/graph_objs/scattermap/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattermap/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.marker.colorbar" _path_str = "scattermap.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/marker/colorbar/_title.py b/plotly/graph_objs/scattermap/marker/colorbar/_title.py index 782d34a0d83..3fd7257df47 100644 --- a/plotly/graph_objs/scattermap/marker/colorbar/_title.py +++ b/plotly/graph_objs/scattermap/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.marker.colorbar" _path_str = "scattermap.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py b/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py index f563105f3bd..5fbf794be85 100644 --- a/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattermap/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.marker.colorbar.title" _path_str = "scattermap.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/selected/_marker.py b/plotly/graph_objs/scattermap/selected/_marker.py index 43003e69a82..f7df731bc84 100644 --- a/plotly/graph_objs/scattermap/selected/_marker.py +++ b/plotly/graph_objs/scattermap/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.selected" _path_str = "scattermap.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermap/unselected/_marker.py b/plotly/graph_objs/scattermap/unselected/_marker.py index 78bca7e1f20..b85c1a829da 100644 --- a/plotly/graph_objs/scattermap/unselected/_marker.py +++ b/plotly/graph_objs/scattermap/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattermap.unselected" _path_str = "scattermap.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermap.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermap.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattermap.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_cluster.py b/plotly/graph_objs/scattermapbox/_cluster.py index fc0c834a7de..c064caf25aa 100644 --- a/plotly/graph_objs/scattermapbox/_cluster.py +++ b/plotly/graph_objs/scattermapbox/_cluster.py @@ -6,7 +6,6 @@ class Cluster(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.cluster" _valid_props = { @@ -321,12 +320,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Cluster constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Cluster`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Cluster`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_hoverlabel.py b/plotly/graph_objs/scattermapbox/_hoverlabel.py index 40ed235086c..424c960084f 100644 --- a/plotly/graph_objs/scattermapbox/_hoverlabel.py +++ b/plotly/graph_objs/scattermapbox/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_legendgrouptitle.py b/plotly/graph_objs/scattermapbox/_legendgrouptitle.py index a403b8bbce8..754d1beca6e 100644 --- a/plotly/graph_objs/scattermapbox/_legendgrouptitle.py +++ b/plotly/graph_objs/scattermapbox/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_line.py b/plotly/graph_objs/scattermapbox/_line.py index d2263597aea..16aa69c59d0 100644 --- a/plotly/graph_objs/scattermapbox/_line.py +++ b/plotly/graph_objs/scattermapbox/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_marker.py b/plotly/graph_objs/scattermapbox/_marker.py index 45bcccb3684..00c348d965c 100644 --- a/plotly/graph_objs/scattermapbox/_marker.py +++ b/plotly/graph_objs/scattermapbox/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.marker" _valid_props = { @@ -857,12 +856,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_selected.py b/plotly/graph_objs/scattermapbox/_selected.py index cb161c2117e..e2f96038ea5 100644 --- a/plotly/graph_objs/scattermapbox/_selected.py +++ b/plotly/graph_objs/scattermapbox/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_stream.py b/plotly/graph_objs/scattermapbox/_stream.py index bbecfe37c04..d28443da472 100644 --- a/plotly/graph_objs/scattermapbox/_stream.py +++ b/plotly/graph_objs/scattermapbox/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_textfont.py b/plotly/graph_objs/scattermapbox/_textfont.py index 22c764cb110..7e99b01646e 100644 --- a/plotly/graph_objs/scattermapbox/_textfont.py +++ b/plotly/graph_objs/scattermapbox/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.textfont" _valid_props = {"color", "family", "size", "style", "weight"} @@ -186,12 +185,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/_unselected.py b/plotly/graph_objs/scattermapbox/_unselected.py index 95c2f12cf4e..4d670647ac7 100644 --- a/plotly/graph_objs/scattermapbox/_unselected.py +++ b/plotly/graph_objs/scattermapbox/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox" _path_str = "scattermapbox.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/hoverlabel/_font.py b/plotly/graph_objs/scattermapbox/hoverlabel/_font.py index b3c92b7da6d..c62d8e2549e 100644 --- a/plotly/graph_objs/scattermapbox/hoverlabel/_font.py +++ b/plotly/graph_objs/scattermapbox/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.hoverlabel" _path_str = "scattermapbox.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py b/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py index f457b3a8514..344b8253d2c 100644 --- a/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattermapbox/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.legendgrouptitle" _path_str = "scattermapbox.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/marker/_colorbar.py b/plotly/graph_objs/scattermapbox/marker/_colorbar.py index 5ddf0f4da42..5203418cbb9 100644 --- a/plotly/graph_objs/scattermapbox/marker/_colorbar.py +++ b/plotly/graph_objs/scattermapbox/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.marker" _path_str = "scattermapbox.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py index 43b9e7c5f93..98b197cbcfa 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.marker.colorbar" _path_str = "scattermapbox.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py index 9938d321e2a..e41d613d46b 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.marker.colorbar" _path_str = "scattermapbox.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py b/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py index 23a73ff4e59..d3846cef4f7 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.marker.colorbar" _path_str = "scattermapbox.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py b/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py index ff7ae43cb42..c287c6e293e 100644 --- a/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattermapbox/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.marker.colorbar.title" _path_str = "scattermapbox.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/selected/_marker.py b/plotly/graph_objs/scattermapbox/selected/_marker.py index ad01ff1a76e..14bd5d4d4f1 100644 --- a/plotly/graph_objs/scattermapbox/selected/_marker.py +++ b/plotly/graph_objs/scattermapbox/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.selected" _path_str = "scattermapbox.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattermapbox/unselected/_marker.py b/plotly/graph_objs/scattermapbox/unselected/_marker.py index d7570b5dad5..2bbe8a6ab1e 100644 --- a/plotly/graph_objs/scattermapbox/unselected/_marker.py +++ b/plotly/graph_objs/scattermapbox/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattermapbox.unselected" _path_str = "scattermapbox.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattermapbox.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattermapbox.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattermapbox.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_hoverlabel.py b/plotly/graph_objs/scatterpolar/_hoverlabel.py index 0d77fa8c1d2..81f0a31fd77 100644 --- a/plotly/graph_objs/scatterpolar/_hoverlabel.py +++ b/plotly/graph_objs/scatterpolar/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_legendgrouptitle.py b/plotly/graph_objs/scatterpolar/_legendgrouptitle.py index 7f94eb8786e..a4da5c4219f 100644 --- a/plotly/graph_objs/scatterpolar/_legendgrouptitle.py +++ b/plotly/graph_objs/scatterpolar/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_line.py b/plotly/graph_objs/scatterpolar/_line.py index 0918f977048..ae3d3f229ab 100644 --- a/plotly/graph_objs/scatterpolar/_line.py +++ b/plotly/graph_objs/scatterpolar/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.line" _valid_props = { @@ -259,12 +258,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_marker.py b/plotly/graph_objs/scatterpolar/_marker.py index 918172b9a9b..377e839e56e 100644 --- a/plotly/graph_objs/scatterpolar/_marker.py +++ b/plotly/graph_objs/scatterpolar/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.marker" _valid_props = { @@ -1090,12 +1089,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_selected.py b/plotly/graph_objs/scatterpolar/_selected.py index 0648ef51449..09902d4274f 100644 --- a/plotly/graph_objs/scatterpolar/_selected.py +++ b/plotly/graph_objs/scatterpolar/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_stream.py b/plotly/graph_objs/scatterpolar/_stream.py index c85d3db7091..094bc94d926 100644 --- a/plotly/graph_objs/scatterpolar/_stream.py +++ b/plotly/graph_objs/scatterpolar/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_textfont.py b/plotly/graph_objs/scatterpolar/_textfont.py index 9aa9d4442b4..7e2874964b5 100644 --- a/plotly/graph_objs/scatterpolar/_textfont.py +++ b/plotly/graph_objs/scatterpolar/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/_unselected.py b/plotly/graph_objs/scatterpolar/_unselected.py index deb2bb20663..1b9fd7773cc 100644 --- a/plotly/graph_objs/scatterpolar/_unselected.py +++ b/plotly/graph_objs/scatterpolar/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar" _path_str = "scatterpolar.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/hoverlabel/_font.py b/plotly/graph_objs/scatterpolar/hoverlabel/_font.py index 2ca7a574540..d178804d3f7 100644 --- a/plotly/graph_objs/scatterpolar/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterpolar/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.hoverlabel" _path_str = "scatterpolar.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py b/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py index 8def746487a..f64a5f7e63e 100644 --- a/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatterpolar/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.legendgrouptitle" _path_str = "scatterpolar.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/_colorbar.py b/plotly/graph_objs/scatterpolar/marker/_colorbar.py index da061261a2b..08cb61860b4 100644 --- a/plotly/graph_objs/scatterpolar/marker/_colorbar.py +++ b/plotly/graph_objs/scatterpolar/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker" _path_str = "scatterpolar.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/_gradient.py b/plotly/graph_objs/scatterpolar/marker/_gradient.py index 76f595326fa..2688228cfbd 100644 --- a/plotly/graph_objs/scatterpolar/marker/_gradient.py +++ b/plotly/graph_objs/scatterpolar/marker/_gradient.py @@ -6,7 +6,6 @@ class Gradient(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker" _path_str = "scatterpolar.marker.gradient" _valid_props = {"color", "colorsrc", "type", "typesrc"} @@ -149,12 +148,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.Gradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.Gradient`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.Gradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/_line.py b/plotly/graph_objs/scatterpolar/marker/_line.py index 16ecb177880..a3a941e33cd 100644 --- a/plotly/graph_objs/scatterpolar/marker/_line.py +++ b/plotly/graph_objs/scatterpolar/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker" _path_str = "scatterpolar.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py index c51649c6551..6933852d7f2 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker.colorbar" _path_str = "scatterpolar.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py index 21862592a23..730bf5362c0 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker.colorbar" _path_str = "scatterpolar.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py b/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py index f4aa7726d96..84d013239a6 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker.colorbar" _path_str = "scatterpolar.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py b/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py index e679f5e8c09..3768be6c3b4 100644 --- a/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatterpolar/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.marker.colorbar.title" _path_str = "scatterpolar.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/selected/_marker.py b/plotly/graph_objs/scatterpolar/selected/_marker.py index e7be999e0a4..ae28c0bc312 100644 --- a/plotly/graph_objs/scatterpolar/selected/_marker.py +++ b/plotly/graph_objs/scatterpolar/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.selected" _path_str = "scatterpolar.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/selected/_textfont.py b/plotly/graph_objs/scatterpolar/selected/_textfont.py index 53613c1b14f..c1cad860840 100644 --- a/plotly/graph_objs/scatterpolar/selected/_textfont.py +++ b/plotly/graph_objs/scatterpolar/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.selected" _path_str = "scatterpolar.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/unselected/_marker.py b/plotly/graph_objs/scatterpolar/unselected/_marker.py index 0a21fcabd5f..aa06db1f422 100644 --- a/plotly/graph_objs/scatterpolar/unselected/_marker.py +++ b/plotly/graph_objs/scatterpolar/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.unselected" _path_str = "scatterpolar.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolar/unselected/_textfont.py b/plotly/graph_objs/scatterpolar/unselected/_textfont.py index c11ac8d3b23..bd19b9b8461 100644 --- a/plotly/graph_objs/scatterpolar/unselected/_textfont.py +++ b/plotly/graph_objs/scatterpolar/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolar.unselected" _path_str = "scatterpolar.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolar.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolar.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolar.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_hoverlabel.py b/plotly/graph_objs/scatterpolargl/_hoverlabel.py index e6ba2e2f81f..9d33d8e8574 100644 --- a/plotly/graph_objs/scatterpolargl/_hoverlabel.py +++ b/plotly/graph_objs/scatterpolargl/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py b/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py index 022e0509fdb..6ff24db80f6 100644 --- a/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py +++ b/plotly/graph_objs/scatterpolargl/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_line.py b/plotly/graph_objs/scatterpolargl/_line.py index fd3304d4b5d..8fee4faa9f7 100644 --- a/plotly/graph_objs/scatterpolargl/_line.py +++ b/plotly/graph_objs/scatterpolargl/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.line" _valid_props = {"color", "dash", "width"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_marker.py b/plotly/graph_objs/scatterpolargl/_marker.py index b79fd6113a6..616c489bb1b 100644 --- a/plotly/graph_objs/scatterpolargl/_marker.py +++ b/plotly/graph_objs/scatterpolargl/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.marker" _valid_props = { @@ -943,12 +942,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_selected.py b/plotly/graph_objs/scatterpolargl/_selected.py index c89403512f8..b5e95a38362 100644 --- a/plotly/graph_objs/scatterpolargl/_selected.py +++ b/plotly/graph_objs/scatterpolargl/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_stream.py b/plotly/graph_objs/scatterpolargl/_stream.py index e97501f7311..8b011988053 100644 --- a/plotly/graph_objs/scatterpolargl/_stream.py +++ b/plotly/graph_objs/scatterpolargl/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_textfont.py b/plotly/graph_objs/scatterpolargl/_textfont.py index 0e324fac0d7..93fd42e137d 100644 --- a/plotly/graph_objs/scatterpolargl/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.textfont" _valid_props = { @@ -376,12 +375,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/_unselected.py b/plotly/graph_objs/scatterpolargl/_unselected.py index 817f5af64e3..319c3b75d43 100644 --- a/plotly/graph_objs/scatterpolargl/_unselected.py +++ b/plotly/graph_objs/scatterpolargl/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl" _path_str = "scatterpolargl.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py b/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py index 788ef91accc..d55cff89211 100644 --- a/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterpolargl/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.hoverlabel" _path_str = "scatterpolargl.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py b/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py index 64b1f921e52..2f256febd0a 100644 --- a/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatterpolargl/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.legendgrouptitle" _path_str = "scatterpolargl.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/marker/_colorbar.py b/plotly/graph_objs/scatterpolargl/marker/_colorbar.py index c5b05be4aea..ac110060f36 100644 --- a/plotly/graph_objs/scatterpolargl/marker/_colorbar.py +++ b/plotly/graph_objs/scatterpolargl/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.marker" _path_str = "scatterpolargl.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/marker/_line.py b/plotly/graph_objs/scatterpolargl/marker/_line.py index 28863c1b55d..9f480f97951 100644 --- a/plotly/graph_objs/scatterpolargl/marker/_line.py +++ b/plotly/graph_objs/scatterpolargl/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.marker" _path_str = "scatterpolargl.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py index d49a1c90eda..713228d2411 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.marker.colorbar" _path_str = "scatterpolargl.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py index 2eaf022cd0e..d30c15b4cc6 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.marker.colorbar" _path_str = "scatterpolargl.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py index b8fef5e8d93..808e58bfcc3 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.marker.colorbar" _path_str = "scatterpolargl.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py b/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py index 2b23aff3a1c..555ee29a7e6 100644 --- a/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatterpolargl/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.marker.colorbar.title" _path_str = "scatterpolargl.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/selected/_marker.py b/plotly/graph_objs/scatterpolargl/selected/_marker.py index beaf722fa00..9403086e10f 100644 --- a/plotly/graph_objs/scatterpolargl/selected/_marker.py +++ b/plotly/graph_objs/scatterpolargl/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.selected" _path_str = "scatterpolargl.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/selected/_textfont.py b/plotly/graph_objs/scatterpolargl/selected/_textfont.py index dd1832e5290..e62601f3baa 100644 --- a/plotly/graph_objs/scatterpolargl/selected/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.selected" _path_str = "scatterpolargl.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/unselected/_marker.py b/plotly/graph_objs/scatterpolargl/unselected/_marker.py index bf65f9b31a7..993de3099f1 100644 --- a/plotly/graph_objs/scatterpolargl/unselected/_marker.py +++ b/plotly/graph_objs/scatterpolargl/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.unselected" _path_str = "scatterpolargl.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterpolargl/unselected/_textfont.py b/plotly/graph_objs/scatterpolargl/unselected/_textfont.py index a803c62085d..ce3650d1844 100644 --- a/plotly/graph_objs/scatterpolargl/unselected/_textfont.py +++ b/plotly/graph_objs/scatterpolargl/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterpolargl.unselected" _path_str = "scatterpolargl.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterpolargl.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterpolargl.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterpolargl.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_hoverlabel.py b/plotly/graph_objs/scattersmith/_hoverlabel.py index 4cc47981cce..6d7ab194537 100644 --- a/plotly/graph_objs/scattersmith/_hoverlabel.py +++ b/plotly/graph_objs/scattersmith/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_legendgrouptitle.py b/plotly/graph_objs/scattersmith/_legendgrouptitle.py index cc52ed093c1..9dbdd04af1a 100644 --- a/plotly/graph_objs/scattersmith/_legendgrouptitle.py +++ b/plotly/graph_objs/scattersmith/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_line.py b/plotly/graph_objs/scattersmith/_line.py index cf22f609862..4c7aa71bf6f 100644 --- a/plotly/graph_objs/scattersmith/_line.py +++ b/plotly/graph_objs/scattersmith/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.line" _valid_props = { @@ -259,12 +258,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_marker.py b/plotly/graph_objs/scattersmith/_marker.py index 355db37e417..4b5dfcfc1e1 100644 --- a/plotly/graph_objs/scattersmith/_marker.py +++ b/plotly/graph_objs/scattersmith/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.marker" _valid_props = { @@ -1090,12 +1089,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_selected.py b/plotly/graph_objs/scattersmith/_selected.py index 7b1c3be58c8..a4c23baf705 100644 --- a/plotly/graph_objs/scattersmith/_selected.py +++ b/plotly/graph_objs/scattersmith/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_stream.py b/plotly/graph_objs/scattersmith/_stream.py index 136cc11b4ff..184e762945e 100644 --- a/plotly/graph_objs/scattersmith/_stream.py +++ b/plotly/graph_objs/scattersmith/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_textfont.py b/plotly/graph_objs/scattersmith/_textfont.py index f54bfbbb933..cbc481ae947 100644 --- a/plotly/graph_objs/scattersmith/_textfont.py +++ b/plotly/graph_objs/scattersmith/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/_unselected.py b/plotly/graph_objs/scattersmith/_unselected.py index 19b9763f868..8886fdbee42 100644 --- a/plotly/graph_objs/scattersmith/_unselected.py +++ b/plotly/graph_objs/scattersmith/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith" _path_str = "scattersmith.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/hoverlabel/_font.py b/plotly/graph_objs/scattersmith/hoverlabel/_font.py index ddae3273f67..a342e776ca4 100644 --- a/plotly/graph_objs/scattersmith/hoverlabel/_font.py +++ b/plotly/graph_objs/scattersmith/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.hoverlabel" _path_str = "scattersmith.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py b/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py index 6f6777fea55..1341c3b760a 100644 --- a/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scattersmith/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.legendgrouptitle" _path_str = "scattersmith.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/_colorbar.py b/plotly/graph_objs/scattersmith/marker/_colorbar.py index f1eb39dfcd7..c99af1e7849 100644 --- a/plotly/graph_objs/scattersmith/marker/_colorbar.py +++ b/plotly/graph_objs/scattersmith/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker" _path_str = "scattersmith.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/_gradient.py b/plotly/graph_objs/scattersmith/marker/_gradient.py index 743440f8be5..32e158b365b 100644 --- a/plotly/graph_objs/scattersmith/marker/_gradient.py +++ b/plotly/graph_objs/scattersmith/marker/_gradient.py @@ -6,7 +6,6 @@ class Gradient(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker" _path_str = "scattersmith.marker.gradient" _valid_props = {"color", "colorsrc", "type", "typesrc"} @@ -149,12 +148,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.Gradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.Gradient`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.Gradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/_line.py b/plotly/graph_objs/scattersmith/marker/_line.py index d4768f4f64b..e12c8fc079b 100644 --- a/plotly/graph_objs/scattersmith/marker/_line.py +++ b/plotly/graph_objs/scattersmith/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker" _path_str = "scattersmith.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py b/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py index 2eaf5821da9..47e244a44fa 100644 --- a/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scattersmith/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker.colorbar" _path_str = "scattersmith.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py index 945cc01085d..6fcd9e5b2b4 100644 --- a/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scattersmith/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker.colorbar" _path_str = "scattersmith.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/colorbar/_title.py b/plotly/graph_objs/scattersmith/marker/colorbar/_title.py index e9f31d9550d..61f1a365aa9 100644 --- a/plotly/graph_objs/scattersmith/marker/colorbar/_title.py +++ b/plotly/graph_objs/scattersmith/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker.colorbar" _path_str = "scattersmith.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py b/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py index 338ecadf870..2853b195c6d 100644 --- a/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scattersmith/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.marker.colorbar.title" _path_str = "scattersmith.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/selected/_marker.py b/plotly/graph_objs/scattersmith/selected/_marker.py index febb75df771..7c441e489ad 100644 --- a/plotly/graph_objs/scattersmith/selected/_marker.py +++ b/plotly/graph_objs/scattersmith/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.selected" _path_str = "scattersmith.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/selected/_textfont.py b/plotly/graph_objs/scattersmith/selected/_textfont.py index 48315d84f7e..89581547016 100644 --- a/plotly/graph_objs/scattersmith/selected/_textfont.py +++ b/plotly/graph_objs/scattersmith/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.selected" _path_str = "scattersmith.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/unselected/_marker.py b/plotly/graph_objs/scattersmith/unselected/_marker.py index a99cf9ce51e..dbacc8f88a7 100644 --- a/plotly/graph_objs/scattersmith/unselected/_marker.py +++ b/plotly/graph_objs/scattersmith/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.unselected" _path_str = "scattersmith.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scattersmith/unselected/_textfont.py b/plotly/graph_objs/scattersmith/unselected/_textfont.py index 54e37af91b9..11187346ef5 100644 --- a/plotly/graph_objs/scattersmith/unselected/_textfont.py +++ b/plotly/graph_objs/scattersmith/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scattersmith.unselected" _path_str = "scattersmith.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scattersmith.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scattersmith.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scattersmith.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_hoverlabel.py b/plotly/graph_objs/scatterternary/_hoverlabel.py index 1ca409cd53f..6f49de4667c 100644 --- a/plotly/graph_objs/scatterternary/_hoverlabel.py +++ b/plotly/graph_objs/scatterternary/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_legendgrouptitle.py b/plotly/graph_objs/scatterternary/_legendgrouptitle.py index a182d17b4ab..6d8fe3bbe83 100644 --- a/plotly/graph_objs/scatterternary/_legendgrouptitle.py +++ b/plotly/graph_objs/scatterternary/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_line.py b/plotly/graph_objs/scatterternary/_line.py index e30288c7e6b..015e0971125 100644 --- a/plotly/graph_objs/scatterternary/_line.py +++ b/plotly/graph_objs/scatterternary/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.line" _valid_props = { @@ -259,12 +258,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_marker.py b/plotly/graph_objs/scatterternary/_marker.py index 36c44512b7f..defc23e95a4 100644 --- a/plotly/graph_objs/scatterternary/_marker.py +++ b/plotly/graph_objs/scatterternary/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.marker" _valid_props = { @@ -1090,12 +1089,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_selected.py b/plotly/graph_objs/scatterternary/_selected.py index 147708aa914..9259834e786 100644 --- a/plotly/graph_objs/scatterternary/_selected.py +++ b/plotly/graph_objs/scatterternary/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.selected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Selected`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_stream.py b/plotly/graph_objs/scatterternary/_stream.py index 5f5cbf91d92..54c0e1e0135 100644 --- a/plotly/graph_objs/scatterternary/_stream.py +++ b/plotly/graph_objs/scatterternary/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Stream`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_textfont.py b/plotly/graph_objs/scatterternary/_textfont.py index cd649d7b216..6a41c4858a0 100644 --- a/plotly/graph_objs/scatterternary/_textfont.py +++ b/plotly/graph_objs/scatterternary/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/_unselected.py b/plotly/graph_objs/scatterternary/_unselected.py index 4dd638293be..f02bb39a232 100644 --- a/plotly/graph_objs/scatterternary/_unselected.py +++ b/plotly/graph_objs/scatterternary/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary" _path_str = "scatterternary.unselected" _valid_props = {"marker", "textfont"} @@ -93,12 +92,10 @@ def __init__(self, arg=None, marker=None, textfont=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/hoverlabel/_font.py b/plotly/graph_objs/scatterternary/hoverlabel/_font.py index ab3f2e37856..e642d4aa963 100644 --- a/plotly/graph_objs/scatterternary/hoverlabel/_font.py +++ b/plotly/graph_objs/scatterternary/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.hoverlabel" _path_str = "scatterternary.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py b/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py index 31910885fd2..a261155bc37 100644 --- a/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py +++ b/plotly/graph_objs/scatterternary/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.legendgrouptitle" _path_str = "scatterternary.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/_colorbar.py b/plotly/graph_objs/scatterternary/marker/_colorbar.py index 4247f9cb68d..141b7196c0d 100644 --- a/plotly/graph_objs/scatterternary/marker/_colorbar.py +++ b/plotly/graph_objs/scatterternary/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker" _path_str = "scatterternary.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/_gradient.py b/plotly/graph_objs/scatterternary/marker/_gradient.py index 682c74c8be6..fb803bc01a2 100644 --- a/plotly/graph_objs/scatterternary/marker/_gradient.py +++ b/plotly/graph_objs/scatterternary/marker/_gradient.py @@ -6,7 +6,6 @@ class Gradient(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker" _path_str = "scatterternary.marker.gradient" _valid_props = {"color", "colorsrc", "type", "typesrc"} @@ -149,12 +148,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.Gradient constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.Gradient`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.Gradient`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/_line.py b/plotly/graph_objs/scatterternary/marker/_line.py index ef7f7f142f6..df4544e66ad 100644 --- a/plotly/graph_objs/scatterternary/marker/_line.py +++ b/plotly/graph_objs/scatterternary/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker" _path_str = "scatterternary.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py b/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py index a952933b0ed..f35a4c58581 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker.colorbar" _path_str = "scatterternary.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py index d6ddeb6520a..266d0af18b7 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker.colorbar" _path_str = "scatterternary.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/_title.py b/plotly/graph_objs/scatterternary/marker/colorbar/_title.py index daab742af4b..835128fd3a5 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/_title.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker.colorbar" _path_str = "scatterternary.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py b/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py index a8d324c88c5..e6ea459e2b5 100644 --- a/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/scatterternary/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.marker.colorbar.title" _path_str = "scatterternary.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/selected/_marker.py b/plotly/graph_objs/scatterternary/selected/_marker.py index 1a2a51a0555..f82f165986a 100644 --- a/plotly/graph_objs/scatterternary/selected/_marker.py +++ b/plotly/graph_objs/scatterternary/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.selected" _path_str = "scatterternary.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/selected/_textfont.py b/plotly/graph_objs/scatterternary/selected/_textfont.py index 003990d3a3e..9e9ba659a93 100644 --- a/plotly/graph_objs/scatterternary/selected/_textfont.py +++ b/plotly/graph_objs/scatterternary/selected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.selected" _path_str = "scatterternary.selected.textfont" _valid_props = {"color"} @@ -69,12 +68,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.selected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.selected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.selected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/unselected/_marker.py b/plotly/graph_objs/scatterternary/unselected/_marker.py index 8a6f27fae38..842223a4584 100644 --- a/plotly/graph_objs/scatterternary/unselected/_marker.py +++ b/plotly/graph_objs/scatterternary/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.unselected" _path_str = "scatterternary.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/scatterternary/unselected/_textfont.py b/plotly/graph_objs/scatterternary/unselected/_textfont.py index 7be7d701946..06e08d6e698 100644 --- a/plotly/graph_objs/scatterternary/unselected/_textfont.py +++ b/plotly/graph_objs/scatterternary/unselected/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "scatterternary.unselected" _path_str = "scatterternary.unselected.textfont" _valid_props = {"color"} @@ -72,12 +71,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.scatterternary.unselected.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.scatterternary.unselected.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.scatterternary.unselected.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_diagonal.py b/plotly/graph_objs/splom/_diagonal.py index 600f86425c8..a29d8e7a219 100644 --- a/plotly/graph_objs/splom/_diagonal.py +++ b/plotly/graph_objs/splom/_diagonal.py @@ -6,7 +6,6 @@ class Diagonal(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.diagonal" _valid_props = {"visible"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, visible=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Diagonal constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Diagonal`""" - ) +an instance of :class:`plotly.graph_objs.splom.Diagonal`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_dimension.py b/plotly/graph_objs/splom/_dimension.py index 39dec77cb2f..beb275e9ecf 100644 --- a/plotly/graph_objs/splom/_dimension.py +++ b/plotly/graph_objs/splom/_dimension.py @@ -6,7 +6,6 @@ class Dimension(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.dimension" _valid_props = { @@ -275,12 +274,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Dimension constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Dimension`""" - ) +an instance of :class:`plotly.graph_objs.splom.Dimension`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_hoverlabel.py b/plotly/graph_objs/splom/_hoverlabel.py index f83990593fa..341267979a5 100644 --- a/plotly/graph_objs/splom/_hoverlabel.py +++ b/plotly/graph_objs/splom/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.splom.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_legendgrouptitle.py b/plotly/graph_objs/splom/_legendgrouptitle.py index 26a4292b90e..e2def1938b0 100644 --- a/plotly/graph_objs/splom/_legendgrouptitle.py +++ b/plotly/graph_objs/splom/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.splom.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_marker.py b/plotly/graph_objs/splom/_marker.py index adae0b7c8c5..548795887c0 100644 --- a/plotly/graph_objs/splom/_marker.py +++ b/plotly/graph_objs/splom/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.marker" _valid_props = { @@ -942,12 +941,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Marker`""" - ) +an instance of :class:`plotly.graph_objs.splom.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_selected.py b/plotly/graph_objs/splom/_selected.py index 9868586d07c..964b3a6a599 100644 --- a/plotly/graph_objs/splom/_selected.py +++ b/plotly/graph_objs/splom/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Selected`""" - ) +an instance of :class:`plotly.graph_objs.splom.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_stream.py b/plotly/graph_objs/splom/_stream.py index d9971fca56e..169722514fb 100644 --- a/plotly/graph_objs/splom/_stream.py +++ b/plotly/graph_objs/splom/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Stream`""" - ) +an instance of :class:`plotly.graph_objs.splom.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/_unselected.py b/plotly/graph_objs/splom/_unselected.py index 35d06a5ae00..bcf6df6f77d 100644 --- a/plotly/graph_objs/splom/_unselected.py +++ b/plotly/graph_objs/splom/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "splom" _path_str = "splom.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.splom.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/dimension/_axis.py b/plotly/graph_objs/splom/dimension/_axis.py index 4775f13795d..0366dfc8ba4 100644 --- a/plotly/graph_objs/splom/dimension/_axis.py +++ b/plotly/graph_objs/splom/dimension/_axis.py @@ -6,7 +6,6 @@ class Axis(_BaseTraceHierarchyType): - _parent_path_str = "splom.dimension" _path_str = "splom.dimension.axis" _valid_props = {"matches", "type"} @@ -102,12 +101,10 @@ def __init__(self, arg=None, matches=None, type=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.dimension.Axis constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.dimension.Axis`""" - ) +an instance of :class:`plotly.graph_objs.splom.dimension.Axis`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/hoverlabel/_font.py b/plotly/graph_objs/splom/hoverlabel/_font.py index 5a6be73053b..64f7bec4556 100644 --- a/plotly/graph_objs/splom/hoverlabel/_font.py +++ b/plotly/graph_objs/splom/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "splom.hoverlabel" _path_str = "splom.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.splom.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/legendgrouptitle/_font.py b/plotly/graph_objs/splom/legendgrouptitle/_font.py index fa6ac0c9d6d..c1fa90d8536 100644 --- a/plotly/graph_objs/splom/legendgrouptitle/_font.py +++ b/plotly/graph_objs/splom/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "splom.legendgrouptitle" _path_str = "splom.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.splom.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/marker/_colorbar.py b/plotly/graph_objs/splom/marker/_colorbar.py index 609cc0f679d..60af07e7992 100644 --- a/plotly/graph_objs/splom/marker/_colorbar.py +++ b/plotly/graph_objs/splom/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "splom.marker" _path_str = "splom.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.splom.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/marker/_line.py b/plotly/graph_objs/splom/marker/_line.py index 249a2df8114..764a9528007 100644 --- a/plotly/graph_objs/splom/marker/_line.py +++ b/plotly/graph_objs/splom/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "splom.marker" _path_str = "splom.marker.line" _valid_props = { @@ -523,12 +522,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.splom.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/marker/colorbar/_tickfont.py b/plotly/graph_objs/splom/marker/colorbar/_tickfont.py index ad1f7ca7b85..955183f0a3d 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/splom/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "splom.marker.colorbar" _path_str = "splom.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py index 579d5930497..10c4054596b 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/splom/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "splom.marker.colorbar" _path_str = "splom.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/marker/colorbar/_title.py b/plotly/graph_objs/splom/marker/colorbar/_title.py index 790d583255e..4f4078979a1 100644 --- a/plotly/graph_objs/splom/marker/colorbar/_title.py +++ b/plotly/graph_objs/splom/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "splom.marker.colorbar" _path_str = "splom.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.splom.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/marker/colorbar/title/_font.py b/plotly/graph_objs/splom/marker/colorbar/title/_font.py index 4fbef898cbd..4bfb809c873 100644 --- a/plotly/graph_objs/splom/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/splom/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "splom.marker.colorbar.title" _path_str = "splom.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.splom.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/selected/_marker.py b/plotly/graph_objs/splom/selected/_marker.py index 6439c1cd31b..2002debee72 100644 --- a/plotly/graph_objs/splom/selected/_marker.py +++ b/plotly/graph_objs/splom/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "splom.selected" _path_str = "splom.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.splom.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/splom/unselected/_marker.py b/plotly/graph_objs/splom/unselected/_marker.py index 70aba13d3a0..48f8c5314e4 100644 --- a/plotly/graph_objs/splom/unselected/_marker.py +++ b/plotly/graph_objs/splom/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "splom.unselected" _path_str = "splom.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.splom.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.splom.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.splom.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_colorbar.py b/plotly/graph_objs/streamtube/_colorbar.py index 8ecb6023045..f4ce2df3989 100644 --- a/plotly/graph_objs/streamtube/_colorbar.py +++ b/plotly/graph_objs/streamtube/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.colorbar" _valid_props = { @@ -1661,12 +1660,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_hoverlabel.py b/plotly/graph_objs/streamtube/_hoverlabel.py index 1bc5c771e27..d197560161f 100644 --- a/plotly/graph_objs/streamtube/_hoverlabel.py +++ b/plotly/graph_objs/streamtube/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_legendgrouptitle.py b/plotly/graph_objs/streamtube/_legendgrouptitle.py index 395dd34e235..0cb32975c08 100644 --- a/plotly/graph_objs/streamtube/_legendgrouptitle.py +++ b/plotly/graph_objs/streamtube/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_lighting.py b/plotly/graph_objs/streamtube/_lighting.py index f4b2863761b..0e1dd46c191 100644 --- a/plotly/graph_objs/streamtube/_lighting.py +++ b/plotly/graph_objs/streamtube/_lighting.py @@ -6,7 +6,6 @@ class Lighting(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.lighting" _valid_props = { @@ -242,12 +241,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.Lighting constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.Lighting`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.Lighting`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_lightposition.py b/plotly/graph_objs/streamtube/_lightposition.py index 1f4d43aaf08..0c6c7f7dbf0 100644 --- a/plotly/graph_objs/streamtube/_lightposition.py +++ b/plotly/graph_objs/streamtube/_lightposition.py @@ -6,7 +6,6 @@ class Lightposition(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.lightposition" _valid_props = {"x", "y", "z"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.Lightposition constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.Lightposition`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.Lightposition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_starts.py b/plotly/graph_objs/streamtube/_starts.py index 22d4e3d95b7..eccda6490de 100644 --- a/plotly/graph_objs/streamtube/_starts.py +++ b/plotly/graph_objs/streamtube/_starts.py @@ -6,7 +6,6 @@ class Starts(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.starts" _valid_props = {"x", "xsrc", "y", "ysrc", "z", "zsrc"} @@ -200,12 +199,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.Starts constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.Starts`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.Starts`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/_stream.py b/plotly/graph_objs/streamtube/_stream.py index 28763c98948..46d9371fa70 100644 --- a/plotly/graph_objs/streamtube/_stream.py +++ b/plotly/graph_objs/streamtube/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "streamtube" _path_str = "streamtube.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.Stream`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/colorbar/_tickfont.py b/plotly/graph_objs/streamtube/colorbar/_tickfont.py index ddf75b30203..b9ae28e5b88 100644 --- a/plotly/graph_objs/streamtube/colorbar/_tickfont.py +++ b/plotly/graph_objs/streamtube/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "streamtube.colorbar" _path_str = "streamtube.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py b/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py index 9d709b16a3d..3bb5efa7a24 100644 --- a/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/streamtube/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "streamtube.colorbar" _path_str = "streamtube.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/colorbar/_title.py b/plotly/graph_objs/streamtube/colorbar/_title.py index 87386c9c36f..e9b903a4b0d 100644 --- a/plotly/graph_objs/streamtube/colorbar/_title.py +++ b/plotly/graph_objs/streamtube/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "streamtube.colorbar" _path_str = "streamtube.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/colorbar/title/_font.py b/plotly/graph_objs/streamtube/colorbar/title/_font.py index e627388168c..a1869a526a6 100644 --- a/plotly/graph_objs/streamtube/colorbar/title/_font.py +++ b/plotly/graph_objs/streamtube/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "streamtube.colorbar.title" _path_str = "streamtube.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/hoverlabel/_font.py b/plotly/graph_objs/streamtube/hoverlabel/_font.py index 7c247ae68a7..d8d34b5758a 100644 --- a/plotly/graph_objs/streamtube/hoverlabel/_font.py +++ b/plotly/graph_objs/streamtube/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "streamtube.hoverlabel" _path_str = "streamtube.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/streamtube/legendgrouptitle/_font.py b/plotly/graph_objs/streamtube/legendgrouptitle/_font.py index 230b8962ffe..3bf085de314 100644 --- a/plotly/graph_objs/streamtube/legendgrouptitle/_font.py +++ b/plotly/graph_objs/streamtube/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "streamtube.legendgrouptitle" _path_str = "streamtube.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.streamtube.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.streamtube.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.streamtube.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_domain.py b/plotly/graph_objs/sunburst/_domain.py index 9c2abb3ea84..5e50ff149c1 100644 --- a/plotly/graph_objs/sunburst/_domain.py +++ b/plotly/graph_objs/sunburst/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Domain`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_hoverlabel.py b/plotly/graph_objs/sunburst/_hoverlabel.py index a3ac8cd836d..bcfd1f51d69 100644 --- a/plotly/graph_objs/sunburst/_hoverlabel.py +++ b/plotly/graph_objs/sunburst/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_insidetextfont.py b/plotly/graph_objs/sunburst/_insidetextfont.py index 9e0ace3a4ef..48d370363cd 100644 --- a/plotly/graph_objs/sunburst/_insidetextfont.py +++ b/plotly/graph_objs/sunburst/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_leaf.py b/plotly/graph_objs/sunburst/_leaf.py index 7e230411ea7..9b996c8d6c4 100644 --- a/plotly/graph_objs/sunburst/_leaf.py +++ b/plotly/graph_objs/sunburst/_leaf.py @@ -6,7 +6,6 @@ class Leaf(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.leaf" _valid_props = {"opacity"} @@ -67,12 +66,10 @@ def __init__(self, arg=None, opacity=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Leaf constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Leaf`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Leaf`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_legendgrouptitle.py b/plotly/graph_objs/sunburst/_legendgrouptitle.py index ae2d34b24d1..ccbc7fd7d36 100644 --- a/plotly/graph_objs/sunburst/_legendgrouptitle.py +++ b/plotly/graph_objs/sunburst/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_marker.py b/plotly/graph_objs/sunburst/_marker.py index 34b86baf99a..4a4234e4fe6 100644 --- a/plotly/graph_objs/sunburst/_marker.py +++ b/plotly/graph_objs/sunburst/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.marker" _valid_props = { @@ -554,12 +553,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Marker`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_outsidetextfont.py b/plotly/graph_objs/sunburst/_outsidetextfont.py index 46837307a27..07709e4bfe8 100644 --- a/plotly/graph_objs/sunburst/_outsidetextfont.py +++ b/plotly/graph_objs/sunburst/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.outsidetextfont" _valid_props = { @@ -562,12 +561,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_root.py b/plotly/graph_objs/sunburst/_root.py index ca090d564b0..87854a87ae4 100644 --- a/plotly/graph_objs/sunburst/_root.py +++ b/plotly/graph_objs/sunburst/_root.py @@ -6,7 +6,6 @@ class Root(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.root" _valid_props = {"color"} @@ -74,12 +73,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Root constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Root`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Root`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_stream.py b/plotly/graph_objs/sunburst/_stream.py index a0f8dd05a6c..5680641b503 100644 --- a/plotly/graph_objs/sunburst/_stream.py +++ b/plotly/graph_objs/sunburst/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Stream`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/_textfont.py b/plotly/graph_objs/sunburst/_textfont.py index cf4bf584773..6dcabc18404 100644 --- a/plotly/graph_objs/sunburst/_textfont.py +++ b/plotly/graph_objs/sunburst/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "sunburst" _path_str = "sunburst.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/hoverlabel/_font.py b/plotly/graph_objs/sunburst/hoverlabel/_font.py index acf3c0f3a5a..33c7f2b74b8 100644 --- a/plotly/graph_objs/sunburst/hoverlabel/_font.py +++ b/plotly/graph_objs/sunburst/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.hoverlabel" _path_str = "sunburst.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/legendgrouptitle/_font.py b/plotly/graph_objs/sunburst/legendgrouptitle/_font.py index 07719d58fea..5b753a2d9a6 100644 --- a/plotly/graph_objs/sunburst/legendgrouptitle/_font.py +++ b/plotly/graph_objs/sunburst/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.legendgrouptitle" _path_str = "sunburst.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/_colorbar.py b/plotly/graph_objs/sunburst/marker/_colorbar.py index 46efaa3886c..af1678945b7 100644 --- a/plotly/graph_objs/sunburst/marker/_colorbar.py +++ b/plotly/graph_objs/sunburst/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker" _path_str = "sunburst.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/_line.py b/plotly/graph_objs/sunburst/marker/_line.py index ce1429a0f08..a14be3b9ec9 100644 --- a/plotly/graph_objs/sunburst/marker/_line.py +++ b/plotly/graph_objs/sunburst/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker" _path_str = "sunburst.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -148,12 +147,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/_pattern.py b/plotly/graph_objs/sunburst/marker/_pattern.py index 56de56ccb51..16346c9f2a6 100644 --- a/plotly/graph_objs/sunburst/marker/_pattern.py +++ b/plotly/graph_objs/sunburst/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker" _path_str = "sunburst.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py b/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py index 05ff4164fb1..04da8811c9c 100644 --- a/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/sunburst/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker.colorbar" _path_str = "sunburst.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py index 148ce1bf68a..893cef9cc2f 100644 --- a/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/sunburst/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker.colorbar" _path_str = "sunburst.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/colorbar/_title.py b/plotly/graph_objs/sunburst/marker/colorbar/_title.py index 718a8fbfb90..c824761b035 100644 --- a/plotly/graph_objs/sunburst/marker/colorbar/_title.py +++ b/plotly/graph_objs/sunburst/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker.colorbar" _path_str = "sunburst.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py b/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py index fef5634cf6a..ba4e0c77cea 100644 --- a/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/sunburst/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "sunburst.marker.colorbar.title" _path_str = "sunburst.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.sunburst.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.sunburst.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_colorbar.py b/plotly/graph_objs/surface/_colorbar.py index a28aca3b8cb..83db758e3fd 100644 --- a/plotly/graph_objs/surface/_colorbar.py +++ b/plotly/graph_objs/surface/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.surface.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_contours.py b/plotly/graph_objs/surface/_contours.py index 125dbf5b2af..9c420966b43 100644 --- a/plotly/graph_objs/surface/_contours.py +++ b/plotly/graph_objs/surface/_contours.py @@ -6,7 +6,6 @@ class Contours(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.contours" _valid_props = {"x", "y", "z"} @@ -118,12 +117,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.Contours constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.Contours`""" - ) +an instance of :class:`plotly.graph_objs.surface.Contours`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_hoverlabel.py b/plotly/graph_objs/surface/_hoverlabel.py index 70bebf1c66c..fef0273938a 100644 --- a/plotly/graph_objs/surface/_hoverlabel.py +++ b/plotly/graph_objs/surface/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.surface.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_legendgrouptitle.py b/plotly/graph_objs/surface/_legendgrouptitle.py index ecee46211bb..d77d8a10198 100644 --- a/plotly/graph_objs/surface/_legendgrouptitle.py +++ b/plotly/graph_objs/surface/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.surface.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_lighting.py b/plotly/graph_objs/surface/_lighting.py index a6c23b38dc0..b8499eee2a9 100644 --- a/plotly/graph_objs/surface/_lighting.py +++ b/plotly/graph_objs/surface/_lighting.py @@ -6,7 +6,6 @@ class Lighting(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.lighting" _valid_props = {"ambient", "diffuse", "fresnel", "roughness", "specular"} @@ -182,12 +181,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.Lighting constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.Lighting`""" - ) +an instance of :class:`plotly.graph_objs.surface.Lighting`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_lightposition.py b/plotly/graph_objs/surface/_lightposition.py index 37ac18575a8..283529da96e 100644 --- a/plotly/graph_objs/surface/_lightposition.py +++ b/plotly/graph_objs/surface/_lightposition.py @@ -6,7 +6,6 @@ class Lightposition(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.lightposition" _valid_props = {"x", "y", "z"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.Lightposition constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.Lightposition`""" - ) +an instance of :class:`plotly.graph_objs.surface.Lightposition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/_stream.py b/plotly/graph_objs/surface/_stream.py index b3903c0a096..70b86026949 100644 --- a/plotly/graph_objs/surface/_stream.py +++ b/plotly/graph_objs/surface/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "surface" _path_str = "surface.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.Stream`""" - ) +an instance of :class:`plotly.graph_objs.surface.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/colorbar/_tickfont.py b/plotly/graph_objs/surface/colorbar/_tickfont.py index c568c4a445b..b8736fc74be 100644 --- a/plotly/graph_objs/surface/colorbar/_tickfont.py +++ b/plotly/graph_objs/surface/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "surface.colorbar" _path_str = "surface.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.surface.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/colorbar/_tickformatstop.py b/plotly/graph_objs/surface/colorbar/_tickformatstop.py index ad3ae6d2131..893ffaf4de5 100644 --- a/plotly/graph_objs/surface/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/surface/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "surface.colorbar" _path_str = "surface.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.surface.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/colorbar/_title.py b/plotly/graph_objs/surface/colorbar/_title.py index 444447ce581..4728e3469bb 100644 --- a/plotly/graph_objs/surface/colorbar/_title.py +++ b/plotly/graph_objs/surface/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "surface.colorbar" _path_str = "surface.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.surface.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/colorbar/title/_font.py b/plotly/graph_objs/surface/colorbar/title/_font.py index a24f2b4faa8..a5d1736e75a 100644 --- a/plotly/graph_objs/surface/colorbar/title/_font.py +++ b/plotly/graph_objs/surface/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "surface.colorbar.title" _path_str = "surface.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.surface.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/contours/_x.py b/plotly/graph_objs/surface/contours/_x.py index 0cd147d0391..9df51307d8a 100644 --- a/plotly/graph_objs/surface/contours/_x.py +++ b/plotly/graph_objs/surface/contours/_x.py @@ -6,7 +6,6 @@ class X(_BaseTraceHierarchyType): - _parent_path_str = "surface.contours" _path_str = "surface.contours.x" _valid_props = { @@ -340,12 +339,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.contours.X constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.contours.X`""" - ) +an instance of :class:`plotly.graph_objs.surface.contours.X`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/contours/_y.py b/plotly/graph_objs/surface/contours/_y.py index e6058388771..00c104246f2 100644 --- a/plotly/graph_objs/surface/contours/_y.py +++ b/plotly/graph_objs/surface/contours/_y.py @@ -6,7 +6,6 @@ class Y(_BaseTraceHierarchyType): - _parent_path_str = "surface.contours" _path_str = "surface.contours.y" _valid_props = { @@ -340,12 +339,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.contours.Y constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.contours.Y`""" - ) +an instance of :class:`plotly.graph_objs.surface.contours.Y`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/contours/_z.py b/plotly/graph_objs/surface/contours/_z.py index c54852be91f..62d241683ed 100644 --- a/plotly/graph_objs/surface/contours/_z.py +++ b/plotly/graph_objs/surface/contours/_z.py @@ -6,7 +6,6 @@ class Z(_BaseTraceHierarchyType): - _parent_path_str = "surface.contours" _path_str = "surface.contours.z" _valid_props = { @@ -340,12 +339,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.contours.Z constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.contours.Z`""" - ) +an instance of :class:`plotly.graph_objs.surface.contours.Z`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/contours/x/_project.py b/plotly/graph_objs/surface/contours/x/_project.py index 580100f0060..d2ac9d60eea 100644 --- a/plotly/graph_objs/surface/contours/x/_project.py +++ b/plotly/graph_objs/surface/contours/x/_project.py @@ -6,7 +6,6 @@ class Project(_BaseTraceHierarchyType): - _parent_path_str = "surface.contours.x" _path_str = "surface.contours.x.project" _valid_props = {"x", "y", "z"} @@ -142,12 +141,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.contours.x.Project constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.contours.x.Project`""" - ) +an instance of :class:`plotly.graph_objs.surface.contours.x.Project`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/contours/y/_project.py b/plotly/graph_objs/surface/contours/y/_project.py index d2b86175e87..9a026aa204d 100644 --- a/plotly/graph_objs/surface/contours/y/_project.py +++ b/plotly/graph_objs/surface/contours/y/_project.py @@ -6,7 +6,6 @@ class Project(_BaseTraceHierarchyType): - _parent_path_str = "surface.contours.y" _path_str = "surface.contours.y.project" _valid_props = {"x", "y", "z"} @@ -142,12 +141,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.contours.y.Project constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.contours.y.Project`""" - ) +an instance of :class:`plotly.graph_objs.surface.contours.y.Project`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/contours/z/_project.py b/plotly/graph_objs/surface/contours/z/_project.py index 00eabf2a1d2..51ae7efa751 100644 --- a/plotly/graph_objs/surface/contours/z/_project.py +++ b/plotly/graph_objs/surface/contours/z/_project.py @@ -6,7 +6,6 @@ class Project(_BaseTraceHierarchyType): - _parent_path_str = "surface.contours.z" _path_str = "surface.contours.z.project" _valid_props = {"x", "y", "z"} @@ -142,12 +141,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.contours.z.Project constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.contours.z.Project`""" - ) +an instance of :class:`plotly.graph_objs.surface.contours.z.Project`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/hoverlabel/_font.py b/plotly/graph_objs/surface/hoverlabel/_font.py index 988b39cabfc..32d05eaad33 100644 --- a/plotly/graph_objs/surface/hoverlabel/_font.py +++ b/plotly/graph_objs/surface/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "surface.hoverlabel" _path_str = "surface.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.surface.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/surface/legendgrouptitle/_font.py b/plotly/graph_objs/surface/legendgrouptitle/_font.py index a4d9577f722..37ecb290bb2 100644 --- a/plotly/graph_objs/surface/legendgrouptitle/_font.py +++ b/plotly/graph_objs/surface/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "surface.legendgrouptitle" _path_str = "surface.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.surface.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.surface.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.surface.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/_cells.py b/plotly/graph_objs/table/_cells.py index 58d1c220ac6..083afdd03ca 100644 --- a/plotly/graph_objs/table/_cells.py +++ b/plotly/graph_objs/table/_cells.py @@ -6,7 +6,6 @@ class Cells(_BaseTraceHierarchyType): - _parent_path_str = "table" _path_str = "table.cells" _valid_props = { @@ -439,12 +438,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.Cells constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.Cells`""" - ) +an instance of :class:`plotly.graph_objs.table.Cells`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/_domain.py b/plotly/graph_objs/table/_domain.py index ae906a4b5bb..5cc3241f953 100644 --- a/plotly/graph_objs/table/_domain.py +++ b/plotly/graph_objs/table/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "table" _path_str = "table.domain" _valid_props = {"column", "row", "x", "y"} @@ -154,12 +153,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.Domain`""" - ) +an instance of :class:`plotly.graph_objs.table.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/_header.py b/plotly/graph_objs/table/_header.py index cf30763ab61..5a4f6f6bac3 100644 --- a/plotly/graph_objs/table/_header.py +++ b/plotly/graph_objs/table/_header.py @@ -6,7 +6,6 @@ class Header(_BaseTraceHierarchyType): - _parent_path_str = "table" _path_str = "table.header" _valid_props = { @@ -439,12 +438,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.Header constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.Header`""" - ) +an instance of :class:`plotly.graph_objs.table.Header`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/_hoverlabel.py b/plotly/graph_objs/table/_hoverlabel.py index 6cd2eba57dc..3f41e951317 100644 --- a/plotly/graph_objs/table/_hoverlabel.py +++ b/plotly/graph_objs/table/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "table" _path_str = "table.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.table.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/_legendgrouptitle.py b/plotly/graph_objs/table/_legendgrouptitle.py index 49b6fd734c7..3ce6859eb29 100644 --- a/plotly/graph_objs/table/_legendgrouptitle.py +++ b/plotly/graph_objs/table/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "table" _path_str = "table.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.table.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/_stream.py b/plotly/graph_objs/table/_stream.py index e79f83fa720..24b93ee4d9d 100644 --- a/plotly/graph_objs/table/_stream.py +++ b/plotly/graph_objs/table/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "table" _path_str = "table.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.Stream`""" - ) +an instance of :class:`plotly.graph_objs.table.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/cells/_fill.py b/plotly/graph_objs/table/cells/_fill.py index e625f0c048b..7767853d5a6 100644 --- a/plotly/graph_objs/table/cells/_fill.py +++ b/plotly/graph_objs/table/cells/_fill.py @@ -6,7 +6,6 @@ class Fill(_BaseTraceHierarchyType): - _parent_path_str = "table.cells" _path_str = "table.cells.fill" _valid_props = {"color", "colorsrc"} @@ -97,12 +96,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.cells.Fill constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.cells.Fill`""" - ) +an instance of :class:`plotly.graph_objs.table.cells.Fill`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/cells/_font.py b/plotly/graph_objs/table/cells/_font.py index 4f5f006f79c..c0f59ea950a 100644 --- a/plotly/graph_objs/table/cells/_font.py +++ b/plotly/graph_objs/table/cells/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "table.cells" _path_str = "table.cells.font" _valid_props = { @@ -556,12 +555,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.cells.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.cells.Font`""" - ) +an instance of :class:`plotly.graph_objs.table.cells.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/cells/_line.py b/plotly/graph_objs/table/cells/_line.py index 5dc7286a827..91583312423 100644 --- a/plotly/graph_objs/table/cells/_line.py +++ b/plotly/graph_objs/table/cells/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "table.cells" _path_str = "table.cells.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -139,12 +138,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.cells.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.cells.Line`""" - ) +an instance of :class:`plotly.graph_objs.table.cells.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/header/_fill.py b/plotly/graph_objs/table/header/_fill.py index 5ce91c4eb05..156dd952433 100644 --- a/plotly/graph_objs/table/header/_fill.py +++ b/plotly/graph_objs/table/header/_fill.py @@ -6,7 +6,6 @@ class Fill(_BaseTraceHierarchyType): - _parent_path_str = "table.header" _path_str = "table.header.fill" _valid_props = {"color", "colorsrc"} @@ -97,12 +96,10 @@ def __init__(self, arg=None, color=None, colorsrc=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.header.Fill constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.header.Fill`""" - ) +an instance of :class:`plotly.graph_objs.table.header.Fill`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/header/_font.py b/plotly/graph_objs/table/header/_font.py index cc2a81f26d5..7b39fc08bb2 100644 --- a/plotly/graph_objs/table/header/_font.py +++ b/plotly/graph_objs/table/header/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "table.header" _path_str = "table.header.font" _valid_props = { @@ -556,12 +555,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.header.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.header.Font`""" - ) +an instance of :class:`plotly.graph_objs.table.header.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/header/_line.py b/plotly/graph_objs/table/header/_line.py index f1e4c71e282..0c7e311e8e6 100644 --- a/plotly/graph_objs/table/header/_line.py +++ b/plotly/graph_objs/table/header/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "table.header" _path_str = "table.header.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -139,12 +138,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.header.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.header.Line`""" - ) +an instance of :class:`plotly.graph_objs.table.header.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/hoverlabel/_font.py b/plotly/graph_objs/table/hoverlabel/_font.py index 4d8d02adedc..d43a1e298de 100644 --- a/plotly/graph_objs/table/hoverlabel/_font.py +++ b/plotly/graph_objs/table/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "table.hoverlabel" _path_str = "table.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.table.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/table/legendgrouptitle/_font.py b/plotly/graph_objs/table/legendgrouptitle/_font.py index 8b7f26a9249..8111db02db6 100644 --- a/plotly/graph_objs/table/legendgrouptitle/_font.py +++ b/plotly/graph_objs/table/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "table.legendgrouptitle" _path_str = "table.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.table.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.table.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.table.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_domain.py b/plotly/graph_objs/treemap/_domain.py index 92bb0149610..21b63ad7a2c 100644 --- a/plotly/graph_objs/treemap/_domain.py +++ b/plotly/graph_objs/treemap/_domain.py @@ -6,7 +6,6 @@ class Domain(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.domain" _valid_props = {"column", "row", "x", "y"} @@ -155,12 +154,10 @@ def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Domain constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Domain`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Domain`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_hoverlabel.py b/plotly/graph_objs/treemap/_hoverlabel.py index 9a59665ff5e..a5131181de1 100644 --- a/plotly/graph_objs/treemap/_hoverlabel.py +++ b/plotly/graph_objs/treemap/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_insidetextfont.py b/plotly/graph_objs/treemap/_insidetextfont.py index 889a6d980b2..2587366adfc 100644 --- a/plotly/graph_objs/treemap/_insidetextfont.py +++ b/plotly/graph_objs/treemap/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_legendgrouptitle.py b/plotly/graph_objs/treemap/_legendgrouptitle.py index d2b05b787ff..8a630dce377 100644 --- a/plotly/graph_objs/treemap/_legendgrouptitle.py +++ b/plotly/graph_objs/treemap/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_marker.py b/plotly/graph_objs/treemap/_marker.py index 4783555d02b..2d2af08ac58 100644 --- a/plotly/graph_objs/treemap/_marker.py +++ b/plotly/graph_objs/treemap/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.marker" _valid_props = { @@ -653,12 +652,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Marker`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_outsidetextfont.py b/plotly/graph_objs/treemap/_outsidetextfont.py index 2207cb5c825..2bbe923c54d 100644 --- a/plotly/graph_objs/treemap/_outsidetextfont.py +++ b/plotly/graph_objs/treemap/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.outsidetextfont" _valid_props = { @@ -562,12 +561,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_pathbar.py b/plotly/graph_objs/treemap/_pathbar.py index 2017552e682..295cc48086c 100644 --- a/plotly/graph_objs/treemap/_pathbar.py +++ b/plotly/graph_objs/treemap/_pathbar.py @@ -6,7 +6,6 @@ class Pathbar(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.pathbar" _valid_props = {"edgeshape", "side", "textfont", "thickness", "visible"} @@ -182,12 +181,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Pathbar constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Pathbar`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Pathbar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_root.py b/plotly/graph_objs/treemap/_root.py index 0e850b495d2..9ab16ee3e51 100644 --- a/plotly/graph_objs/treemap/_root.py +++ b/plotly/graph_objs/treemap/_root.py @@ -6,7 +6,6 @@ class Root(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.root" _valid_props = {"color"} @@ -74,12 +73,10 @@ def __init__(self, arg=None, color=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Root constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Root`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Root`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_stream.py b/plotly/graph_objs/treemap/_stream.py index 304280d694f..54bbfd73c23 100644 --- a/plotly/graph_objs/treemap/_stream.py +++ b/plotly/graph_objs/treemap/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Stream`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_textfont.py b/plotly/graph_objs/treemap/_textfont.py index 72bc3515284..16f5ef0ecae 100644 --- a/plotly/graph_objs/treemap/_textfont.py +++ b/plotly/graph_objs/treemap/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/_tiling.py b/plotly/graph_objs/treemap/_tiling.py index 26f23971291..36d677ebd63 100644 --- a/plotly/graph_objs/treemap/_tiling.py +++ b/plotly/graph_objs/treemap/_tiling.py @@ -6,7 +6,6 @@ class Tiling(_BaseTraceHierarchyType): - _parent_path_str = "treemap" _path_str = "treemap.tiling" _valid_props = {"flip", "packing", "pad", "squarifyratio"} @@ -180,12 +179,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.Tiling constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.Tiling`""" - ) +an instance of :class:`plotly.graph_objs.treemap.Tiling`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/hoverlabel/_font.py b/plotly/graph_objs/treemap/hoverlabel/_font.py index fcf6a69b5e6..106b281e517 100644 --- a/plotly/graph_objs/treemap/hoverlabel/_font.py +++ b/plotly/graph_objs/treemap/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "treemap.hoverlabel" _path_str = "treemap.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.treemap.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/legendgrouptitle/_font.py b/plotly/graph_objs/treemap/legendgrouptitle/_font.py index a36a5497942..d0cda3da4f9 100644 --- a/plotly/graph_objs/treemap/legendgrouptitle/_font.py +++ b/plotly/graph_objs/treemap/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "treemap.legendgrouptitle" _path_str = "treemap.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.treemap.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/_colorbar.py b/plotly/graph_objs/treemap/marker/_colorbar.py index e6e38058c4f..a59fb86066b 100644 --- a/plotly/graph_objs/treemap/marker/_colorbar.py +++ b/plotly/graph_objs/treemap/marker/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker" _path_str = "treemap.marker.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/_line.py b/plotly/graph_objs/treemap/marker/_line.py index b2b3dba8803..59f149a389f 100644 --- a/plotly/graph_objs/treemap/marker/_line.py +++ b/plotly/graph_objs/treemap/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker" _path_str = "treemap.marker.line" _valid_props = {"color", "colorsrc", "width", "widthsrc"} @@ -148,12 +147,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/_pad.py b/plotly/graph_objs/treemap/marker/_pad.py index d78fc030012..f3b58b7d64a 100644 --- a/plotly/graph_objs/treemap/marker/_pad.py +++ b/plotly/graph_objs/treemap/marker/_pad.py @@ -6,7 +6,6 @@ class Pad(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker" _path_str = "treemap.marker.pad" _valid_props = {"b", "l", "r", "t"} @@ -131,12 +130,10 @@ def __init__(self, arg=None, b=None, l=None, r=None, t=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.Pad constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.Pad`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.Pad`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/_pattern.py b/plotly/graph_objs/treemap/marker/_pattern.py index c7e9825e8f1..faa03c41462 100644 --- a/plotly/graph_objs/treemap/marker/_pattern.py +++ b/plotly/graph_objs/treemap/marker/_pattern.py @@ -6,7 +6,6 @@ class Pattern(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker" _path_str = "treemap.marker.pattern" _valid_props = { @@ -410,12 +409,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.Pattern constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.Pattern`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.Pattern`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py b/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py index 1ee9fa71af8..54b017321cf 100644 --- a/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py +++ b/plotly/graph_objs/treemap/marker/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker.colorbar" _path_str = "treemap.marker.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py b/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py index 451e7c388b6..08aeb3e6d4a 100644 --- a/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/treemap/marker/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker.colorbar" _path_str = "treemap.marker.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/colorbar/_title.py b/plotly/graph_objs/treemap/marker/colorbar/_title.py index 29bac042af0..9e1633f7248 100644 --- a/plotly/graph_objs/treemap/marker/colorbar/_title.py +++ b/plotly/graph_objs/treemap/marker/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker.colorbar" _path_str = "treemap.marker.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/marker/colorbar/title/_font.py b/plotly/graph_objs/treemap/marker/colorbar/title/_font.py index 7afefe673da..556b314359f 100644 --- a/plotly/graph_objs/treemap/marker/colorbar/title/_font.py +++ b/plotly/graph_objs/treemap/marker/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "treemap.marker.colorbar.title" _path_str = "treemap.marker.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.marker.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.treemap.marker.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/treemap/pathbar/_textfont.py b/plotly/graph_objs/treemap/pathbar/_textfont.py index a7c9b59d013..0475771404a 100644 --- a/plotly/graph_objs/treemap/pathbar/_textfont.py +++ b/plotly/graph_objs/treemap/pathbar/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "treemap.pathbar" _path_str = "treemap.pathbar.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.treemap.pathbar.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.treemap.pathbar.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.treemap.pathbar.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_box.py b/plotly/graph_objs/violin/_box.py index c9a7d8855c4..7aa241eff79 100644 --- a/plotly/graph_objs/violin/_box.py +++ b/plotly/graph_objs/violin/_box.py @@ -6,7 +6,6 @@ class Box(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.box" _valid_props = {"fillcolor", "line", "visible", "width"} @@ -148,12 +147,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Box constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Box`""" - ) +an instance of :class:`plotly.graph_objs.violin.Box`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_hoverlabel.py b/plotly/graph_objs/violin/_hoverlabel.py index 94c528347dc..b5bdfcd53ae 100644 --- a/plotly/graph_objs/violin/_hoverlabel.py +++ b/plotly/graph_objs/violin/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.violin.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_legendgrouptitle.py b/plotly/graph_objs/violin/_legendgrouptitle.py index 1051d22a880..2345d278060 100644 --- a/plotly/graph_objs/violin/_legendgrouptitle.py +++ b/plotly/graph_objs/violin/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.violin.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_line.py b/plotly/graph_objs/violin/_line.py index 4bfa170f360..e4b50d69819 100644 --- a/plotly/graph_objs/violin/_line.py +++ b/plotly/graph_objs/violin/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.line" _valid_props = {"color", "width"} @@ -90,12 +89,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Line`""" - ) +an instance of :class:`plotly.graph_objs.violin.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_marker.py b/plotly/graph_objs/violin/_marker.py index 4a6f84a19d6..6389cae0948 100644 --- a/plotly/graph_objs/violin/_marker.py +++ b/plotly/graph_objs/violin/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.marker" _valid_props = { @@ -339,12 +338,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Marker`""" - ) +an instance of :class:`plotly.graph_objs.violin.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_meanline.py b/plotly/graph_objs/violin/_meanline.py index 0610fa9da10..4eecef24909 100644 --- a/plotly/graph_objs/violin/_meanline.py +++ b/plotly/graph_objs/violin/_meanline.py @@ -6,7 +6,6 @@ class Meanline(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.meanline" _valid_props = {"color", "visible", "width"} @@ -124,12 +123,10 @@ def __init__(self, arg=None, color=None, visible=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Meanline constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Meanline`""" - ) +an instance of :class:`plotly.graph_objs.violin.Meanline`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_selected.py b/plotly/graph_objs/violin/_selected.py index 7d60f7b232b..ec18b8f8fb7 100644 --- a/plotly/graph_objs/violin/_selected.py +++ b/plotly/graph_objs/violin/_selected.py @@ -6,7 +6,6 @@ class Selected(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.selected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Selected constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Selected`""" - ) +an instance of :class:`plotly.graph_objs.violin.Selected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_stream.py b/plotly/graph_objs/violin/_stream.py index 2891caf202d..959e45539e7 100644 --- a/plotly/graph_objs/violin/_stream.py +++ b/plotly/graph_objs/violin/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Stream`""" - ) +an instance of :class:`plotly.graph_objs.violin.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/_unselected.py b/plotly/graph_objs/violin/_unselected.py index 3889d2299eb..9e13dda8d04 100644 --- a/plotly/graph_objs/violin/_unselected.py +++ b/plotly/graph_objs/violin/_unselected.py @@ -6,7 +6,6 @@ class Unselected(_BaseTraceHierarchyType): - _parent_path_str = "violin" _path_str = "violin.unselected" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.Unselected constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.Unselected`""" - ) +an instance of :class:`plotly.graph_objs.violin.Unselected`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/box/_line.py b/plotly/graph_objs/violin/box/_line.py index 496339a3d71..aab887d83a4 100644 --- a/plotly/graph_objs/violin/box/_line.py +++ b/plotly/graph_objs/violin/box/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "violin.box" _path_str = "violin.box.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.box.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.box.Line`""" - ) +an instance of :class:`plotly.graph_objs.violin.box.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/hoverlabel/_font.py b/plotly/graph_objs/violin/hoverlabel/_font.py index 2e54df8f6fc..190b7e00741 100644 --- a/plotly/graph_objs/violin/hoverlabel/_font.py +++ b/plotly/graph_objs/violin/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "violin.hoverlabel" _path_str = "violin.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.violin.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/legendgrouptitle/_font.py b/plotly/graph_objs/violin/legendgrouptitle/_font.py index 8f573bf47fa..d9bd7adab22 100644 --- a/plotly/graph_objs/violin/legendgrouptitle/_font.py +++ b/plotly/graph_objs/violin/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "violin.legendgrouptitle" _path_str = "violin.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.violin.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/marker/_line.py b/plotly/graph_objs/violin/marker/_line.py index e80cc186cd2..b46ec9473a9 100644 --- a/plotly/graph_objs/violin/marker/_line.py +++ b/plotly/graph_objs/violin/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "violin.marker" _path_str = "violin.marker.line" _valid_props = {"color", "outliercolor", "outlierwidth", "width"} @@ -166,12 +165,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.violin.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/selected/_marker.py b/plotly/graph_objs/violin/selected/_marker.py index 5dffaba4864..79d5ec044c6 100644 --- a/plotly/graph_objs/violin/selected/_marker.py +++ b/plotly/graph_objs/violin/selected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "violin.selected" _path_str = "violin.selected.marker" _valid_props = {"color", "opacity", "size"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.selected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.selected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.violin.selected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/violin/unselected/_marker.py b/plotly/graph_objs/violin/unselected/_marker.py index a13396b5d0d..657f722c602 100644 --- a/plotly/graph_objs/violin/unselected/_marker.py +++ b/plotly/graph_objs/violin/unselected/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "violin.unselected" _path_str = "violin.unselected.marker" _valid_props = {"color", "opacity", "size"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.violin.unselected.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.violin.unselected.Marker`""" - ) +an instance of :class:`plotly.graph_objs.violin.unselected.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_caps.py b/plotly/graph_objs/volume/_caps.py index 3b273a02529..20d444367cb 100644 --- a/plotly/graph_objs/volume/_caps.py +++ b/plotly/graph_objs/volume/_caps.py @@ -6,7 +6,6 @@ class Caps(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.caps" _valid_props = {"x", "y", "z"} @@ -117,12 +116,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Caps constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Caps`""" - ) +an instance of :class:`plotly.graph_objs.volume.Caps`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_colorbar.py b/plotly/graph_objs/volume/_colorbar.py index ec9959f1449..938432362a1 100644 --- a/plotly/graph_objs/volume/_colorbar.py +++ b/plotly/graph_objs/volume/_colorbar.py @@ -6,7 +6,6 @@ class ColorBar(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.colorbar" _valid_props = { @@ -1662,12 +1661,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.ColorBar constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.ColorBar`""" - ) +an instance of :class:`plotly.graph_objs.volume.ColorBar`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_contour.py b/plotly/graph_objs/volume/_contour.py index 2190f08f2c5..61a81b52bb7 100644 --- a/plotly/graph_objs/volume/_contour.py +++ b/plotly/graph_objs/volume/_contour.py @@ -6,7 +6,6 @@ class Contour(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.contour" _valid_props = {"color", "show", "width"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, color=None, show=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Contour constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Contour`""" - ) +an instance of :class:`plotly.graph_objs.volume.Contour`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_hoverlabel.py b/plotly/graph_objs/volume/_hoverlabel.py index 5602c1f924b..1236f19b2b2 100644 --- a/plotly/graph_objs/volume/_hoverlabel.py +++ b/plotly/graph_objs/volume/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.volume.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_legendgrouptitle.py b/plotly/graph_objs/volume/_legendgrouptitle.py index e9b36293513..5d92a29522e 100644 --- a/plotly/graph_objs/volume/_legendgrouptitle.py +++ b/plotly/graph_objs/volume/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.volume.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_lighting.py b/plotly/graph_objs/volume/_lighting.py index 3e9612ffa53..3d01d1e5581 100644 --- a/plotly/graph_objs/volume/_lighting.py +++ b/plotly/graph_objs/volume/_lighting.py @@ -6,7 +6,6 @@ class Lighting(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.lighting" _valid_props = { @@ -242,12 +241,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Lighting constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Lighting`""" - ) +an instance of :class:`plotly.graph_objs.volume.Lighting`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_lightposition.py b/plotly/graph_objs/volume/_lightposition.py index 8b1ab5b88de..50fcd20d40a 100644 --- a/plotly/graph_objs/volume/_lightposition.py +++ b/plotly/graph_objs/volume/_lightposition.py @@ -6,7 +6,6 @@ class Lightposition(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.lightposition" _valid_props = {"x", "y", "z"} @@ -115,12 +114,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Lightposition constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Lightposition`""" - ) +an instance of :class:`plotly.graph_objs.volume.Lightposition`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_slices.py b/plotly/graph_objs/volume/_slices.py index 84938f11cb9..6faf4de812e 100644 --- a/plotly/graph_objs/volume/_slices.py +++ b/plotly/graph_objs/volume/_slices.py @@ -6,7 +6,6 @@ class Slices(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.slices" _valid_props = {"x", "y", "z"} @@ -117,12 +116,10 @@ def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Slices constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Slices`""" - ) +an instance of :class:`plotly.graph_objs.volume.Slices`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_spaceframe.py b/plotly/graph_objs/volume/_spaceframe.py index 112bfa2ea67..ff07188f9e2 100644 --- a/plotly/graph_objs/volume/_spaceframe.py +++ b/plotly/graph_objs/volume/_spaceframe.py @@ -6,7 +6,6 @@ class Spaceframe(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.spaceframe" _valid_props = {"fill", "show"} @@ -104,12 +103,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Spaceframe constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Spaceframe`""" - ) +an instance of :class:`plotly.graph_objs.volume.Spaceframe`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_stream.py b/plotly/graph_objs/volume/_stream.py index 8dc9b6fb433..272624b252a 100644 --- a/plotly/graph_objs/volume/_stream.py +++ b/plotly/graph_objs/volume/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.stream" _valid_props = {"maxpoints", "token"} @@ -100,12 +99,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Stream`""" - ) +an instance of :class:`plotly.graph_objs.volume.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/_surface.py b/plotly/graph_objs/volume/_surface.py index 1b9812a9a98..0f35f1beb62 100644 --- a/plotly/graph_objs/volume/_surface.py +++ b/plotly/graph_objs/volume/_surface.py @@ -6,7 +6,6 @@ class Surface(_BaseTraceHierarchyType): - _parent_path_str = "volume" _path_str = "volume.surface" _valid_props = {"count", "fill", "pattern", "show"} @@ -178,12 +177,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.Surface constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.Surface`""" - ) +an instance of :class:`plotly.graph_objs.volume.Surface`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/caps/_x.py b/plotly/graph_objs/volume/caps/_x.py index f7a92b3c8ff..2c3c692eb78 100644 --- a/plotly/graph_objs/volume/caps/_x.py +++ b/plotly/graph_objs/volume/caps/_x.py @@ -6,7 +6,6 @@ class X(_BaseTraceHierarchyType): - _parent_path_str = "volume.caps" _path_str = "volume.caps.x" _valid_props = {"fill", "show"} @@ -108,12 +107,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.caps.X constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.caps.X`""" - ) +an instance of :class:`plotly.graph_objs.volume.caps.X`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/caps/_y.py b/plotly/graph_objs/volume/caps/_y.py index 0ff10c6f9e5..6ad9bdeb0a7 100644 --- a/plotly/graph_objs/volume/caps/_y.py +++ b/plotly/graph_objs/volume/caps/_y.py @@ -6,7 +6,6 @@ class Y(_BaseTraceHierarchyType): - _parent_path_str = "volume.caps" _path_str = "volume.caps.y" _valid_props = {"fill", "show"} @@ -108,12 +107,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.caps.Y constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.caps.Y`""" - ) +an instance of :class:`plotly.graph_objs.volume.caps.Y`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/caps/_z.py b/plotly/graph_objs/volume/caps/_z.py index a9bcd9c44e7..37064fd7a44 100644 --- a/plotly/graph_objs/volume/caps/_z.py +++ b/plotly/graph_objs/volume/caps/_z.py @@ -6,7 +6,6 @@ class Z(_BaseTraceHierarchyType): - _parent_path_str = "volume.caps" _path_str = "volume.caps.z" _valid_props = {"fill", "show"} @@ -108,12 +107,10 @@ def __init__(self, arg=None, fill=None, show=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.caps.Z constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.caps.Z`""" - ) +an instance of :class:`plotly.graph_objs.volume.caps.Z`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/colorbar/_tickfont.py b/plotly/graph_objs/volume/colorbar/_tickfont.py index d851fe9bb5d..ad46aa79331 100644 --- a/plotly/graph_objs/volume/colorbar/_tickfont.py +++ b/plotly/graph_objs/volume/colorbar/_tickfont.py @@ -6,7 +6,6 @@ class Tickfont(_BaseTraceHierarchyType): - _parent_path_str = "volume.colorbar" _path_str = "volume.colorbar.tickfont" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.colorbar.Tickfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.colorbar.Tickfont`""" - ) +an instance of :class:`plotly.graph_objs.volume.colorbar.Tickfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/colorbar/_tickformatstop.py b/plotly/graph_objs/volume/colorbar/_tickformatstop.py index 918dcd4992d..67ddb279d77 100644 --- a/plotly/graph_objs/volume/colorbar/_tickformatstop.py +++ b/plotly/graph_objs/volume/colorbar/_tickformatstop.py @@ -6,7 +6,6 @@ class Tickformatstop(_BaseTraceHierarchyType): - _parent_path_str = "volume.colorbar" _path_str = "volume.colorbar.tickformatstop" _valid_props = {"dtickrange", "enabled", "name", "templateitemname", "value"} @@ -225,12 +224,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.colorbar.Tickformatstop constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.colorbar.Tickformatstop`""" - ) +an instance of :class:`plotly.graph_objs.volume.colorbar.Tickformatstop`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/colorbar/_title.py b/plotly/graph_objs/volume/colorbar/_title.py index 759532da0e9..17a9258c40f 100644 --- a/plotly/graph_objs/volume/colorbar/_title.py +++ b/plotly/graph_objs/volume/colorbar/_title.py @@ -6,7 +6,6 @@ class Title(_BaseTraceHierarchyType): - _parent_path_str = "volume.colorbar" _path_str = "volume.colorbar.title" _valid_props = {"font", "side", "text"} @@ -122,12 +121,10 @@ def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.colorbar.Title constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.colorbar.Title`""" - ) +an instance of :class:`plotly.graph_objs.volume.colorbar.Title`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/colorbar/title/_font.py b/plotly/graph_objs/volume/colorbar/title/_font.py index 7529bd09c00..cf0cb0de68e 100644 --- a/plotly/graph_objs/volume/colorbar/title/_font.py +++ b/plotly/graph_objs/volume/colorbar/title/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "volume.colorbar.title" _path_str = "volume.colorbar.title.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.colorbar.title.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.colorbar.title.Font`""" - ) +an instance of :class:`plotly.graph_objs.volume.colorbar.title.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/hoverlabel/_font.py b/plotly/graph_objs/volume/hoverlabel/_font.py index 77794cf3f20..43ab7f3915b 100644 --- a/plotly/graph_objs/volume/hoverlabel/_font.py +++ b/plotly/graph_objs/volume/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "volume.hoverlabel" _path_str = "volume.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.volume.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/legendgrouptitle/_font.py b/plotly/graph_objs/volume/legendgrouptitle/_font.py index 2f508e87526..59553af6eff 100644 --- a/plotly/graph_objs/volume/legendgrouptitle/_font.py +++ b/plotly/graph_objs/volume/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "volume.legendgrouptitle" _path_str = "volume.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.volume.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/slices/_x.py b/plotly/graph_objs/volume/slices/_x.py index 16e8e139d2a..b77e2c4af5f 100644 --- a/plotly/graph_objs/volume/slices/_x.py +++ b/plotly/graph_objs/volume/slices/_x.py @@ -6,7 +6,6 @@ class X(_BaseTraceHierarchyType): - _parent_path_str = "volume.slices" _path_str = "volume.slices.x" _valid_props = {"fill", "locations", "locationssrc", "show"} @@ -162,12 +161,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.slices.X constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.slices.X`""" - ) +an instance of :class:`plotly.graph_objs.volume.slices.X`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/slices/_y.py b/plotly/graph_objs/volume/slices/_y.py index a6f1fac4262..feb362278d8 100644 --- a/plotly/graph_objs/volume/slices/_y.py +++ b/plotly/graph_objs/volume/slices/_y.py @@ -6,7 +6,6 @@ class Y(_BaseTraceHierarchyType): - _parent_path_str = "volume.slices" _path_str = "volume.slices.y" _valid_props = {"fill", "locations", "locationssrc", "show"} @@ -162,12 +161,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.slices.Y constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.slices.Y`""" - ) +an instance of :class:`plotly.graph_objs.volume.slices.Y`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/volume/slices/_z.py b/plotly/graph_objs/volume/slices/_z.py index 37bb008f59f..4b37d9d764c 100644 --- a/plotly/graph_objs/volume/slices/_z.py +++ b/plotly/graph_objs/volume/slices/_z.py @@ -6,7 +6,6 @@ class Z(_BaseTraceHierarchyType): - _parent_path_str = "volume.slices" _path_str = "volume.slices.z" _valid_props = {"fill", "locations", "locationssrc", "show"} @@ -162,12 +161,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.volume.slices.Z constructor must be a dict or -an instance of :class:`plotly.graph_objs.volume.slices.Z`""" - ) +an instance of :class:`plotly.graph_objs.volume.slices.Z`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_connector.py b/plotly/graph_objs/waterfall/_connector.py index 3532fa9ade1..e76bd9d4ed6 100644 --- a/plotly/graph_objs/waterfall/_connector.py +++ b/plotly/graph_objs/waterfall/_connector.py @@ -6,7 +6,6 @@ class Connector(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.connector" _valid_props = {"line", "mode", "visible"} @@ -113,12 +112,10 @@ def __init__(self, arg=None, line=None, mode=None, visible=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Connector constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Connector`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Connector`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_decreasing.py b/plotly/graph_objs/waterfall/_decreasing.py index 1433be21870..b472b42da76 100644 --- a/plotly/graph_objs/waterfall/_decreasing.py +++ b/plotly/graph_objs/waterfall/_decreasing.py @@ -6,7 +6,6 @@ class Decreasing(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.decreasing" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Decreasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Decreasing`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Decreasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_hoverlabel.py b/plotly/graph_objs/waterfall/_hoverlabel.py index 02df5c7623e..8d7176b9ac8 100644 --- a/plotly/graph_objs/waterfall/_hoverlabel.py +++ b/plotly/graph_objs/waterfall/_hoverlabel.py @@ -6,7 +6,6 @@ class Hoverlabel(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.hoverlabel" _valid_props = { @@ -318,12 +317,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Hoverlabel constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Hoverlabel`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Hoverlabel`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_increasing.py b/plotly/graph_objs/waterfall/_increasing.py index d36313c5fd3..1a2d447084b 100644 --- a/plotly/graph_objs/waterfall/_increasing.py +++ b/plotly/graph_objs/waterfall/_increasing.py @@ -6,7 +6,6 @@ class Increasing(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.increasing" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Increasing constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Increasing`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Increasing`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_insidetextfont.py b/plotly/graph_objs/waterfall/_insidetextfont.py index c918e211648..a316c5ff6a5 100644 --- a/plotly/graph_objs/waterfall/_insidetextfont.py +++ b/plotly/graph_objs/waterfall/_insidetextfont.py @@ -6,7 +6,6 @@ class Insidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.insidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Insidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Insidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Insidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_legendgrouptitle.py b/plotly/graph_objs/waterfall/_legendgrouptitle.py index d57811c7aa7..9b2950152d5 100644 --- a/plotly/graph_objs/waterfall/_legendgrouptitle.py +++ b/plotly/graph_objs/waterfall/_legendgrouptitle.py @@ -6,7 +6,6 @@ class Legendgrouptitle(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.legendgrouptitle" _valid_props = {"font", "text"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, font=None, text=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Legendgrouptitle constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Legendgrouptitle`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Legendgrouptitle`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_outsidetextfont.py b/plotly/graph_objs/waterfall/_outsidetextfont.py index 38fe043f8c9..8e1371b9277 100644 --- a/plotly/graph_objs/waterfall/_outsidetextfont.py +++ b/plotly/graph_objs/waterfall/_outsidetextfont.py @@ -6,7 +6,6 @@ class Outsidetextfont(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.outsidetextfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Outsidetextfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Outsidetextfont`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Outsidetextfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_stream.py b/plotly/graph_objs/waterfall/_stream.py index c0c4a9db8df..488e44dfcec 100644 --- a/plotly/graph_objs/waterfall/_stream.py +++ b/plotly/graph_objs/waterfall/_stream.py @@ -6,7 +6,6 @@ class Stream(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.stream" _valid_props = {"maxpoints", "token"} @@ -101,12 +100,10 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Stream constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Stream`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Stream`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_textfont.py b/plotly/graph_objs/waterfall/_textfont.py index 8fd220afe58..5f6640e5f99 100644 --- a/plotly/graph_objs/waterfall/_textfont.py +++ b/plotly/graph_objs/waterfall/_textfont.py @@ -6,7 +6,6 @@ class Textfont(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.textfont" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Textfont constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Textfont`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Textfont`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/_totals.py b/plotly/graph_objs/waterfall/_totals.py index 79c8cd300cf..d7f4431f3b8 100644 --- a/plotly/graph_objs/waterfall/_totals.py +++ b/plotly/graph_objs/waterfall/_totals.py @@ -6,7 +6,6 @@ class Totals(_BaseTraceHierarchyType): - _parent_path_str = "waterfall" _path_str = "waterfall.totals" _valid_props = {"marker"} @@ -68,12 +67,10 @@ def __init__(self, arg=None, marker=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.Totals constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.Totals`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.Totals`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/connector/_line.py b/plotly/graph_objs/waterfall/connector/_line.py index 46a8c33f586..299b5ea516f 100644 --- a/plotly/graph_objs/waterfall/connector/_line.py +++ b/plotly/graph_objs/waterfall/connector/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.connector" _path_str = "waterfall.connector.line" _valid_props = {"color", "dash", "width"} @@ -125,12 +124,10 @@ def __init__(self, arg=None, color=None, dash=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.connector.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.connector.Line`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.connector.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/decreasing/_marker.py b/plotly/graph_objs/waterfall/decreasing/_marker.py index a4320abf13d..a8f49ee6e51 100644 --- a/plotly/graph_objs/waterfall/decreasing/_marker.py +++ b/plotly/graph_objs/waterfall/decreasing/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.decreasing" _path_str = "waterfall.decreasing.marker" _valid_props = {"color", "line"} @@ -94,12 +93,10 @@ def __init__(self, arg=None, color=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.decreasing.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.decreasing.Marker`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.decreasing.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/decreasing/marker/_line.py b/plotly/graph_objs/waterfall/decreasing/marker/_line.py index 611fdbf0a94..746fdb4e1ff 100644 --- a/plotly/graph_objs/waterfall/decreasing/marker/_line.py +++ b/plotly/graph_objs/waterfall/decreasing/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.decreasing.marker" _path_str = "waterfall.decreasing.marker.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.decreasing.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.decreasing.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.decreasing.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/hoverlabel/_font.py b/plotly/graph_objs/waterfall/hoverlabel/_font.py index d1522a0fb2f..025c5dc5352 100644 --- a/plotly/graph_objs/waterfall/hoverlabel/_font.py +++ b/plotly/graph_objs/waterfall/hoverlabel/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.hoverlabel" _path_str = "waterfall.hoverlabel.font" _valid_props = { @@ -558,12 +557,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.hoverlabel.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.hoverlabel.Font`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.hoverlabel.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/increasing/_marker.py b/plotly/graph_objs/waterfall/increasing/_marker.py index fa5dea7af79..3a77deefa90 100644 --- a/plotly/graph_objs/waterfall/increasing/_marker.py +++ b/plotly/graph_objs/waterfall/increasing/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.increasing" _path_str = "waterfall.increasing.marker" _valid_props = {"color", "line"} @@ -94,12 +93,10 @@ def __init__(self, arg=None, color=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.increasing.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.increasing.Marker`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.increasing.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/increasing/marker/_line.py b/plotly/graph_objs/waterfall/increasing/marker/_line.py index 33899da3f60..5f5b464658b 100644 --- a/plotly/graph_objs/waterfall/increasing/marker/_line.py +++ b/plotly/graph_objs/waterfall/increasing/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.increasing.marker" _path_str = "waterfall.increasing.marker.line" _valid_props = {"color", "width"} @@ -91,12 +90,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.increasing.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.increasing.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.increasing.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/legendgrouptitle/_font.py b/plotly/graph_objs/waterfall/legendgrouptitle/_font.py index 3b1914da886..6e8055cee8a 100644 --- a/plotly/graph_objs/waterfall/legendgrouptitle/_font.py +++ b/plotly/graph_objs/waterfall/legendgrouptitle/_font.py @@ -6,7 +6,6 @@ class Font(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.legendgrouptitle" _path_str = "waterfall.legendgrouptitle.font" _valid_props = { @@ -314,12 +313,10 @@ def __init__( elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.legendgrouptitle.Font constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.legendgrouptitle.Font`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.legendgrouptitle.Font`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/totals/_marker.py b/plotly/graph_objs/waterfall/totals/_marker.py index 4ff03460913..5cc16b8f32b 100644 --- a/plotly/graph_objs/waterfall/totals/_marker.py +++ b/plotly/graph_objs/waterfall/totals/_marker.py @@ -6,7 +6,6 @@ class Marker(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.totals" _path_str = "waterfall.totals.marker" _valid_props = {"color", "line"} @@ -97,12 +96,10 @@ def __init__(self, arg=None, color=None, line=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.totals.Marker constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.totals.Marker`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.totals.Marker`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) diff --git a/plotly/graph_objs/waterfall/totals/marker/_line.py b/plotly/graph_objs/waterfall/totals/marker/_line.py index d1ebe28d920..8c1c81d1fc7 100644 --- a/plotly/graph_objs/waterfall/totals/marker/_line.py +++ b/plotly/graph_objs/waterfall/totals/marker/_line.py @@ -6,7 +6,6 @@ class Line(_BaseTraceHierarchyType): - _parent_path_str = "waterfall.totals.marker" _path_str = "waterfall.totals.marker.line" _valid_props = {"color", "width"} @@ -95,12 +94,10 @@ def __init__(self, arg=None, color=None, width=None, **kwargs): elif isinstance(arg, dict): arg = _copy.copy(arg) else: - raise ValueError( - """\ + raise ValueError("""\ The first argument to the plotly.graph_objs.waterfall.totals.marker.Line constructor must be a dict or -an instance of :class:`plotly.graph_objs.waterfall.totals.marker.Line`""" - ) +an instance of :class:`plotly.graph_objs.waterfall.totals.marker.Line`""") self._skip_invalid = kwargs.pop("skip_invalid", False) self._validate = kwargs.pop("_validate", True) From feddd5d3701b2474a7debbc0502e4fa5e2f48f29 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Wed, 11 Jun 2025 09:55:09 -0400 Subject: [PATCH 3/5] feat: divide dependencies in pyproject.toml into core and optional A previous PR in this branch removed `test_requirements/requirements_core.txt` and `test_requirements/requirements_optional.txt`. @EmilyLK pointed out that these files are used in Circle CI to set up a minimal environment for running `tests/test_core/*` and then a larger environment for running the other tests (the idea being to prevent extra dependencies from sneaking into plotly.py). This PR divides dependencies into `dev_core` and `dev_optional` with `dev` essentially aliasing `dev_optional` so that `./.circleci/config.yml` can be modified to use these for installation. Note: `uv.lock` reflects `dev_optional`, i.e., pins *all* dependencies. --- pyproject.toml | 14 +++++-- uv.lock | 111 +++++++++++++++++++++++++++++++++++++------------ 2 files changed, 95 insertions(+), 30 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 95d8203e12e..81c39a297bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,14 @@ dependencies = [ [project.optional-dependencies] express = ["numpy"] kaleido = ["kaleido==1.0.0rc15"] -dev = [ +dev_core = [ + "pytest", + "requests" +] +dev_optional = [ + # all core dependencies + "plotly[dev_core]", + # pin precise version of ruff to prevent accidental reformatting in case its defaults are updated "ruff==0.11.12", @@ -68,15 +75,16 @@ dev = [ "polars", "pyarrow", "pyshp", - "pytest", "pytz", - "requests", "scipy", "scikit-image", "shapely", "statsmodels", "xarray" ] +dev = [ + "plotly[dev_optional]" +] [project.scripts] plotly_get_chrome = "plotly.io._kaleido:get_chrome" diff --git a/uv.lock b/uv.lock index 8a1c757786c..6e00b8ca589 100644 --- a/uv.lock +++ b/uv.lock @@ -832,7 +832,7 @@ resolution-markers = [ "python_full_version == '3.9.*'", ] dependencies = [ - { name = "zipp", version = "3.23.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "zipp", version = "3.23.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9' and python_full_version < '3.11'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/76/66/650a33bd90f786193e4de4b3ad86ea60b53c89b669a5c7be931fac31cdb0/importlib_metadata-8.7.0.tar.gz", hash = "sha256:d13b81ad223b890aa16c5471f2ac3056cf76c5f10f82d6f9292f0b415f389000", size = 56641, upload-time = "2025-04-27T15:29:01.736Z" } wheels = [ @@ -2803,6 +2803,60 @@ dev = [ { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "orjson", version = "3.10.15", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "orjson", version = "3.10.18", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "pandas", version = "2.0.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "pdfrw" }, + { name = "pillow", version = "10.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "pillow", version = "11.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "plotly-geo" }, + { name = "polars", version = "1.8.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "polars", version = "1.30.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "pyarrow", version = "17.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "pyarrow", version = "20.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "pyshp" }, + { name = "pytest", version = "8.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "pytest", version = "8.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "pytz" }, + { name = "requests" }, + { name = "ruff" }, + { name = "scikit-image", version = "0.21.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "scikit-image", version = "0.24.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "scikit-image", version = "0.25.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "scipy", version = "1.10.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "scipy", version = "1.13.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "shapely", version = "2.0.7", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "shapely", version = "2.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "statsmodels", version = "0.14.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "statsmodels", version = "0.14.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "xarray", version = "2023.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "xarray", version = "2024.7.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "xarray", version = "2025.6.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, +] +dev-core = [ + { name = "pytest", version = "8.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "pytest", version = "8.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "requests" }, +] +dev-optional = [ + { name = "anywidget" }, + { name = "build" }, + { name = "colorcet" }, + { name = "geopandas", version = "0.13.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "geopandas", version = "1.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "geopandas", version = "1.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "inflect", version = "7.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "inflect", version = "7.5.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "jupyter" }, + { name = "kaleido" }, + { name = "numpy", version = "1.24.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "numpy", version = "2.0.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.10.*'" }, + { name = "numpy", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "orjson", version = "3.10.15", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "orjson", version = "3.10.18", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "pandas", version = "2.0.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "pandas", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "pdfrw" }, @@ -2845,36 +2899,39 @@ kaleido = [ [package.metadata] requires-dist = [ - { name = "anywidget", marker = "extra == 'dev'" }, - { name = "build", marker = "extra == 'dev'" }, - { name = "colorcet", marker = "extra == 'dev'" }, - { name = "geopandas", marker = "extra == 'dev'" }, - { name = "inflect", marker = "extra == 'dev'" }, - { name = "jupyter", marker = "extra == 'dev'" }, + { name = "anywidget", marker = "extra == 'dev-optional'" }, + { name = "build", marker = "extra == 'dev-optional'" }, + { name = "colorcet", marker = "extra == 'dev-optional'" }, + { name = "geopandas", marker = "extra == 'dev-optional'" }, + { name = "inflect", marker = "extra == 'dev-optional'" }, + { name = "jupyter", marker = "extra == 'dev-optional'" }, { name = "kaleido", marker = "extra == 'kaleido'", specifier = "==1.0.0rc15" }, { name = "narwhals", specifier = ">=1.15.1" }, - { name = "numpy", marker = "extra == 'dev'" }, + { name = "numpy", marker = "extra == 'dev-optional'" }, { name = "numpy", marker = "extra == 'express'" }, + { name = "orjson", marker = "extra == 'dev-optional'" }, { name = "packaging" }, - { name = "pandas", marker = "extra == 'dev'" }, - { name = "pdfrw", marker = "extra == 'dev'" }, - { name = "pillow", marker = "extra == 'dev'" }, - { name = "plotly", extras = ["kaleido"], marker = "extra == 'dev'" }, - { name = "plotly-geo", marker = "extra == 'dev'" }, - { name = "polars", marker = "extra == 'dev'" }, - { name = "pyarrow", marker = "extra == 'dev'" }, - { name = "pyshp", marker = "extra == 'dev'" }, - { name = "pytest", marker = "extra == 'dev'" }, - { name = "pytz", marker = "extra == 'dev'" }, - { name = "requests", marker = "extra == 'dev'" }, - { name = "ruff", marker = "extra == 'dev'", specifier = "==0.11.12" }, - { name = "scikit-image", marker = "extra == 'dev'" }, - { name = "scipy", marker = "extra == 'dev'" }, - { name = "shapely", marker = "extra == 'dev'" }, - { name = "statsmodels", marker = "extra == 'dev'" }, - { name = "xarray", marker = "extra == 'dev'" }, -] -provides-extras = ["express", "kaleido", "dev"] + { name = "pandas", marker = "extra == 'dev-optional'" }, + { name = "pdfrw", marker = "extra == 'dev-optional'" }, + { name = "pillow", marker = "extra == 'dev-optional'" }, + { name = "plotly", extras = ["dev-core"], marker = "extra == 'dev-optional'" }, + { name = "plotly", extras = ["dev-optional"], marker = "extra == 'dev'" }, + { name = "plotly", extras = ["kaleido"], marker = "extra == 'dev-optional'" }, + { name = "plotly-geo", marker = "extra == 'dev-optional'" }, + { name = "polars", marker = "extra == 'dev-optional'" }, + { name = "pyarrow", marker = "extra == 'dev-optional'" }, + { name = "pyshp", marker = "extra == 'dev-optional'" }, + { name = "pytest", marker = "extra == 'dev-core'" }, + { name = "pytz", marker = "extra == 'dev-optional'" }, + { name = "requests", marker = "extra == 'dev-core'" }, + { name = "ruff", marker = "extra == 'dev-optional'", specifier = "==0.11.12" }, + { name = "scikit-image", marker = "extra == 'dev-optional'" }, + { name = "scipy", marker = "extra == 'dev-optional'" }, + { name = "shapely", marker = "extra == 'dev-optional'" }, + { name = "statsmodels", marker = "extra == 'dev-optional'" }, + { name = "xarray", marker = "extra == 'dev-optional'" }, +] +provides-extras = ["express", "kaleido", "dev-core", "dev-optional", "dev"] [[package]] name = "plotly-geo" From 0e9500ec9f3f2d43ebcb198173ca390308d5220f Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Wed, 11 Jun 2025 10:10:15 -0400 Subject: [PATCH 4/5] feat: first stab at rewriting Circle CI config file - Modify `pyproject.toml` to have a separate `dev_build` section with packages needed for building the plotly package. - Replace uses of `uv pip` with `uv sync` in `.circleci/config.yml`. --- .circleci/config.yml | 46 ++++++++++++++++++-------------------------- pyproject.toml | 21 ++++++++++---------- 2 files changed, 29 insertions(+), 38 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fc94236d328..4089fc3f57e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,8 +25,7 @@ commands: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install . - uv pip install -r ./test_requirements/requirements_core.txt + uv sync --extra dev_core - run: name: List installed packages and python version command: | @@ -56,8 +55,7 @@ commands: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install . - uv pip install -r ./test_requirements/requirements_optional.txt + uv sync --extra dev_optional - when: condition: @@ -70,8 +68,7 @@ commands: name: Install pandas command: | source .venv/bin/activate - uv pip install pip - python -m pip install pandas==<> numpy==<> + uv pip install pandas==<> numpy==<> - run: name: Test core @@ -125,8 +122,7 @@ commands: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install . - uv pip install -r ./test_requirements/requirements_optional.txt + uv pip install .[dev_optional] # Install Kaleido v0 instead of the v1 specified in requirements_optional.txt uv pip uninstall kaleido uv pip install kaleido==0.2.1 @@ -151,16 +147,16 @@ jobs: steps: - checkout - run: - name: Install black + name: Install ruff command: | - python -m venv venv - . venv/bin/activate - pip install black==25.1.0 + uv venv + source .venv/bin/activate + uv sync --extra dev_core - run: - name: Check formatting with black + name: Check formatting with ruff command: | - . venv/bin/activate - black --check . --exclude venv + source .venv/bin/activate + ruff check . test_core_py: parameters: @@ -226,22 +222,20 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install -e . - uv pip install -r test_requirements/requirements_optional.txt + uv sync --extra dev_optional - run: - name: Build html figures (Pandas 2) + name: Build HTML figures (Pandas 2) command: | source .venv/bin/activate python tests/percy/plotly-express.py - run: - name: Build html figures (Pandas 1) and compare + name: Build HTML figures (Pandas 1) and compare command: | source .venv/bin/activate mkdir tests/percy/pandas2 mv tests/percy/*.html tests/percy/pandas2/ - uv pip install pip - python -m pip install pandas==1.5.3 numpy==1.26.4 + uv pip install pandas==1.5.3 numpy==1.26.4 python tests/percy/plotly-express.py python tests/percy/compare-pandas.py rm -rf tests/percy/pandas2 @@ -273,8 +267,7 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install -e . - uv pip install -r ./test_requirements/requirements_core.txt black inflect jupyterlab + uv sync --extra dev_optional - run: name: Update plotly.js to dev command: | @@ -291,7 +284,7 @@ jobs: name: Build source distribution packages command: | source .venv/bin/activate - uv pip install build + uv sync --extra dev_build python -m build --sdist --wheel -o dist when: always - store_artifacts: @@ -312,8 +305,7 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install build - uv pip install jupyter + uv sync --extra dev_build cd js npm ci npm run build @@ -352,7 +344,7 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv pip install -r requirements.txt + uv sync cd .. if [ "${CIRCLE_BRANCH}" != "doc-prod" ]; then uv pip uninstall plotly diff --git a/pyproject.toml b/pyproject.toml index 81c39a297bf..05df7bc4d80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,23 +49,22 @@ express = ["numpy"] kaleido = ["kaleido==1.0.0rc15"] dev_core = [ "pytest", - "requests" + "requests", + # pin precise version of ruff to prevent accidental reformatting in case its defaults are updated + "ruff==0.11.12" ] -dev_optional = [ - # all core dependencies +dev_build = [ "plotly[dev_core]", - - # pin precise version of ruff to prevent accidental reformatting in case its defaults are updated - "ruff==0.11.12", - - # other dependencies required to test and build - "anywidget", "build", + "jupyter" +] +dev_optional = [ + "plotly[dev_build]", + "plotly[kaleido]", + "anywidget", "colorcet", "geopandas", "inflect", - "jupyter", - "plotly[kaleido]", "numpy", "orjson", "pandas", From f9016e14a6c9788c1c3f466b73fb056a232cc51e Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Wed, 11 Jun 2025 11:54:00 -0400 Subject: [PATCH 5/5] refactor: code to pass `ruff check` - Modify `pyproject.toml` to exclude `plotly/graph_objs` from checking for now. - Modify `pyproject.toml` to include `anywidget` in core dependencies (because `plotly/basewidget.py` needs it). - Clean up several hundred complaints from `ruff` about unused variables and imports. - Clean up cases in `tests/**/*.py` where the same function name was used for several tests (which meant that only the last one defined was actually run). - Reformat code after recent changes. --- .circleci/config.yml | 4 +- CONTRIBUTING.md | 7 - _plotly_utils/basevalidators.py | 125 ++++------------- _plotly_utils/colors/__init__.py | 9 +- _plotly_utils/colors/qualitative.py | 4 +- _plotly_utils/colors/sequential.py | 8 +- _plotly_utils/png.py | 4 +- _plotly_utils/utils.py | 13 +- codegen/__init__.py | 11 +- codegen/compatibility.py | 3 +- codegen/datatypes.py | 22 ++- codegen/figure.py | 2 - codegen/utils.py | 11 +- codegen/validators.py | 4 +- commands.py | 12 +- doc/apidoc/conf.py | 2 - doc/requirements.txt | 58 ++++---- plotly/_subplots.py | 36 ++--- plotly/basedatatypes.py | 50 ++----- plotly/basewidget.py | 13 -- plotly/callbacks.py | 6 +- plotly/colors/__init__.py | 4 +- plotly/exceptions.py | 2 +- plotly/express/__init__.py | 2 + plotly/express/_core.py | 16 +-- plotly/express/colors/__init__.py | 3 +- plotly/express/data/__init__.py | 3 +- plotly/express/imshow_utils.py | 2 +- plotly/figure_factory/__init__.py | 2 + plotly/figure_factory/_annotated_heatmap.py | 4 +- plotly/figure_factory/_county_choropleth.py | 1 - plotly/figure_factory/_dendrogram.py | 2 +- plotly/figure_factory/_distplot.py | 8 +- plotly/figure_factory/_facet_grid.py | 13 +- plotly/figure_factory/_gantt.py | 6 +- plotly/figure_factory/_ohlc.py | 2 +- plotly/figure_factory/_scatterplot.py | 4 +- plotly/figure_factory/_streamline.py | 8 +- plotly/figure_factory/_table.py | 3 +- plotly/figure_factory/_ternary_contour.py | 12 +- plotly/figure_factory/_trisurf.py | 6 +- plotly/figure_factory/_violin.py | 10 +- plotly/figure_factory/utils.py | 30 +--- plotly/files.py | 2 +- plotly/graph_objects/__init__.py | 1 + plotly/io/__init__.py | 2 + plotly/io/_base_renderers.py | 22 +-- plotly/io/_html.py | 45 ++---- plotly/io/_json.py | 16 +-- plotly/io/_kaleido.py | 21 +-- plotly/io/_orca.py | 131 +++++------------- plotly/io/_renderers.py | 24 +--- plotly/io/_sg_scraper.py | 1 - plotly/io/_templates.py | 6 +- plotly/io/_utils.py | 4 +- plotly/io/base_renderers.py | 1 + plotly/io/json.py | 1 + plotly/io/kaleido.py | 1 + plotly/io/orca.py | 1 + plotly/matplotlylib/__init__.py | 2 + plotly/matplotlylib/mplexporter/__init__.py | 1 + plotly/matplotlylib/mplexporter/exporter.py | 2 +- .../mplexporter/renderers/__init__.py | 2 + .../mplexporter/renderers/fake_renderer.py | 2 +- .../mplexporter/tests/__init__.py | 1 - .../mplexporter/tests/test_basic.py | 4 +- plotly/matplotlylib/mplexporter/tools.py | 2 +- plotly/matplotlylib/mplexporter/utils.py | 5 +- plotly/matplotlylib/mpltools.py | 7 +- plotly/matplotlylib/renderer.py | 23 ++- plotly/offline/__init__.py | 1 + plotly/offline/offline.py | 10 +- plotly/optional_imports.py | 2 +- plotly/serializers.py | 1 - plotly/tools.py | 15 +- plotly/utils.py | 4 +- plotly/validator_cache.py | 1 - pyproject.toml | 23 +-- templategen/utils/__init__.py | 1 - test_init/test_dependencies_not_imported.py | 1 - test_init/test_lazy_imports.py | 1 - tests/percy/plotly-express.py | 18 +-- tests/test_core/test_colors/test_colors.py | 25 +--- .../test_errors/test_dict_path_errors.py | 51 +++---- .../test_figure_messages/test_add_traces.py | 9 +- .../test_batch_animate.py | 8 +- .../test_move_delete_traces.py | 8 +- .../test_figure_messages/test_on_change.py | 11 +- .../test_plotly_relayout.py | 8 +- .../test_plotly_restyle.py | 6 +- .../test_plotly_update.py | 8 +- .../test_missing_anywidget.py | 5 +- .../test_validate_initialization.py | 1 - .../test_graph_objs/test_annotations.py | 10 +- .../test_graph_objs/test_append_trace.py | 2 - tests/test_core/test_graph_objs/test_data.py | 12 +- .../test_graph_objs/test_error_bars.py | 1 - .../test_core/test_graph_objs/test_figure.py | 2 - .../test_graph_objs/test_figure_properties.py | 10 +- .../test_core/test_graph_objs/test_frames.py | 1 - .../test_graph_objs/test_layout_subplots.py | 8 +- .../test_properties_validated.py | 1 - .../test_property_assignment.py | 4 - .../test_core/test_graph_objs/test_scatter.py | 1 - .../test_graph_objs/test_template.py | 10 +- .../test_graph_objs/test_to_ordered_dict.py | 1 - .../test_core/test_graph_objs/test_update.py | 2 +- tests/test_core/test_offline/test_offline.py | 15 +- .../test_optional_imports.py | 36 ++--- .../test_find_nonempty_subplots.py | 1 - .../test_subplots/test_make_subplots.py | 28 ++-- .../test_selector_matches.py | 45 +++--- .../test_update_annotations.py | 11 +- .../test_update_subplots.py | 3 - .../test_update_objects/test_update_traces.py | 1 - tests/test_core/test_utils/test_utils.py | 2 - tests/test_io/test_deepcopy_pickle.py | 1 - tests/test_io/test_html.py | 16 --- tests/test_io/test_pathlib.py | 1 - tests/test_io/test_renderers.py | 20 +-- tests/test_io/test_to_from_json.py | 2 - tests/test_optional/__init__.py | 2 +- tests/test_optional/optional_utils.py | 6 +- .../test_autoshapes/test_annotated_shapes.py | 3 +- .../test_autoshapes/test_axis_span_shapes.py | 1 - .../test_figure_factory.py | 94 +++---------- .../test_matplotlylib/test_annotations.py | 2 +- .../test_matplotlylib/test_axis_scales.py | 2 +- .../test_matplotlylib/test_bars.py | 7 +- .../test_matplotlylib/test_data.py | 2 +- .../test_matplotlylib/test_lines.py | 6 +- .../test_matplotlylib/test_scatter.py | 6 +- .../test_matplotlylib/test_subplots.py | 2 +- .../test_offline/test_offline.py | 2 - tests/test_optional/test_px/test_colors.py | 1 - .../test_px/test_px_functions.py | 1 - tests/test_optional/test_px/test_trendline.py | 1 - .../test_tools/test_figure_factory.py | 51 ++----- tests/test_optional/test_utils/test_utils.py | 14 +- .../validators/test_angle_validator.py | 18 +-- .../validators/test_any_validator.py | 10 +- .../validators/test_basetraces_validator.py | 2 +- .../validators/test_boolean_validator.py | 9 +- .../validators/test_color_validator.py | 42 +++--- .../validators/test_colorscale_validator.py | 30 ++-- .../validators/test_dash_validator.py | 10 +- .../validators/test_dataarray_validator.py | 8 +- .../validators/test_enumerated_validator.py | 52 +++---- .../validators/test_flaglist_validator.py | 43 +++--- .../validators/test_imageuri_validator.py | 12 +- .../validators/test_infoarray_validator.py | 87 ++++++------ .../validators/test_integer_validator.py | 35 ++--- .../validators/test_literal_validator.py | 9 +- .../validators/test_number_validator.py | 30 ++-- .../validators/test_pandas_series_input.py | 5 - .../validators/test_string_validator.py | 35 +++-- .../validators/test_subplotid_validator.py | 12 +- .../validators/test_validators_common.py | 6 - .../validators/test_xarray_input.py | 2 - uv.lock | 25 ++-- 160 files changed, 734 insertions(+), 1293 deletions(-) delete mode 100644 tests/test_plotly_utils/validators/test_validators_common.py diff --git a/.circleci/config.yml b/.circleci/config.yml index 4089fc3f57e..7489a4d4ea8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -153,7 +153,7 @@ jobs: source .venv/bin/activate uv sync --extra dev_core - run: - name: Check formatting with ruff + name: Check handwritten code with ruff command: | source .venv/bin/activate ruff check . @@ -344,7 +344,7 @@ jobs: curl -LsSf https://astral.sh/uv/install.sh | sh uv venv source .venv/bin/activate - uv sync + uv sync --extra dev_build cd .. if [ "${CIRCLE_BRANCH}" != "doc-prod" ]; then uv pip uninstall plotly diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2ec86237c01..4b79be1efb0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -176,13 +176,6 @@ See [pytest's documentation](https://docs.pytest.org/) for more details. ### Generating the JavaScript Bundles for Jupyter -To test `go.FigureWidget` locally, you'll need to generate the JavaScript bundle as follows: - -``` -cd js -npm install && npm run build -``` - If you make changes to any files in the `js/` directory, you must run `npm install && npm run build` in the `js/` directory to rebuild the FigureWidget and JupyterLab extension. You must then commit the build artifacts produced in `plotly/labextension`. diff --git a/_plotly_utils/basevalidators.py b/_plotly_utils/basevalidators.py index 5cc8e6c8c7c..0d7e387bbc3 100644 --- a/_plotly_utils/basevalidators.py +++ b/_plotly_utils/basevalidators.py @@ -7,7 +7,6 @@ import io import re import sys -import warnings import narwhals.stable.v1 as nw from _plotly_utils.optional_imports import get_module @@ -398,12 +397,9 @@ def __init__(self, plotly_name, parent_name, **kwargs): def description(self): return """\ The '{plotly_name}' property is an array that may be specified as a tuple, - list, numpy array, or pandas Series""".format( - plotly_name=self.plotly_name - ) + list, numpy array, or pandas Series""".format(plotly_name=self.plotly_name) def validate_coerce(self, v): - if is_none_or_typed_array_spec(v): pass elif is_homogeneous_array(v): @@ -522,7 +518,6 @@ def perform_replacemenet(self, v): return v def description(self): - # Separate regular values from regular expressions enum_vals = [] enum_regexs = [] @@ -550,9 +545,7 @@ def description(self): desc + """ - One of the following enumeration values: -{enum_vals_str}""".format( - enum_vals_str=enum_vals_str - ) +{enum_vals_str}""".format(enum_vals_str=enum_vals_str) ) if enum_regexs: @@ -569,9 +562,7 @@ def description(self): desc + """ - A string that matches one of the following regular expressions: -{enum_regexs_str}""".format( - enum_regexs_str=enum_regexs_str - ) +{enum_regexs_str}""".format(enum_regexs_str=enum_regexs_str) ) if self.array_ok: @@ -640,9 +631,7 @@ def __init__(self, plotly_name, parent_name, **kwargs): def description(self): return """\ The '{plotly_name}' property must be specified as a bool - (either True, or False)""".format( - plotly_name=self.plotly_name - ) + (either True, or False)""".format(plotly_name=self.plotly_name) def validate_coerce(self, v): if is_none_or_typed_array_spec(v): @@ -664,9 +653,7 @@ def __init__(self, plotly_name, parent_name, **kwargs): def description(self): return """\ The '{plotly_name}' property must be specified as a string or - as a plotly.grid_objs.Column object""".format( - plotly_name=self.plotly_name - ) + as a plotly.grid_objs.Column object""".format(plotly_name=self.plotly_name) def validate_coerce(self, v): if is_none_or_typed_array_spec(v): @@ -887,13 +874,10 @@ def description(self): # Extras if self.extras: - desc = ( - desc - + ( - """ + desc = desc + ( + """ OR exactly one of {extras} (e.g. '{eg_extra}')""" - ).format(extras=self.extras, eg_extra=self.extras[-1]) - ) + ).format(extras=self.extras, eg_extra=self.extras[-1]) if self.array_ok: desc = ( @@ -1040,9 +1024,7 @@ def description(self): desc + """ - One of the following strings: -{valid_str}""".format( - valid_str=valid_str - ) +{valid_str}""".format(valid_str=valid_str) ) else: desc = ( @@ -1071,7 +1053,6 @@ def validate_coerce(self, v): if is_none_or_typed_array_spec(v): pass elif self.array_ok and is_array(v): - # If strict, make sure all elements are strings. if self.strict: invalid_els = [e for e in v if not isinstance(e, str)] @@ -1343,9 +1324,7 @@ def description(self): valid_color_description + """ - A number that will be interpreted as a color - according to {colorscale_path}""".format( - colorscale_path=self.colorscale_path - ) + according to {colorscale_path}""".format(colorscale_path=self.colorscale_path) ) if self.array_ok: @@ -1496,12 +1475,9 @@ def description(self): return """\ The '{plotly_name}' property is a colorlist that may be specified as a tuple, list, one-dimensional numpy array, or pandas Series of valid - color strings""".format( - plotly_name=self.plotly_name - ) + color strings""".format(plotly_name=self.plotly_name) def validate_coerce(self, v): - if is_none_or_typed_array_spec(v): pass elif is_array(v): @@ -1597,9 +1573,7 @@ def description(self): - One of the following named colorscales: {colorscales_str}. Appending '_r' to a named colorscale reverses it. -""".format( - plotly_name=self.plotly_name, colorscales_str=colorscales_str - ) +""".format(plotly_name=self.plotly_name, colorscales_str=colorscales_str) return desc @@ -1753,7 +1727,6 @@ class SubplotidValidator(BaseValidator): """ def __init__(self, plotly_name, parent_name, dflt=None, regex=None, **kwargs): - if dflt is None and regex is None: raise ValueError("One or both of regex and deflt must be specified") @@ -1770,15 +1743,12 @@ def __init__(self, plotly_name, parent_name, dflt=None, regex=None, **kwargs): self.regex = self.base + r"(\d*)" def description(self): - desc = """\ The '{plotly_name}' property is an identifier of a particular subplot, of type '{base}', that may be specified as the string '{base}' optionally followed by an integer >= 1 (e.g. '{base}', '{base}1', '{base}2', '{base}3', etc.) - """.format( - plotly_name=self.plotly_name, base=self.base - ) + """.format(plotly_name=self.plotly_name, base=self.base) return desc def validate_coerce(self, v): @@ -1837,7 +1807,6 @@ def __init__( self.array_ok = array_ok def description(self): - desc = ( """\ The '{plotly_name}' property is a flaglist and may be specified @@ -1845,24 +1814,18 @@ def description(self): ).format(plotly_name=self.plotly_name) # Flags - desc = ( - desc - + ( - """ + desc = desc + ( + """ - Any combination of {flags} joined with '+' characters (e.g. '{eg_flag}')""" - ).format(flags=self.flags, eg_flag="+".join(self.flags[:2])) - ) + ).format(flags=self.flags, eg_flag="+".join(self.flags[:2])) # Extras if self.extras: - desc = ( - desc - + ( - """ + desc = desc + ( + """ OR exactly one of {extras} (e.g. '{eg_extra}')""" - ).format(extras=self.extras, eg_extra=self.extras[-1]) - ) + ).format(extras=self.extras, eg_extra=self.extras[-1]) if self.array_ok: desc = ( @@ -1897,7 +1860,6 @@ def validate_coerce(self, v): if is_none_or_typed_array_spec(v): pass elif self.array_ok and is_array(v): - # Coerce individual strings validated_v = [self.vc_scalar(e) for e in v] @@ -1912,7 +1874,6 @@ def validate_coerce(self, v): else: v = to_scalar_or_list(v) else: - validated_v = self.vc_scalar(v) if validated_v is None: self.raise_invalid_val(v) @@ -1943,12 +1904,9 @@ def __init__(self, plotly_name, parent_name, values=None, array_ok=False, **kwar self.array_ok = array_ok def description(self): - desc = """\ The '{plotly_name}' property accepts values of any type - """.format( - plotly_name=self.plotly_name - ) + """.format(plotly_name=self.plotly_name) return desc def validate_coerce(self, v): @@ -2005,7 +1963,6 @@ def __init__( self.item_validators.append(item_validator) def description(self): - # Cases # 1) self.items is array, self.dimensions is 1 # a) free_length=True @@ -2020,9 +1977,7 @@ def description(self): # desc = """\ The '{plotly_name}' property is an info array that may be specified as:\ -""".format( - plotly_name=self.plotly_name - ) +""".format(plotly_name=self.plotly_name) if isinstance(self.items, list): # ### Case 1 ### @@ -2031,18 +1986,14 @@ def description(self): desc += """ * a list or tuple of{upto} {N} elements where:\ -""".format( - upto=upto, N=len(self.item_validators) - ) +""".format(upto=upto, N=len(self.item_validators)) for i, item_validator in enumerate(self.item_validators): el_desc = item_validator.description().strip() desc = ( desc + """ -({i}) {el_desc}""".format( - i=i, el_desc=el_desc - ) +({i}) {el_desc}""".format(i=i, el_desc=el_desc) ) # ### Case 2 ### @@ -2063,9 +2014,7 @@ def description(self): desc = ( desc + """ -({i}) {el_desc}""".format( - i=i, el_desc=el_desc - ) +({i}) {el_desc}""".format(i=i, el_desc=el_desc) ) item_validator.plotly_name = orig_name else: @@ -2082,9 +2031,7 @@ def description(self): desc += """ * a list of elements where: {el_desc} -""".format( - el_desc=el_desc - ) +""".format(el_desc=el_desc) if self.dimensions in ("1-2", 2): item_validator.plotly_name = "{name}[i][j]".format( @@ -2095,9 +2042,7 @@ def description(self): desc += """ * a 2D list where: {el_desc} -""".format( - el_desc=el_desc - ) +""".format(el_desc=el_desc) item_validator.plotly_name = orig_name @@ -2232,7 +2177,6 @@ def present(self, v): and v and is_array(v[0]) ): - # 2D case v = copy.deepcopy(v) for row in v: @@ -2301,7 +2245,6 @@ class DashValidator(EnumeratedValidator): """ def __init__(self, plotly_name, parent_name, values, **kwargs): - # Add regex to handle dash length lists dash_list_regex = r"/^\d+(\.\d+)?(px|%)?((,|\s)\s*\d+(\.\d+)?(px|%)?)*$/" @@ -2313,7 +2256,6 @@ def __init__(self, plotly_name, parent_name, values, **kwargs): ) def description(self): - # Separate regular values from regular expressions enum_vals = [] enum_regexs = [] @@ -2342,9 +2284,7 @@ def description(self): desc + """ - One of the following dash styles: -{enum_vals_str}""".format( - enum_vals_str=enum_vals_str - ) +{enum_vals_str}""".format(enum_vals_str=enum_vals_str) ) desc = ( @@ -2371,7 +2311,6 @@ def __init__(self, plotly_name, parent_name, **kwargs): ) def description(self): - desc = """\ The '{plotly_name}' property is an image URI that may be specified as: - A remote image URI string @@ -2381,9 +2320,7 @@ def description(self): - A PIL.Image.Image object which will be immediately converted to a data URI image string See http://pillow.readthedocs.io/en/latest/reference/Image.html - """.format( - plotly_name=self.plotly_name - ) + """.format(plotly_name=self.plotly_name) return desc def validate_coerce(self, v): @@ -2465,7 +2402,6 @@ def data_class(self): return self._data_class def description(self): - desc = ( """\ The '{plotly_name}' property is an instance of {class_str} @@ -2538,7 +2474,6 @@ def __init__(self, plotly_name, parent_name, data_class_str, data_docs, **kwargs ) def description(self): - desc = ( """\ The '{plotly_name}' property is a tuple of instances of @@ -2563,7 +2498,6 @@ def data_class(self): return self._data_class def validate_coerce(self, v, skip_invalid=False): - if v is None: v = [] @@ -2612,7 +2546,6 @@ def __init__( self.set_uid = set_uid def description(self): - trace_types = str(list(self.class_strs_map.keys())) trace_types_wrapped = "\n".join( @@ -2669,7 +2602,6 @@ def validate_coerce(self, v, skip_invalid=False, _validate=True): res = [] invalid_els = [] for v_el in v: - if isinstance(v_el, BaseTraceType): if isinstance(v_el, Histogram2dcontour): v_el = dict(type="histogram2dcontour", **v_el._props) @@ -2723,7 +2655,6 @@ def validate_coerce(self, v, skip_invalid=False, _validate=True): class BaseTemplateValidator(CompoundValidator): def __init__(self, plotly_name, parent_name, data_class_str, data_docs, **kwargs): - super(BaseTemplateValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, diff --git a/_plotly_utils/colors/__init__.py b/_plotly_utils/colors/__init__.py index 6c6b8199041..78abe774f49 100644 --- a/_plotly_utils/colors/__init__.py +++ b/_plotly_utils/colors/__init__.py @@ -360,8 +360,7 @@ def validate_colors(colors, colortype="tuple"): for value in each_color: if value > 1.0: raise exceptions.PlotlyError( - "Whoops! The elements in your colors tuples " - "cannot exceed 1.0." + "Whoops! The elements in your colors tuples cannot exceed 1.0." ) colors[j] = each_color @@ -397,8 +396,7 @@ def validate_colors_dict(colors, colortype="tuple"): for value in colors[key]: if value > 1.0: raise exceptions.PlotlyError( - "Whoops! The elements in your colors tuples " - "cannot exceed 1.0." + "Whoops! The elements in your colors tuples cannot exceed 1.0." ) if colortype == "rgb": @@ -539,8 +537,7 @@ def validate_scale_values(scale): if (scale[0] != 0) or (scale[-1] != 1): raise exceptions.PlotlyError( - "The first and last number in your scale must be 0.0 and 1.0 " - "respectively." + "The first and last number in your scale must be 0.0 and 1.0 respectively." ) if not all(x < y for x, y in zip(scale, scale[1:])): diff --git a/_plotly_utils/colors/qualitative.py b/_plotly_utils/colors/qualitative.py index a8ed54b367d..c26a55783a7 100644 --- a/_plotly_utils/colors/qualitative.py +++ b/_plotly_utils/colors/qualitative.py @@ -151,7 +151,7 @@ def swatches(template=None): Plotly_r = Plotly[::-1] T10_r = T10[::-1] -from .colorbrewer import ( # noqa: F401 +from .colorbrewer import ( # noqa: E402 F401 Set1, Pastel1, Dark2, @@ -165,7 +165,7 @@ def swatches(template=None): Pastel2_r, Set3_r, ) -from .carto import ( # noqa: F401 +from .carto import ( # noqa: E402 F401 Antique, Bold, Pastel, diff --git a/_plotly_utils/colors/sequential.py b/_plotly_utils/colors/sequential.py index e14d33c13da..0e9ccf6b6fb 100644 --- a/_plotly_utils/colors/sequential.py +++ b/_plotly_utils/colors/sequential.py @@ -124,7 +124,7 @@ def swatches_continuous(template=None): Turbo_r = Turbo[::-1] Viridis_r = Viridis[::-1] -from .plotlyjs import ( # noqa: F401 +from .plotlyjs import ( # noqa: E402 F401 Blackbody, Bluered, Electric, @@ -139,7 +139,7 @@ def swatches_continuous(template=None): Rainbow_r, ) -from .colorbrewer import ( # noqa: F401 +from .colorbrewer import ( # noqa: E402 F401 Blues, BuGn, BuPu, @@ -180,7 +180,7 @@ def swatches_continuous(template=None): YlOrRd_r, ) -from .cmocean import ( # noqa: F401 +from .cmocean import ( # noqa: E402 F401 turbid, thermal, haline, @@ -209,7 +209,7 @@ def swatches_continuous(template=None): tempo_r, ) -from .carto import ( # noqa: F401 +from .carto import ( # noqa: E402 F401 Burg, Burgyl, Redor, diff --git a/_plotly_utils/png.py b/_plotly_utils/png.py index 907ac916f09..3f9e58560f2 100755 --- a/_plotly_utils/png.py +++ b/_plotly_utils/png.py @@ -269,7 +269,7 @@ def check_palette(palette): for x in t: if int(x) != x or not (0 <= x <= 255): raise ProtocolError( - "palette entry %d: " "values must be integer: 0 <= x <= 255" % i + "palette entry %d: values must be integer: 0 <= x <= 255" % i ) return p @@ -842,7 +842,7 @@ def write_array(self, outfile, pixels): """ if self.interlace: - if type(pixels) != array: + if not isarray(pixels): # Coerce to array type fmt = "BH"[self.bitdepth > 8] pixels = array(fmt, pixels) diff --git a/_plotly_utils/utils.py b/_plotly_utils/utils.py index bb33e44140b..07a2b9e0b93 100644 --- a/_plotly_utils/utils.py +++ b/_plotly_utils/utils.py @@ -174,7 +174,6 @@ def encode(self, o): try: new_o = _json.loads(encoded_o, parse_constant=self.coerce_to_strict) except ValueError: - # invalid separators will fail here. raise a helpful exception raise ValueError( "Encoding into strict JSON failed. Did you set the separators " @@ -469,12 +468,12 @@ def display_string_positions(p, i=None, offset=0, length=1, char="^", trim=True) maxaddr = 0 if i is None: for p_ in p: - for l in range(length): - maxaddr = p_ + offset + l + for temp in range(length): + maxaddr = p_ + offset + temp s[maxaddr] = char else: - for l in range(length): - maxaddr = p[i] + offset + l + for temp in range(length): + maxaddr = p[i] + offset + temp s[maxaddr] = char ret = "".join(s) if trim: @@ -501,8 +500,8 @@ def chomp_empty_strings(strings, c, reverse=False): on the right or "" if it is the last string. """ - def _rev(l): - return [s[::-1] for s in l][::-1] + def _rev(vals): + return [s[::-1] for s in vals][::-1] if reverse: return _rev(chomp_empty_strings(_rev(strings), c)) diff --git a/codegen/__init__.py b/codegen/__init__.py index 5dfe6b31cf6..b299fa36045 100644 --- a/codegen/__init__.py +++ b/codegen/__init__.py @@ -5,7 +5,7 @@ import subprocess import sys -from codegen.datatypes import build_datatype_py, write_datatype_py +from codegen.datatypes import build_datatype_py, write_datatype_py # noqa: F401 from codegen.compatibility import ( write_deprecated_datatypes, write_graph_objs_graph_objs, @@ -38,6 +38,7 @@ # codegen/ package, and helpers used both during code generation and at # runtime should reside in the _plotly_utils/ package. + def preprocess_schema(plotly_schema): """ Central location to make changes to schema before it's seen by the @@ -135,9 +136,6 @@ def perform_codegen(outdir, noformat=False): # TraceNode base_traces_node = TraceNode(plotly_schema) - compound_trace_nodes = PlotlyNode.get_all_compound_datatype_nodes( - plotly_schema, TraceNode - ) all_trace_nodes = PlotlyNode.get_all_datatype_nodes(plotly_schema, TraceNode) # LayoutNode @@ -254,7 +252,7 @@ def perform_codegen(outdir, noformat=False): for dep_clas in DEPRECATED_DATATYPES: root_datatype_imports.append(f"._deprecations.{dep_clas}") - optional_figure_widget_import = f""" + optional_figure_widget_import = """ if sys.version_info < (3, 7) or TYPE_CHECKING: try: import ipywidgets as _ipywidgets @@ -322,9 +320,10 @@ def __getattr__(import_name): graph_objects_path = opath.join(outdir, "graph_objects", "__init__.py") os.makedirs(opath.join(outdir, "graph_objects"), exist_ok=True) with open(graph_objects_path, "wt") as f: + f.write("# ruff: noqa: F401\n") f.write(graph_objects_init_source) - # Run black code formatter on output directories + # Run code formatter on output directories if noformat: print("skipping reformatting") else: diff --git a/codegen/compatibility.py b/codegen/compatibility.py index a8bacedc204..21f905643d6 100644 --- a/codegen/compatibility.py +++ b/codegen/compatibility.py @@ -120,7 +120,6 @@ def build_deprecation_message(class_name, base_type, new): """ replacements = [] for repl in new: - if repl == "etc.": replacements.append(repl) else: @@ -137,7 +136,7 @@ def build_deprecation_message(class_name, base_type, new): replacemens_str = "\n - ".join(replacements) - if base_type == list: + if isinstance(base_type, list): return f"""\ plotly.graph_objs.{class_name} is deprecated. Please replace it with a list or tuple of instances of the following types diff --git a/codegen/datatypes.py b/codegen/datatypes.py index 1f52f1d66ec..28b11d1fc59 100644 --- a/codegen/datatypes.py +++ b/codegen/datatypes.py @@ -2,7 +2,7 @@ import textwrap from io import StringIO -from codegen.utils import CAVEAT, PlotlyNode, write_source_py +from codegen.utils import CAVEAT, write_source_py deprecated_mapbox_traces = [ @@ -84,7 +84,6 @@ def build_datatype_py(node): return "from plotly.graph_objs import Layout" # Extract node properties - undercase = node.name_undercase datatype_class = node.name_datatype_class literal_nodes = [n for n in node.child_literals if n.plotly_name in ["type"]] @@ -97,13 +96,13 @@ def build_datatype_py(node): f"from plotly.basedatatypes " f"import {node.name_base_datatype} as _{node.name_base_datatype}\n" ) - buffer.write(f"import copy as _copy\n") + buffer.write("import copy as _copy\n") if ( node.name_property in deprecated_mapbox_traces or node.name_property == "template" ): - buffer.write(f"import warnings\n") + buffer.write("import warnings\n") # Write class definition buffer.write( @@ -256,9 +255,8 @@ def {literal_node.name_property}(self): ) # Private properties descriptions - valid_props = {node.name_property for node in subtype_nodes} buffer.write( - f""" + """ @property def _prop_descriptions(self): return \"\"\"\\""" @@ -267,7 +265,7 @@ def _prop_descriptions(self): buffer.write(node.get_constructor_params_docstring(indent=8)) buffer.write( - f""" + """ \"\"\"""" ) @@ -282,7 +280,7 @@ def _prop_descriptions(self): # Constructor buffer.write( - f""" + """ def __init__(self""" ) @@ -291,13 +289,13 @@ def __init__(self""" # Constructor Docstring header = f"Construct a new {datatype_class} object" class_name = ( - f"plotly.graph_objs" f"{node.parent_dotpath_str}." f"{node.name_datatype_class}" + f"plotly.graph_objs{node.parent_dotpath_str}.{node.name_datatype_class}" ) extras = [ ( - f"arg", - f"dict of properties compatible with this constructor " + "arg", + "dict of properties compatible with this constructor " f"or an instance of :class:`{class_name}`", ) ] @@ -381,7 +379,7 @@ def __init__(self""" ) buffer.write( - f""" + """ self._process_kwargs(**dict(arg, **kwargs)) self._skip_invalid = False """ diff --git a/codegen/figure.py b/codegen/figure.py index 907fbeaa8ff..a15d806937c 100644 --- a/codegen/figure.py +++ b/codegen/figure.py @@ -186,7 +186,6 @@ def {wrapped_name}(self, {full_params}) -> "{fig_classname}": # add_trace methods for each trace type for trace_node in trace_nodes: - include_secondary_y = bool( [d for d in trace_node.child_datatypes if d.name_property == "yaxis"] ) @@ -755,7 +754,6 @@ def write_figure_classes( ] for base_package, base_classname, fig_classname in base_figures: - # Build figure source code string figure_source = build_figure_py( trace_node, diff --git a/codegen/utils.py b/codegen/utils.py index e2eb51ebfdb..3d660328e51 100644 --- a/codegen/utils.py +++ b/codegen/utils.py @@ -6,7 +6,6 @@ from io import StringIO from typing import List import re -import errno CAVEAT = """ @@ -127,7 +126,6 @@ def write_init_py(pkg_root, path_parts, rel_modules=(), rel_classes=(), init_ext def format_description(desc): - # Remove surrounding *s from numbers desc = re.sub(r"(^|[\s(,.:])\*([\d.]+)\*([\s),.:]|$)", r"\1\2\3", desc) @@ -379,7 +377,8 @@ def name_property(self): return self.plotly_name + ( "s" - if self.is_array_element and + if self.is_array_element + and # Don't add 's' to layout.template.data.scatter etc. not ( self.parent @@ -421,7 +420,7 @@ def name_base_validator(self) -> str: else: datatype_title_case = self.datatype.title().replace("_", "") validator_base = ( - f"_plotly_utils.basevalidators." f"{datatype_title_case}Validator" + f"_plotly_utils.basevalidators.{datatype_title_case}Validator" ) return validator_base @@ -809,7 +808,6 @@ def child_datatypes(self): "template", "data", ): - nodes.append(ElementDefaultsNode(n, self.plotly_schema)) elif n.is_compound and n.plotly_name == "title": nodes.append(n) @@ -820,7 +818,6 @@ def child_datatypes(self): p for p in deprecated_data if p.startswith("title") and p != "title" ] for prop_name in deprecated_title_prop_names: - mapped_prop_name = prop_name.replace("title", "") mapped_prop_node = [ @@ -911,7 +908,7 @@ def get_constructor_params_docstring(self, indent=12): and self.parent.name_datatype_class == "Template" ): class_name = ( - f"plotly.graph_objects." f"{subtype_node.name_datatype_class}" + f"plotly.graph_objects.{subtype_node.name_datatype_class}" ) else: class_name = ( diff --git a/codegen/validators.py b/codegen/validators.py index 0a143c59e9a..4cef19fa29b 100644 --- a/codegen/validators.py +++ b/codegen/validators.py @@ -1,9 +1,8 @@ import os.path as opath -from io import StringIO import json import _plotly_utils.basevalidators -from codegen.utils import CAVEAT, PlotlyNode, TraceNode, write_source_py +from codegen.utils import PlotlyNode, TraceNode def get_validator_params(node: PlotlyNode, store: dict): @@ -73,7 +72,6 @@ def write_validator_json(outdir, params: dict): ------- None """ - import json # Validate inputs if not isinstance(params, dict): diff --git a/commands.py b/commands.py index 51c9b670ded..01f158380ce 100644 --- a/commands.py +++ b/commands.py @@ -52,7 +52,7 @@ def install_js_deps(local): try: check_call([npmName, "--version"]) has_npm = True - except: + except Exception: has_npm = False skip_npm = os.environ.get("SKIP_NPM", False) @@ -324,15 +324,13 @@ def parse_args(): "--noformat", action="store_true", help="prevent reformatting" ) - p_lint = subparsers.add_parser("lint", help="lint code") + subparsers.add_parser("lint", help="lint code") - p_format = subparsers.add_parser("format", help="reformat code") + subparsers.add_parser("format", help="reformat code") - p_updateplotlyjsdev = subparsers.add_parser( - "updateplotlyjsdev", help="update plotly.js for development" - ) + subparsers.add_parser("updateplotlyjsdev", help="update plotly.js for development") - p_updateplotlyjs = subparsers.add_parser("updateplotlyjs", help="update plotly.js") + subparsers.add_parser("updateplotlyjs", help="update plotly.js") return parser.parse_args() diff --git a/doc/apidoc/conf.py b/doc/apidoc/conf.py index 3c80a1af82f..3b71a156e5b 100644 --- a/doc/apidoc/conf.py +++ b/doc/apidoc/conf.py @@ -10,8 +10,6 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -import os -import sys import sphinx_bootstrap_theme # sys.path.insert(0, os.path.abspath("../packages/python/plotly")) diff --git a/doc/requirements.txt b/doc/requirements.txt index 65aa3f0aad4..85e870636ad 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,48 +1,48 @@ plotly==6.0.1 -jupytext==1.16.4 -jupyter-client<7 +anywidget +cufflinks==0.17.3 +dash-bio +dask==2022.2.0 +datashader==0.14.4 +geopandas==0.8.1 +geoparse<=2.0.3 +igraph +jinja2<3.1 jupyter +jupyter-client<7 +jupytext==1.16.4 +kaleido +nbconvert==5.6.1 +networkx==2.8.0 notebook +numpy==1.22.4 +orjson pandas==1.4.0 -statsmodels==0.14.2 -scipy==1.9.1 +pathlib patsy==0.5.6 -numpy==1.22.4 plotly-geo -igraph -geopandas==0.8.1 -pyshp==2.1.2 -shapely==2.0.5 +polars +pooch psutil +pyarrow +pyshp==2.1.2 +python-frontmatter +recommonmark requests -networkx==2.8.0 -squarify scikit-image==0.20.0 scikit-learn +scipy==1.9.1 +shapely==2.0.5 sphinx==3.5.4 +sphinx_bootstrap_theme sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sphinxcontrib-jsmath==1.0.1 -sphinx_bootstrap_theme -recommonmark -pathlib -python-frontmatter -datashader==0.14.4 -pyarrow -cufflinks==0.17.3 -kaleido +squarify +statsmodels==0.14.2 umap-learn==0.5.1 -pooch wget -nbconvert==5.6.1 -orjson -dash-bio -jinja2<3.1 -dask==2022.2.0 -polars -geoparse<=2.0.3 xarray==2022.9.0 -anywidget diff --git a/plotly/_subplots.py b/plotly/_subplots.py index 53252c9337b..8930fd9e41c 100644 --- a/plotly/_subplots.py +++ b/plotly/_subplots.py @@ -360,9 +360,7 @@ def make_subplots( raise ValueError( """ The 'rows' argument to make_subplots must be an int greater than 0. - Received value of type {typ}: {val}""".format( - typ=type(rows), val=repr(rows) - ) + Received value of type {typ}: {val}""".format(typ=type(rows), val=repr(rows)) ) # ### cols ### @@ -370,9 +368,7 @@ def make_subplots( raise ValueError( """ The 'cols' argument to make_subplots must be an int greater than 0. - Received value of type {typ}: {val}""".format( - typ=type(cols), val=repr(cols) - ) + Received value of type {typ}: {val}""".format(typ=type(cols), val=repr(cols)) ) # ### start_cell ### @@ -472,9 +468,7 @@ def _checks(item, defaults): """ The 'secondary_y' spec property is not supported for subplot of type '{s_typ}' 'secondary_y' is only supported for subplots of type 'xy' -""".format( - s_typ=spec["type"] - ) +""".format(s_typ=spec["type"]) ) # ### insets ### @@ -486,9 +480,7 @@ def _checks(item, defaults): raise ValueError( """ The 'insets' argument to make_subplots must be a list of dictionaries. - Received value of type {typ}: {val}""".format( - typ=type(insets), val=repr(insets) - ) + Received value of type {typ}: {val}""".format(typ=type(insets), val=repr(insets)) ) if insets: @@ -679,11 +671,11 @@ def _check_hv_spacing(dimsize, spacing, name, dimvarname, dimname): # Throw exception if 'colspan' | 'rowspan' is too large for grid if c_spanned >= cols: raise Exception( - "Some 'colspan' value is too large for " "this subplot grid." + "Some 'colspan' value is too large for this subplot grid." ) if r_spanned >= rows: raise Exception( - "Some 'rowspan' value is too large for " "this subplot grid." + "Some 'rowspan' value is too large for this subplot grid." ) # Get x domain using grid and colspan @@ -1375,13 +1367,9 @@ def _pad(s, cell_len=cell_len): def _set_trace_grid_reference(trace, layout, grid_ref, row, col, secondary_y=False): if row <= 0: - raise Exception( - "Row value is out of range. " "Note: the starting cell is (1, 1)" - ) + raise Exception("Row value is out of range. Note: the starting cell is (1, 1)") if col <= 0: - raise Exception( - "Col value is out of range. " "Note: the starting cell is (1, 1)" - ) + raise Exception("Col value is out of range. Note: the starting cell is (1, 1)") try: subplot_refs = grid_ref[row - 1][col - 1] except IndexError: @@ -1394,9 +1382,7 @@ def _set_trace_grid_reference(trace, layout, grid_ref, row, col, secondary_y=Fal if not subplot_refs: raise ValueError( """ -No subplot specified at grid position ({row}, {col})""".format( - row=row, col=col - ) +No subplot specified at grid position ({row}, {col})""".format(row=row, col=col) ) if secondary_y: @@ -1488,9 +1474,7 @@ def _get_grid_subplot(fig, row, col, secondary_y=False): else: raise ValueError( """ -Unexpected subplot type with layout_keys of {}""".format( - layout_keys - ) +Unexpected subplot type with layout_keys of {}""".format(layout_keys) ) diff --git a/plotly/basedatatypes.py b/plotly/basedatatypes.py index 004425f992b..1a18c3262e2 100644 --- a/plotly/basedatatypes.py +++ b/plotly/basedatatypes.py @@ -36,15 +36,15 @@ def _len_dict_item(item): convert to a string before calling len on it. """ try: - l = len(item) + temp = len(item) except TypeError: try: - l = len("%d" % (item,)) + temp = len("%d" % (item,)) except TypeError: raise ValueError( "Cannot find string length of an item that is not string-like nor an integer." ) - return l + return temp def _str_to_dict_path_full(key_path_str): @@ -105,7 +105,7 @@ def _split_and_chomp(s): # the list ("lift" the items out of the sublists) key_path2c = list( reduce( - lambda x, y: x + y if type(y) == type(list()) else x + [y], + lambda x, y: x + y if isinstance(y, list) else x + [y], map(_split_and_chomp, key_path2b), [], ) @@ -140,7 +140,7 @@ def _remake_path_from_tuple(props): return "" def _add_square_brackets_to_number(n): - if type(n) == type(int()): + if isinstance(n, int): return "[%d]" % (n,) return n @@ -507,7 +507,6 @@ class is a subclass of both BaseFigure and widgets.DOMWidget. elif isinstance(data, dict) and ( "data" in data or "layout" in data or "frames" in data ): - # Bring over subplot fields self._grid_str = data.get("_grid_str", None) self._grid_ref = data.get("_grid_ref", None) @@ -678,7 +677,6 @@ def __reduce__(self): return (self.__class__, (props,)) def __setitem__(self, prop, value): - # Normalize prop # -------------- # Convert into a property tuple @@ -741,7 +739,6 @@ def __setattr__(self, prop, value): raise AttributeError(prop) def __getitem__(self, prop): - # Normalize prop # -------------- # Convert into a property tuple @@ -981,7 +978,6 @@ def data(self): @data.setter def data(self, new_data): - # Validate new_data # ----------------- err_header = ( @@ -1075,7 +1071,6 @@ def data(self, new_data): # ### Check whether a move is needed ### if not all([i1 == i2 for i1, i2 in zip(new_inds, current_inds)]): - # #### Save off index lists for moveTraces message #### msg_current_inds = current_inds msg_new_inds = new_inds @@ -1738,7 +1733,6 @@ def _perform_plotly_restyle(self, restyle_data, trace_indexes): # Process each key # ---------------- for key_path_str, v in restyle_data.items(): - # Track whether any of the new values are cause a change in # self._data any_vals_changed = False @@ -1754,20 +1748,16 @@ def _perform_plotly_restyle(self, restyle_data, trace_indexes): trace_v = v[i % len(v)] if isinstance(v, list) else v if trace_v is not Undefined: - # Get trace being updated trace_obj = self.data[trace_ind] # Validate key_path_str if not BaseFigure._is_key_path_compatible(key_path_str, trace_obj): - trace_class = trace_obj.__class__.__name__ raise ValueError( """ Invalid property path '{key_path_str}' for trace class {trace_class} -""".format( - key_path_str=key_path_str, trace_class=trace_class - ) +""".format(key_path_str=key_path_str, trace_class=trace_class) ) # Apply set operation for this trace and thist value @@ -1918,7 +1908,6 @@ def _set_in(d, key_path_str, v): # Initialize parent dict or list of value to be assigned # ----------------------------------------------------- for kp, key_path_el in enumerate(key_path[:-1]): - # Extend val_parent list if needed if isinstance(val_parent, list) and isinstance(key_path_el, int): while len(val_parent) <= key_path_el: @@ -2013,9 +2002,7 @@ def _raise_invalid_rows_cols(name, n, invalid): of length {n} (The number of traces being added) Received: {invalid} - """.format( - name=name, n=n, invalid=invalid - ) + """.format(name=name, n=n, invalid=invalid) raise ValueError(rows_err_msg) @@ -2303,9 +2290,7 @@ def print_grid(self): with plotly.tools.make_subplots. """ if self._grid_str is None: - raise Exception( - "Use plotly.tools.make_subplots " "to create a subplot grid." - ) + raise Exception("Use plotly.tools.make_subplots to create a subplot grid.") print(self._grid_str) def append_trace(self, trace, row, col): @@ -2575,7 +2560,6 @@ def layout(self): @layout.setter def layout(self, new_layout): - # Validate new layout # ------------------- new_layout = self._layout_validator.validate_coerce(new_layout) @@ -2670,15 +2654,11 @@ def _perform_plotly_relayout(self, relayout_data): # Process each key # ---------------- for key_path_str, v in relayout_data.items(): - if not BaseFigure._is_key_path_compatible(key_path_str, self.layout): - raise ValueError( """ Invalid property path '{key_path_str}' for layout -""".format( - key_path_str=key_path_str - ) +""".format(key_path_str=key_path_str) ) # Apply set operation on the layout dict @@ -2795,7 +2775,6 @@ def _build_dispatch_plan(key_path_strs): dispatch_plan = {} for key_path_str in key_path_strs: - key_path = BaseFigure._str_to_dict_path(key_path_str) key_path_so_far = () keys_left = key_path @@ -2972,7 +2951,6 @@ def plotly_update( def _perform_plotly_update( self, restyle_data=None, relayout_data=None, trace_indexes=None ): - # Check for early exist # --------------------- if not restyle_data and not relayout_data: @@ -3382,7 +3360,6 @@ def _to_ordered_dict(d, skip_uid=False): return result def to_ordered_dict(self, skip_uid=True): - # Initialize resulting OrderedDict # -------------------------------- result = collections.OrderedDict() @@ -3953,7 +3930,6 @@ def _perform_update(plotly_obj, update_obj, overwrite=False): # Nothing to do return elif isinstance(plotly_obj, BasePlotlyType): - # Handle initializing subplot ids # ------------------------------- # This should be valid even if xaxis2 hasn't been initialized: @@ -3990,7 +3966,6 @@ def _perform_update(plotly_obj, update_obj, overwrite=False): validator = plotly_obj._get_prop_validator(key) if isinstance(validator, CompoundValidator) and isinstance(val, dict): - # Update compound objects recursively # plotly_obj[key].update(val) BaseFigure._perform_update(plotly_obj[key], val) @@ -4017,7 +3992,6 @@ def _perform_update(plotly_obj, update_obj, overwrite=False): plotly_obj[key] = val elif isinstance(plotly_obj, tuple): - if len(update_obj) == 0: # Nothing to do return @@ -4935,7 +4909,6 @@ def __setitem__(self, prop, value): # ------------------ # e.g. ('foo',) if len(prop) == 1: - # ### Unwrap scalar tuple ### prop = prop[0] @@ -5581,7 +5554,6 @@ def _dispatch_change_callbacks(self, changed_paths): # ### Compute callback paths that changed ### common_paths = changed_paths.intersection(set(prop_path_tuples)) if common_paths: - # #### Invoke callback #### callback_args = [self[cb_path] for cb_path in prop_path_tuples] @@ -5644,9 +5616,7 @@ def on_change(self, callback, *args, **kwargs): msg = """ {class_name} object is not a descendant of a Figure. on_change callbacks are not supported in this case. -""".format( - class_name=class_name - ) +""".format(class_name=class_name) raise ValueError(msg) # Validate args not empty diff --git a/plotly/basewidget.py b/plotly/basewidget.py index 812288b7136..08c655fe92e 100644 --- a/plotly/basewidget.py +++ b/plotly/basewidget.py @@ -90,7 +90,6 @@ class BaseFigureWidget(BaseFigure, anywidget.AnyWidget): def __init__( self, data=None, layout=None, frames=None, skip_invalid=False, **kwargs ): - # Call superclass constructors # ---------------------------- # Note: We rename layout to layout_plotly because to deconflict it @@ -440,10 +439,8 @@ def _handler_js2py_traceDeltas(self, change): # We only apply the deltas if this message corresponds to the most # recent trace edit operation if trace_edit_id == self._last_trace_edit_id: - # ### Loop over deltas ### for delta in trace_deltas: - # #### Find existing trace for uid ### trace_uid = delta["uid"] trace_uids = [trace.uid for trace in self.data] @@ -505,7 +502,6 @@ def _handler_js2py_layoutDelta(self, change): # We only apply the delta if this message corresponds to the most # recent layout edit operation if layout_edit_id == self._last_layout_edit_id: - # ### Transform defaults to delta ### delta_transform = BaseFigureWidget._transform_data( self._layout_defaults, layout_delta @@ -696,7 +692,6 @@ def _handler_js2py_pointsCallback(self, change): points_data["point_indexes"], points_data["trace_indexes"], ): - trace_dict = trace_points[trace_ind] trace_dict["xs"].append(x) trace_dict["ys"].append(y) @@ -875,7 +870,6 @@ def _remove_overlapping_props(input_data, delta_data, prop_path=()): and isinstance(delta_val, dict) or BaseFigure._is_dict_list(delta_val) ): - # ### Recurse ### recur_prop_path = prop_path + (i,) recur_removed = BaseFigureWidget._remove_overlapping_props( @@ -910,7 +904,6 @@ def _transform_data(to_data, from_data, should_remove=True, relayout_path=()): # Handle dict # ----------- if isinstance(to_data, dict): - # ### Validate from_data ### if not isinstance(from_data, dict): raise ValueError( @@ -922,10 +915,8 @@ def _transform_data(to_data, from_data, should_remove=True, relayout_path=()): # ### Add/modify properties ### # Loop over props/vals for from_prop, from_val in from_data.items(): - # #### Handle compound vals recursively #### if isinstance(from_val, dict) or BaseFigure._is_dict_list(from_val): - # ##### Init property value if needed ##### if from_prop not in to_data: to_data[from_prop] = {} if isinstance(from_val, dict) else [] @@ -946,7 +937,6 @@ def _transform_data(to_data, from_data, should_remove=True, relayout_path=()): if from_prop not in to_data or not BasePlotlyType._vals_equal( to_data[from_prop], from_val ): - to_data[from_prop] = from_val relayout_path_prop = relayout_path + (from_prop,) relayout_data[relayout_path_prop] = from_val @@ -961,7 +951,6 @@ def _transform_data(to_data, from_data, should_remove=True, relayout_path=()): # Handle list # ----------- elif isinstance(to_data, list): - # ### Validate from_data ### if not isinstance(from_data, list): raise ValueError( @@ -973,7 +962,6 @@ def _transform_data(to_data, from_data, should_remove=True, relayout_path=()): # ### Add/modify properties ### # Loop over indexes / elements for i, from_val in enumerate(from_data): - # #### Initialize element if needed #### if i >= len(to_data): to_data.append(None) @@ -983,7 +971,6 @@ def _transform_data(to_data, from_data, should_remove=True, relayout_path=()): if input_val is not None and ( isinstance(from_val, dict) or BaseFigure._is_dict_list(from_val) ): - relayout_data.update( BaseFigureWidget._transform_data( input_val, diff --git a/plotly/callbacks.py b/plotly/callbacks.py index 5ac5eabe3a7..4e2f9e91959 100644 --- a/plotly/callbacks.py +++ b/plotly/callbacks.py @@ -5,7 +5,6 @@ class InputDeviceState: def __init__( self, ctrl=None, alt=None, shift=None, meta=None, button=None, buttons=None, **_ ): - self._ctrl = ctrl self._alt = alt self._meta = meta @@ -122,7 +121,6 @@ def buttons(self): class Points: def __init__(self, point_inds=[], xs=[], ys=[], trace_name=None, trace_index=None): - self._point_inds = point_inds self._xs = xs self._ys = ys @@ -210,9 +208,7 @@ def __init__(self, xrange=None, yrange=None, **_): def __repr__(self): return """\ BoxSelector(xrange={xrange}, - yrange={yrange})""".format( - xrange=self.xrange, yrange=self.yrange - ) + yrange={yrange})""".format(xrange=self.xrange, yrange=self.yrange) @property def type(self): diff --git a/plotly/colors/__init__.py b/plotly/colors/__init__.py index 3178dcefd2d..3a58bfe8d71 100644 --- a/plotly/colors/__init__.py +++ b/plotly/colors/__init__.py @@ -1,3 +1,5 @@ +# ruff: noqa: F405 + """For a list of colors available in `plotly.colors`, please see * the `tutorial on discrete color sequences `_ @@ -12,7 +14,7 @@ * sequential """ -from _plotly_utils.colors import * # noqa: F401 +from _plotly_utils.colors import * # noqa: F403 __all__ = [ "named_colorscales", diff --git a/plotly/exceptions.py b/plotly/exceptions.py index 0f03024c5f3..6faa7d99607 100644 --- a/plotly/exceptions.py +++ b/plotly/exceptions.py @@ -1 +1 @@ -from _plotly_utils.exceptions import * +from _plotly_utils.exceptions import PlotlyError # noqa: F401 diff --git a/plotly/express/__init__.py b/plotly/express/__init__.py index b6cada8ef68..62a9bca08a2 100644 --- a/plotly/express/__init__.py +++ b/plotly/express/__init__.py @@ -1,3 +1,5 @@ +# ruff: noqa: E402 + """ `plotly.express` is a terse, consistent, high-level wrapper around `plotly.graph_objects` for rapid data exploration and figure generation. Learn more at https://plotly.com/python/plotly-express/ diff --git a/plotly/express/_core.py b/plotly/express/_core.py index efee6985e35..6cab2347f81 100644 --- a/plotly/express/_core.py +++ b/plotly/express/_core.py @@ -436,9 +436,9 @@ def make_trace_kwargs(args, trace_spec, trace_data, mapping_labels, sizeref): args["y"], non_missing.to_numpy(), # numpy array ) - assert len(y_out) == len( - trace_patch["x"] - ), "missing-data-handling failure in trendline code" + assert len(y_out) == len(trace_patch["x"]), ( + "missing-data-handling failure in trendline code" + ) trace_patch["y"] = y_out mapping_labels[get_label(args, args["x"])] = "%{x}" mapping_labels[get_label(args, args["y"])] = "%{y} (trend)" @@ -1248,7 +1248,7 @@ def process_args_into_dataframe( else args.get(field_name) ) # argument not specified, continue - if argument_list is None or argument_list is [None]: + if argument_list is None or (isinstance(argument_list, list) and len(argument_list) == 1 and argument_list[0] is None): continue # Argument name: field_name if the argument is not a list # Else we give names like ["hover_data_0, hover_data_1"] etc. @@ -1987,10 +1987,10 @@ def process_dataframe_hierarchy(args): if discrete_color: discrete_aggs.append(args["color"]) agg_f[args["color"]] = nw.col(args["color"]).max() - agg_f[f'{args["color"]}{n_unique_token}'] = ( + agg_f[f"{args['color']}{n_unique_token}"] = ( nw.col(args["color"]) .n_unique() - .alias(f'{args["color"]}{n_unique_token}') + .alias(f"{args['color']}{n_unique_token}") ) else: # This first needs to be multiplied by `count_colname` @@ -2864,9 +2864,7 @@ def _spacing_error_translator(e, direction, facet_arg): e.args = ( e.args[0] + """ -Use the {facet_arg} argument to adjust this spacing.""".format( - facet_arg=facet_arg - ), +Use the {facet_arg} argument to adjust this spacing.""".format(facet_arg=facet_arg), ) raise e diff --git a/plotly/express/colors/__init__.py b/plotly/express/colors/__init__.py index 0bd45bc2296..62cd3cac2de 100644 --- a/plotly/express/colors/__init__.py +++ b/plotly/express/colors/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F405 """For a list of colors available in `plotly.express.colors`, please see * the `tutorial on discrete color sequences `_ @@ -12,7 +13,7 @@ * sequential """ -from plotly.colors import * +from plotly.colors import * # noqa: F403 __all__ = [ diff --git a/plotly/express/data/__init__.py b/plotly/express/data/__init__.py index 25ce826d870..5096f3339a4 100644 --- a/plotly/express/data/__init__.py +++ b/plotly/express/data/__init__.py @@ -1,6 +1,7 @@ +# ruff: noqa: F405 """Built-in datasets for demonstration, educational and test purposes.""" -from plotly.data import * +from plotly.data import * # noqa: F403 __all__ = [ "carshare", diff --git a/plotly/express/imshow_utils.py b/plotly/express/imshow_utils.py index 5b02a5907b6..7f110ede4d0 100644 --- a/plotly/express/imshow_utils.py +++ b/plotly/express/imshow_utils.py @@ -110,7 +110,7 @@ def _output_dtype(dtype_or_range): if type(dtype_or_range) in [list, tuple, np.ndarray]: # pair of values: always return float. return np.float_ - if type(dtype_or_range) == type: + if isinstance(dtype_or_range, type): # already a type: return it return dtype_or_range if dtype_or_range in DTYPE_RANGE: diff --git a/plotly/figure_factory/__init__.py b/plotly/figure_factory/__init__.py index 670d705cd96..1919ca875f3 100644 --- a/plotly/figure_factory/__init__.py +++ b/plotly/figure_factory/__init__.py @@ -1,3 +1,5 @@ +# ruff: noqa: E402 + from plotly import optional_imports # Require that numpy exists for figure_factory diff --git a/plotly/figure_factory/_annotated_heatmap.py b/plotly/figure_factory/_annotated_heatmap.py index f2c5108c32a..5da24ae5bc3 100644 --- a/plotly/figure_factory/_annotated_heatmap.py +++ b/plotly/figure_factory/_annotated_heatmap.py @@ -25,7 +25,7 @@ def validate_annotated_heatmap(z, x, y, annotation_text): for lst in range(len(z)): if len(z[lst]) != len(annotation_text[lst]): raise exceptions.PlotlyError( - "z and text should have the " "same dimensions" + "z and text should have the same dimensions" ) if x: @@ -173,7 +173,6 @@ class _AnnotatedHeatmap(object): def __init__( self, z, x, y, annotation_text, colorscale, font_colors, reversescale, **kwargs ): - self.z = z if x: self.x = x @@ -261,7 +260,6 @@ def get_text_color(self): min_text_color = black max_text_color = white elif isinstance(self.colorscale, list): - min_col = to_rgb_color_list(self.colorscale[0][1], [255, 255, 255]) max_col = to_rgb_color_list(self.colorscale[-1][1], [255, 255, 255]) diff --git a/plotly/figure_factory/_county_choropleth.py b/plotly/figure_factory/_county_choropleth.py index c646aa5b034..7b397e7c531 100644 --- a/plotly/figure_factory/_county_choropleth.py +++ b/plotly/figure_factory/_county_choropleth.py @@ -22,7 +22,6 @@ def _create_us_counties_df(st_to_state_name_dict, state_to_st_dict): - # URLS abs_dir_path = os.path.realpath(_plotly_geo.__file__) diff --git a/plotly/figure_factory/_dendrogram.py b/plotly/figure_factory/_dendrogram.py index 9475bfaa2b9..fd6d5050b86 100644 --- a/plotly/figure_factory/_dendrogram.py +++ b/plotly/figure_factory/_dendrogram.py @@ -250,7 +250,7 @@ def get_color_dict(self, colorscale): # it could happen that the old color isn't found (if a custom # colorscale was specified), in this case we set it to an # arbitrary default. - default_colors[n] = "rgb(0,116,217)" + default_colors[nc] = "rgb(0,116,217)" return default_colors diff --git a/plotly/figure_factory/_distplot.py b/plotly/figure_factory/_distplot.py index 9fa7777f58e..73f66096456 100644 --- a/plotly/figure_factory/_distplot.py +++ b/plotly/figure_factory/_distplot.py @@ -39,9 +39,7 @@ def validate_distplot(hist_data, curve_type): curve_opts = ("kde", "normal") if curve_type not in curve_opts: - raise exceptions.PlotlyError( - "curve_type must be defined as " "'kde' or 'normal'" - ) + raise exceptions.PlotlyError("curve_type must be defined as 'kde' or 'normal'") if not scipy: raise ImportError("FigureFactory.create_distplot requires scipy") @@ -183,7 +181,6 @@ def create_distplot( data = [] if show_hist: - hist = _Distplot( hist_data, histnorm, @@ -199,7 +196,6 @@ def create_distplot( data.append(hist) if show_curve: - if curve_type == "normal": curve = _Distplot( hist_data, @@ -228,7 +224,6 @@ def create_distplot( data.append(curve) if show_rug: - rug = _Distplot( hist_data, histnorm, @@ -428,7 +423,6 @@ def make_rug(self): """ rug = [None] * self.trace_number for index in range(self.trace_number): - rug[index] = dict( type="scatter", x=self.hist_data[index], diff --git a/plotly/figure_factory/_facet_grid.py b/plotly/figure_factory/_facet_grid.py index e8f4f249ff1..06dc71d2ac3 100644 --- a/plotly/figure_factory/_facet_grid.py +++ b/plotly/figure_factory/_facet_grid.py @@ -68,29 +68,29 @@ def _legend_annotation(color_name): def _annotation_dict( text, lane, num_of_lanes, SUBPLOT_SPACING, row_col="col", flipped=True ): - l = (1 - (num_of_lanes - 1) * SUBPLOT_SPACING) / (num_of_lanes) + temp = (1 - (num_of_lanes - 1) * SUBPLOT_SPACING) / (num_of_lanes) if not flipped: xanchor = "center" yanchor = "middle" if row_col == "col": - x = (lane - 1) * (l + SUBPLOT_SPACING) + 0.5 * l + x = (lane - 1) * (temp + SUBPLOT_SPACING) + 0.5 * temp y = 1.03 textangle = 0 elif row_col == "row": - y = (lane - 1) * (l + SUBPLOT_SPACING) + 0.5 * l + y = (lane - 1) * (temp + SUBPLOT_SPACING) + 0.5 * temp x = 1.03 textangle = 90 else: if row_col == "col": xanchor = "center" yanchor = "bottom" - x = (lane - 1) * (l + SUBPLOT_SPACING) + 0.5 * l + x = (lane - 1) * (temp + SUBPLOT_SPACING) + 0.5 * temp y = 1.0 textangle = 270 elif row_col == "row": xanchor = "left" yanchor = "middle" - y = (lane - 1) * (l + SUBPLOT_SPACING) + 0.5 * l + y = (lane - 1) * (temp + SUBPLOT_SPACING) + 0.5 * temp x = 1.0 textangle = 0 @@ -201,7 +201,6 @@ def _facet_grid_color_categorical( kwargs_trace, kwargs_marker, ): - fig = make_subplots( rows=num_of_rows, cols=num_of_cols, @@ -370,7 +369,6 @@ def _facet_grid_color_numerical( kwargs_trace, kwargs_marker, ): - fig = make_subplots( rows=num_of_rows, cols=num_of_cols, @@ -526,7 +524,6 @@ def _facet_grid( kwargs_trace, kwargs_marker, ): - fig = make_subplots( rows=num_of_rows, cols=num_of_cols, diff --git a/plotly/figure_factory/_gantt.py b/plotly/figure_factory/_gantt.py index 8c7cc80b076..2fe393ffe90 100644 --- a/plotly/figure_factory/_gantt.py +++ b/plotly/figure_factory/_gantt.py @@ -52,16 +52,16 @@ def validate_gantt(df): # validate if df is a list if not isinstance(df, list): raise exceptions.PlotlyError( - "You must input either a dataframe " "or a list of dictionaries." + "You must input either a dataframe or a list of dictionaries." ) # validate if df is empty if len(df) <= 0: raise exceptions.PlotlyError( - "Your list is empty. It must contain " "at least one dictionary." + "Your list is empty. It must contain at least one dictionary." ) if not isinstance(df[0], dict): - raise exceptions.PlotlyError("Your list must only " "include dictionaries.") + raise exceptions.PlotlyError("Your list must only include dictionaries.") return df diff --git a/plotly/figure_factory/_ohlc.py b/plotly/figure_factory/_ohlc.py index 1912fd08f1b..a0b1b4838be 100644 --- a/plotly/figure_factory/_ohlc.py +++ b/plotly/figure_factory/_ohlc.py @@ -51,7 +51,7 @@ def validate_ohlc(open, high, low, close, direction, **kwargs): direction_opts = ("increasing", "decreasing", "both") if direction not in direction_opts: raise exceptions.PlotlyError( - "direction must be defined as " "'increasing', 'decreasing', or " "'both'" + "direction must be defined as 'increasing', 'decreasing', or 'both'" ) diff --git a/plotly/figure_factory/_scatterplot.py b/plotly/figure_factory/_scatterplot.py index fb6a209aba5..75895272615 100644 --- a/plotly/figure_factory/_scatterplot.py +++ b/plotly/figure_factory/_scatterplot.py @@ -92,7 +92,7 @@ def validate_scatterplotmatrix(df, index, diag, colormap_type, **kwargs): """ if not pd: raise ImportError( - "FigureFactory.scatterplotmatrix requires " "a pandas DataFrame." + "FigureFactory.scatterplotmatrix requires a pandas DataFrame." ) # Check if pandas dataframe @@ -114,7 +114,7 @@ def validate_scatterplotmatrix(df, index, diag, colormap_type, **kwargs): # Check that diag parameter is a valid selection if diag not in DIAG_CHOICES: raise exceptions.PlotlyError( - "Make sure diag is set to " "one of {}".format(DIAG_CHOICES) + "Make sure diag is set to one of {}".format(DIAG_CHOICES) ) # Check that colormap_types is a valid selection diff --git a/plotly/figure_factory/_streamline.py b/plotly/figure_factory/_streamline.py index 02b8b7c490e..55b74c3e7b7 100644 --- a/plotly/figure_factory/_streamline.py +++ b/plotly/figure_factory/_streamline.py @@ -25,12 +25,12 @@ def validate_streamline(x, y): for index in range(len(x) - 1): if ((x[index + 1] - x[index]) - (x[1] - x[0])) > 0.0001: raise exceptions.PlotlyError( - "x must be a 1 dimensional, " "evenly spaced array" + "x must be a 1 dimensional, evenly spaced array" ) for index in range(len(y) - 1): if ((y[index + 1] - y[index]) - (y[1] - y[0])) > 0.0001: raise exceptions.PlotlyError( - "y must be a 1 dimensional, " "evenly spaced array" + "y must be a 1 dimensional, evenly spaced array" ) @@ -213,7 +213,9 @@ def g(xi, yi): vi = self.value_at(self.v, xi, yi) return -ui * dt_ds, -vi * dt_ds - check = lambda xi, yi: (0 <= xi < len(self.x) - 1 and 0 <= yi < len(self.y) - 1) + def check(xi, yi): + return (0 <= xi < len(self.x) - 1) and (0 <= yi < len(self.y) - 1) + xb_changes = [] yb_changes = [] diff --git a/plotly/figure_factory/_table.py b/plotly/figure_factory/_table.py index 0204f48ae0d..bda731f601e 100644 --- a/plotly/figure_factory/_table.py +++ b/plotly/figure_factory/_table.py @@ -18,7 +18,7 @@ def validate_table(table_text, font_colors): font_colors_len_options = [1, 3, len(table_text)] if len(font_colors) not in font_colors_len_options: raise exceptions.PlotlyError( - "Oops, font_colors should be a list " "of length 1, 3 or len(text)" + "Oops, font_colors should be a list of length 1, 3 or len(text)" ) @@ -250,7 +250,6 @@ def make_table_annotations(self): :rtype (list) annotations: list of annotations for each cell of the table. """ - table_matrix = _Table.get_table_matrix(self) all_font_colors = _Table.get_table_font_color(self) annotations = [] for n, row in enumerate(self.table_text): diff --git a/plotly/figure_factory/_ternary_contour.py b/plotly/figure_factory/_ternary_contour.py index 690c7199d57..9434ee3b72d 100644 --- a/plotly/figure_factory/_ternary_contour.py +++ b/plotly/figure_factory/_ternary_contour.py @@ -3,11 +3,11 @@ from plotly import exceptions from plotly import optional_imports +from skimage import measure + np = optional_imports.get_module("numpy") scipy_interp = optional_imports.get_module("scipy.interpolate") -from skimage import measure - # -------------------------- Layout ------------------------------ @@ -164,7 +164,7 @@ def _prepare_barycentric_coord(b_coords): b_coords = np.asarray(b_coords) if b_coords.shape[0] not in (2, 3): raise ValueError( - "A point should have 2 (a, b) or 3 (a, b, c)" "barycentric coordinates" + "A point should have 2 (a, b) or 3 (a, b, c)barycentric coordinates" ) if ( (len(b_coords) == 3) @@ -219,9 +219,9 @@ def _compute_grid(coordinates, values, interp_mode="ilr"): grid_z = scipy_interp.griddata( coord_points[:2].T, values, (grid_x, grid_y), method="cubic" ) - grid_z_other = scipy_interp.griddata( - coord_points[:2].T, values, (grid_x, grid_y), method="nearest" - ) + # grid_z_other = scipy_interp.griddata( + # coord_points[:2].T, values, (grid_x, grid_y), method="nearest" + # ) # mask_nan = np.isnan(grid_z) # grid_z[mask_nan] = grid_z_other[mask_nan] return grid_z, gr_x, gr_y diff --git a/plotly/figure_factory/_trisurf.py b/plotly/figure_factory/_trisurf.py index b4805ec4c08..f935292efb7 100644 --- a/plotly/figure_factory/_trisurf.py +++ b/plotly/figure_factory/_trisurf.py @@ -94,7 +94,7 @@ def trisurf( """ # numpy import check if not np: - raise ImportError("FigureFactory._trisurf() requires " "numpy imported.") + raise ImportError("FigureFactory._trisurf() requires numpy imported.") points3D = np.vstack((x, y, z)).T simplices = np.atleast_2d(simplices) @@ -196,7 +196,7 @@ def trisurf( if any(is_none): if not all(is_none): raise ValueError( - "If any (x_edge, y_edge, z_edge) is None, " "all must be None" + "If any (x_edge, y_edge, z_edge) is None, all must be None" ) else: x_edge = [] @@ -223,7 +223,7 @@ def trisurf( if not (len(x_edge) == len(y_edge) == len(z_edge)): raise exceptions.PlotlyError( - "The lengths of x_edge, y_edge and " "z_edge are not the same." + "The lengths of x_edge, y_edge and z_edge are not the same." ) # define the lines for plotting diff --git a/plotly/figure_factory/_violin.py b/plotly/figure_factory/_violin.py index 62df6d3b8b0..55924e69238 100644 --- a/plotly/figure_factory/_violin.py +++ b/plotly/figure_factory/_violin.py @@ -235,8 +235,6 @@ def violin_no_colorscale( plot_data, plot_xrange = violinplot( vals, fillcolor=colors[color_index], rugplot=rugplot ) - layout = graph_objs.Layout() - for item in plot_data: fig.append_trace(item, 1, k + 1) color_index += 1 @@ -326,8 +324,6 @@ def violin_colorscale( plot_data, plot_xrange = violinplot( vals, fillcolor="rgb{}".format(intermed_color), rugplot=rugplot ) - layout = graph_objs.Layout() - for item in plot_data: fig.append_trace(item, 1, k + 1) fig["layout"].update( @@ -411,8 +407,6 @@ def violin_dict( for k, gr in enumerate(group_name): vals = np.asarray(gb.get_group(gr)[data_header], float) plot_data, plot_xrange = violinplot(vals, fillcolor=colors[gr], rugplot=rugplot) - layout = graph_objs.Layout() - for item in plot_data: fig.append_trace(item, 1, k + 1) @@ -591,7 +585,7 @@ def create_violin( if not all(isinstance(element, Number) for element in data): raise exceptions.PlotlyError( - "If data is a list, it must " "contain only numbers." + "If data is a list, it must contain only numbers." ) if pd and isinstance(data, pd.core.frame.DataFrame): @@ -691,7 +685,7 @@ def create_violin( if not isinstance(group_stats, dict): raise exceptions.PlotlyError( - "Your group_stats param " "must be a dictionary." + "Your group_stats param must be a dictionary." ) fig = violin_colorscale( diff --git a/plotly/figure_factory/utils.py b/plotly/figure_factory/utils.py index 8a9a17427eb..e20a319af13 100644 --- a/plotly/figure_factory/utils.py +++ b/plotly/figure_factory/utils.py @@ -1,24 +1,6 @@ from collections.abc import Sequence from plotly import exceptions -from plotly.colors import ( - DEFAULT_PLOTLY_COLORS, - PLOTLY_SCALES, - color_parser, - colorscale_to_colors, - colorscale_to_scale, - convert_to_RGB_255, - find_intermediate_color, - hex_to_rgb, - label_rgb, - n_colors, - unconvert_from_RGB_255, - unlabel_rgb, - validate_colors, - validate_colors_dict, - validate_colorscale, - validate_scale_values, -) def is_sequence(obj): @@ -90,7 +72,7 @@ def validate_equal_length(*args): length = len(args[0]) if any(len(lst) != length for lst in args): raise exceptions.PlotlyError( - "Oops! Your data lists or ndarrays " "should be the same length." + "Oops! Your data lists or ndarrays should be the same length." ) @@ -207,28 +189,28 @@ def annotation_dict_for_label( :param (bool) right_side: only applicable if row_col is set to 'row'. :param (str) text_color: color of the text. """ - l = (1 - (num_of_lanes - 1) * subplot_spacing) / (num_of_lanes) + temp = (1 - (num_of_lanes - 1) * subplot_spacing) / (num_of_lanes) if not flipped: xanchor = "center" yanchor = "middle" if row_col == "col": - x = (lane - 1) * (l + subplot_spacing) + 0.5 * l + x = (lane - 1) * (temp + subplot_spacing) + 0.5 * temp y = 1.03 textangle = 0 elif row_col == "row": - y = (lane - 1) * (l + subplot_spacing) + 0.5 * l + y = (lane - 1) * (temp + subplot_spacing) + 0.5 * temp x = 1.03 textangle = 90 else: if row_col == "col": xanchor = "center" yanchor = "bottom" - x = (lane - 1) * (l + subplot_spacing) + 0.5 * l + x = (lane - 1) * (temp + subplot_spacing) + 0.5 * temp y = 1.0 textangle = 270 elif row_col == "row": yanchor = "middle" - y = (lane - 1) * (l + subplot_spacing) + 0.5 * l + y = (lane - 1) * (temp + subplot_spacing) + 0.5 * temp if right_side: x = 1.0 xanchor = "left" diff --git a/plotly/files.py b/plotly/files.py index de99b0e8853..74394db05b2 100644 --- a/plotly/files.py +++ b/plotly/files.py @@ -1 +1 @@ -from _plotly_utils.files import * +from _plotly_utils.files import PLOTLY_DIR, ensure_writable_plotly_dir # noqa: F401 diff --git a/plotly/graph_objects/__init__.py b/plotly/graph_objects/__init__.py index 0991177e37c..ab87744d0d7 100644 --- a/plotly/graph_objects/__init__.py +++ b/plotly/graph_objects/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 import sys from typing import TYPE_CHECKING diff --git a/plotly/io/__init__.py b/plotly/io/__init__.py index eaf61a695b5..87f9c3a49a7 100644 --- a/plotly/io/__init__.py +++ b/plotly/io/__init__.py @@ -1,3 +1,5 @@ +# ruff: noqa: F401 + from _plotly_utils.importers import relative_import from typing import TYPE_CHECKING diff --git a/plotly/io/_base_renderers.py b/plotly/io/_base_renderers.py index b05c2169050..b413aee1215 100644 --- a/plotly/io/_base_renderers.py +++ b/plotly/io/_base_renderers.py @@ -5,9 +5,8 @@ import os from os.path import isdir -from plotly import utils, optional_imports +from plotly import optional_imports from plotly.io import to_json, to_image, write_image, write_html -from plotly.io._orca import ensure_server from plotly.io._utils import plotly_cdn_url from plotly.offline.offline import _get_jconfig, get_plotlyjs from plotly.tools import return_figure_from_figure_or_data @@ -112,7 +111,6 @@ def __init__( scale=None, engine="auto", ): - self.mime_type = mime_type self.b64_encode = b64_encode self.format = format @@ -255,7 +253,6 @@ def __init__( animation_opts=None, include_plotlyjs=True, ): - self.config = dict(config) if config else {} self.auto_play = auto_play self.connected = connected @@ -305,7 +302,6 @@ def activate(self): ipython_display.display_html(script, raw=True) def to_mimebundle(self, fig_dict): - from plotly.io import to_html include_mathjax = "cdn" @@ -410,7 +406,6 @@ class KaggleRenderer(HtmlRenderer): def __init__( self, config=None, auto_play=False, post_script=None, animation_opts=None ): - super(KaggleRenderer, self).__init__( connected=True, full_html=False, @@ -438,7 +433,6 @@ class AzureRenderer(HtmlRenderer): def __init__( self, config=None, auto_play=False, post_script=None, animation_opts=None ): - super(AzureRenderer, self).__init__( connected=True, full_html=False, @@ -463,7 +457,6 @@ class ColabRenderer(HtmlRenderer): def __init__( self, config=None, auto_play=False, post_script=None, animation_opts=None ): - super(ColabRenderer, self).__init__( connected=True, full_html=True, @@ -508,7 +501,6 @@ def __init__( include_plotlyjs=True, html_directory="iframe_figures", ): - self.config = config self.auto_play = auto_play self.post_script = post_script @@ -540,7 +532,7 @@ def to_mimebundle(self, fig_dict): # Make directory for try: os.makedirs(self.html_directory) - except OSError as error: + except OSError: if not isdir(self.html_directory): raise @@ -569,9 +561,7 @@ def to_mimebundle(self, fig_dict): frameborder="0" allowfullscreen > -""".format( - width=iframe_width, height=iframe_height, src=self.build_url(filename) - ) +""".format(width=iframe_width, height=iframe_height, src=self.build_url(filename)) return {"text/html": iframe_html} @@ -590,7 +580,6 @@ def build_url(self, filename): class CoCalcRenderer(IFrameRenderer): - _render_count = 0 def build_filename(self): @@ -701,7 +690,6 @@ def __init__( post_script=None, animation_opts=None, ): - self.config = config self.auto_play = auto_play self.using = using @@ -738,7 +726,6 @@ def __init__( animation_opts=None, include_plotlyjs="cdn", ): - self.config = config self.auto_play = auto_play self.post_script = post_script @@ -809,7 +796,6 @@ def __init__( ) def to_mimebundle(self, fig_dict): - from plotly.io import to_html if self.connected: @@ -841,7 +827,7 @@ def render(self, fig_dict): # Name of script from which plot function was called is retrieved try: filename = stack[3].filename # let's hope this is robust... - except: # python 2 + except Exception: # python 2 filename = stack[3][1] filename_root, _ = os.path.splitext(filename) filename_html = filename_root + ".html" diff --git a/plotly/io/_html.py b/plotly/io/_html.py index dbec1fc83b7..02b0f307748 100644 --- a/plotly/io/_html.py +++ b/plotly/io/_html.py @@ -175,9 +175,7 @@ def to_html( # So we need to configure the PLOTLYENV.BASE_URL property base_url_line = """ window.PLOTLYENV.BASE_URL='{plotly_platform_url}';\ -""".format( - plotly_platform_url=config.get("plotlyServerURL", "https://plot.ly") - ) +""".format(plotly_platform_url=config.get("plotlyServerURL", "https://plot.ly")) else: # Figure is not going to include a Chart Studio link or send-to-cloud button, # In this case we don't want https://plot.ly to show up anywhere in the HTML @@ -198,18 +196,14 @@ def to_html( for ps in post_script: then_post_script += """.then(function(){{ {post_script} - }})""".format( - post_script=ps.replace("{plot_id}", plotdivid) - ) + }})""".format(post_script=ps.replace("{plot_id}", plotdivid)) then_addframes = "" then_animate = "" if jframes: then_addframes = """.then(function(){{ Plotly.addFrames('{id}', {frames}); - }})""".format( - id=plotdivid, frames=jframes - ) + }})""".format(id=plotdivid, frames=jframes) if auto_play: if animation_opts: @@ -218,9 +212,7 @@ def to_html( animation_opts_arg = "" then_animate = """.then(function(){{ Plotly.animate('{id}', null{animation_opts}); - }})""".format( - id=plotdivid, animation_opts=animation_opts_arg - ) + }})""".format(id=plotdivid, animation_opts=animation_opts_arg) # Serialize config dict to JSON jconfig = _json.dumps(config) @@ -255,33 +247,25 @@ def to_html( load_plotlyjs = """\ {win_config} \ - """.format( - win_config=_window_plotly_config, cdn_url=plotly_cdn_url() - ) + """.format(win_config=_window_plotly_config, cdn_url=plotly_cdn_url()) elif include_plotlyjs == "directory": load_plotlyjs = """\ {win_config} \ - """.format( - win_config=_window_plotly_config - ) + """.format(win_config=_window_plotly_config) elif isinstance(include_plotlyjs, str) and include_plotlyjs.endswith(".js"): load_plotlyjs = """\ {win_config} \ - """.format( - win_config=_window_plotly_config, url=include_plotlyjs_orig - ) + """.format(win_config=_window_plotly_config, url=include_plotlyjs_orig) elif include_plotlyjs: load_plotlyjs = """\ {win_config} \ - """.format( - win_config=_window_plotly_config, plotlyjs=get_plotlyjs() - ) + """.format(win_config=_window_plotly_config, plotlyjs=get_plotlyjs()) # ## Handle loading/initializing MathJax ## include_mathjax_orig = include_mathjax @@ -294,15 +278,12 @@ def to_html( if include_mathjax == "cdn": mathjax_script = ( mathjax_template.format( - url=( - "https://cdnjs.cloudflare.com" "/ajax/libs/mathjax/2.7.5/MathJax.js" - ) + url=("https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js") ) + _mathjax_config ) elif isinstance(include_mathjax, str) and include_mathjax.endswith(".js"): - mathjax_script = ( mathjax_template.format(url=include_mathjax_orig) + _mathjax_config ) @@ -315,9 +296,7 @@ def to_html( Received value: {val} include_mathjax may be specified as False, 'cdn', or a string ending with '.js' - """.format( - typ=type(include_mathjax), val=repr(include_mathjax) - ) + """.format(typ=type(include_mathjax), val=repr(include_mathjax)) ) plotly_html_div = """\ @@ -347,9 +326,7 @@ def to_html( {div} -""".format( - div=plotly_html_div - ) +""".format(div=plotly_html_div) else: return plotly_html_div diff --git a/plotly/io/_json.py b/plotly/io/_json.py index b45191a07b2..e4324d11588 100644 --- a/plotly/io/_json.py +++ b/plotly/io/_json.py @@ -25,8 +25,9 @@ def default_engine(self): def default_engine(self, val): if val not in JsonConfig._valid_engines: raise ValueError( - "Supported JSON engines include {valid}\n" - " Received {val}".format(valid=JsonConfig._valid_engines, val=val) + "Supported JSON engines include {valid}\n Received {val}".format( + valid=JsonConfig._valid_engines, val=val + ) ) if val == "orjson": @@ -287,9 +288,7 @@ def write_json(fig, file, validate=True, pretty=False, remove_uids=True, engine= raise ValueError( """ The 'file' argument '{file}' is not a string, pathlib.Path object, or file descriptor. -""".format( - file=file - ) +""".format(file=file) ) else: # We previously succeeded in interpreting `file` as a pathlib object. @@ -332,9 +331,7 @@ def from_json_plotly(value, engine=None): raise ValueError( """ from_json_plotly requires a string or bytes argument but received value of type {typ} - Received value: {value}""".format( - typ=type(value), value=value - ) + Received value: {value}""".format(typ=type(value), value=value) ) # Determine json engine @@ -449,9 +446,6 @@ def read_json(file, output_type="Figure", skip_invalid=False, engine=None): """ # Try to cast `file` as a pathlib object `path`. - # ------------------------- - # ---------------------------------------------- - file_is_str = isinstance(file, str) if isinstance(file, str): # Use the standard Path constructor to make a pathlib object. path = Path(file) diff --git a/plotly/io/_kaleido.py b/plotly/io/_kaleido.py index a76ad460286..22477a81719 100644 --- a/plotly/io/_kaleido.py +++ b/plotly/io/_kaleido.py @@ -40,19 +40,20 @@ _KALEIDO_AVAILABLE = None _KALEIDO_MAJOR = None -kaleido_scope_default_warning_func = ( - lambda x: f""" + +def kaleido_scope_default_warning_func(x): + return f""" Use of plotly.io.kaleido.scope.{x} is deprecated and support will be removed after {ENGINE_SUPPORT_TIMELINE}. Please use plotly.io.defaults.{x} instead. """ -) -bad_attribute_error_msg_func = ( - lambda x: f""" + + +def bad_attribute_error_msg_func(x): + return f""" Attribute plotly.io.defaults.{x} is not valid. Also, use of plotly.io.kaleido.scope.* is deprecated and support will be removed after {ENGINE_SUPPORT_TIMELINE}. Please use plotly.io.defaults.* instead. """ -) def kaleido_available() -> bool: @@ -64,10 +65,10 @@ def kaleido_available() -> bool: if _KALEIDO_AVAILABLE is not None: return _KALEIDO_AVAILABLE try: - import kaleido + import kaleido # noqa: F401 _KALEIDO_AVAILABLE = True - except ImportError as e: + except ImportError: _KALEIDO_AVAILABLE = False return _KALEIDO_AVAILABLE @@ -178,7 +179,7 @@ def __setattr__(self, name, value): scope = DefaultsWrapper() -except ImportError as e: +except ImportError: PlotlyScope = None scope = None @@ -317,7 +318,7 @@ def to_image( try: validate_executable() engine = "orca" - except: + except Exception: # If orca not configured properly, make sure we display the error # message advising the installation of kaleido engine = "kaleido" diff --git a/plotly/io/_orca.py b/plotly/io/_orca.py index bf95123989e..aff6a367ad8 100644 --- a/plotly/io/_orca.py +++ b/plotly/io/_orca.py @@ -150,7 +150,6 @@ class OrcaConfig(object): """ def __init__(self): - # Initialize properties dict self._props = {} @@ -213,9 +212,7 @@ def update(self, d={}, **kwargs): """ The first argument to update must be a dict, \ but received value of type {typ}l - Received value: {val}""".format( - typ=type(d), val=d - ) + Received value: {val}""".format(typ=type(d), val=d) ) updates = copy(d) @@ -249,18 +246,15 @@ def reload(self, warn=True): None """ if os.path.exists(self.config_file): - # ### Load file into a string ### try: with open(self.config_file, "r") as f: orca_str = f.read() - except: + except Exception: if warn: warnings.warn( """\ -Unable to read orca configuration file at {path}""".format( - path=self.config_file - ) +Unable to read orca configuration file at {path}""".format(path=self.config_file) ) return @@ -271,9 +265,7 @@ def reload(self, warn=True): if warn: warnings.warn( """\ -Orca configuration file at {path} is not valid JSON""".format( - path=self.config_file - ) +Orca configuration file at {path} is not valid JSON""".format(path=self.config_file) ) return @@ -284,9 +276,7 @@ def reload(self, warn=True): elif warn: warnings.warn( """\ -Orca configuration file at {path} not found""".format( - path=self.config_file - ) +Orca configuration file at {path} not found""".format(path=self.config_file) ) def save(self): @@ -307,9 +297,7 @@ def save(self): else: warnings.warn( """\ -Failed to write orca configuration file at '{path}'""".format( - path=self.config_file - ) +Failed to write orca configuration file at '{path}'""".format(path=self.config_file) ) @property @@ -329,7 +317,6 @@ def server_url(self): @server_url.setter def server_url(self, val): - if val is None: self._props.pop("server_url", None) return @@ -337,9 +324,7 @@ def server_url(self, val): raise ValueError( """ The server_url property must be a string, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) if not val.startswith("http://") and not val.startswith("https://"): @@ -371,7 +356,6 @@ def port(self): @port.setter def port(self, val): - if val is None: self._props.pop("port", None) return @@ -379,9 +363,7 @@ def port(self, val): raise ValueError( """ The port property must be an integer, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["port"] = val @@ -418,7 +400,6 @@ def executable(self): @executable.setter def executable(self, val): - if val is None: self._props.pop("executable", None) else: @@ -426,9 +407,7 @@ def executable(self, val): raise ValueError( """ The executable property must be a string, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) if isinstance(val, str): val = [val] @@ -462,7 +441,6 @@ def timeout(self): @timeout.setter def timeout(self, val): - if val is None: self._props.pop("timeout", None) else: @@ -470,9 +448,7 @@ def timeout(self, val): raise ValueError( """ The timeout property must be a number, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["timeout"] = val @@ -494,7 +470,6 @@ def default_width(self): @default_width.setter def default_width(self, val): - if val is None: self._props.pop("default_width", None) return @@ -502,9 +477,7 @@ def default_width(self, val): raise ValueError( """ The default_width property must be an int, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["default_width"] = val @@ -523,7 +496,6 @@ def default_height(self): @default_height.setter def default_height(self, val): - if val is None: self._props.pop("default_height", None) return @@ -531,9 +503,7 @@ def default_height(self, val): raise ValueError( """ The default_height property must be an int, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["default_height"] = val @@ -583,7 +553,6 @@ def default_scale(self): @default_scale.setter def default_scale(self, val): - if val is None: self._props.pop("default_scale", None) return @@ -591,9 +560,7 @@ def default_scale(self, val): raise ValueError( """ The default_scale property must be a number, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["default_scale"] = val @@ -612,7 +579,6 @@ def topojson(self): @topojson.setter def topojson(self, val): - if val is None: self._props.pop("topojson", None) else: @@ -620,9 +586,7 @@ def topojson(self, val): raise ValueError( """ The topojson property must be a string, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["topojson"] = val @@ -640,12 +604,11 @@ def mathjax(self): """ return self._props.get( "mathjax", - ("https://cdnjs.cloudflare.com" "/ajax/libs/mathjax/2.7.5/MathJax.js"), + ("https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"), ) @mathjax.setter def mathjax(self, val): - if val is None: self._props.pop("mathjax", None) else: @@ -653,9 +616,7 @@ def mathjax(self, val): raise ValueError( """ The mathjax property must be a string, but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["mathjax"] = val @@ -675,7 +636,6 @@ def mapbox_access_token(self): @mapbox_access_token.setter def mapbox_access_token(self, val): - if val is None: self._props.pop("mapbox_access_token", None) else: @@ -684,9 +644,7 @@ def mapbox_access_token(self, val): """ The mapbox_access_token property must be a string, \ but received value of type {typ}. - Received value: {val}""".format( - typ=type(val), val=val - ) + Received value: {val}""".format(typ=type(val), val=val) ) self._props["mapbox_access_token"] = val @@ -1029,7 +987,7 @@ def validate_executable(): executable, ] - if config.use_xvfb == True: + if config.use_xvfb: # Use xvfb xvfb_run_executable = which("xvfb-run") if not xvfb_run_executable: @@ -1039,9 +997,7 @@ def validate_executable(): xvfb-run executable could not be found on the system path. Searched for the executable 'xvfb-run' on the following path: - {formatted_path}""".format( - formatted_path=formatted_path - ) + {formatted_path}""".format(formatted_path=formatted_path) ) executable_list = [xvfb_run_executable] + xvfb_args @@ -1097,7 +1053,6 @@ def validate_executable(): # Check for Linux without X installed. if sys.platform.startswith("linux") and not os.environ.get("DISPLAY"): - err_msg += """\ Note: When used on Linux, orca requires an X11 display server, but none was detected. Please install Xvfb and configure plotly.py to run orca using Xvfb @@ -1121,9 +1076,7 @@ def validate_executable(): + """ The error encountered is that no output was returned by the command $ {executable} --help -""".format( - executable=" ".join(executable_list) - ) +""".format(executable=" ".join(executable_list)) ) if "Plotly's image-exporting utilities" not in help_result.decode("utf-8"): @@ -1134,9 +1087,7 @@ def validate_executable(): $ {executable} --help {help_result} -""".format( - executable=" ".join(executable_list), help_result=help_result - ) +""".format(executable=" ".join(executable_list), help_result=help_result) ) # Get orca version @@ -1178,9 +1129,7 @@ def validate_executable(): Here is the command that plotly.py ran to request the version: $ {executable} --version -""".format( - executable=" ".join(executable_list) - ) +""".format(executable=" ".join(executable_list)) ) else: version_result = version_result.decode() @@ -1236,7 +1185,6 @@ def shutdown_server(): if orca_state["proc"] is not None: with orca_lock: if orca_state["proc"] is not None: - # We use psutil to kill all child processes of the main orca # process. This prevents any zombie processes from being # left over, and it saves us from needing to write @@ -1246,7 +1194,7 @@ def shutdown_server(): for child in parent.children(recursive=True): try: child.terminate() - except: + except Exception: # We tried, move on pass @@ -1255,8 +1203,8 @@ def shutdown_server(): orca_state["proc"].terminate() # Wait for the process to shutdown - child_status = orca_state["proc"].wait() - except: + orca_state["proc"].wait() + except Exception: # We tried, move on pass @@ -1329,7 +1277,6 @@ def ensure_server(): # Start a new server process if none is active if orca_state["proc"] is None: - # Determine server port if config.port is None: orca_state["port"] = find_open_port() @@ -1399,7 +1346,7 @@ def request_image_with_retrying(**kwargs): hostname="localhost", port=orca_state["port"] ) - request_params = {k: v for k, v, in kwargs.items() if v is not None} + request_params = {k: v for k, v in kwargs.items() if v is not None} json_str = to_json_plotly(request_params) response = post(server_url + "/", data=json_str) @@ -1494,7 +1441,7 @@ def to_image(fig, format=None, width=None, height=None, scale=None, validate=Tru response = request_image_with_retrying( figure=fig_dict, format=format, scale=scale, width=width, height=height ) - except OSError as err: + except OSError: # Get current status string status_str = repr(status) @@ -1504,9 +1451,7 @@ def to_image(fig, format=None, width=None, height=None, scale=None, validate=Tru Plotly.py was unable to communicate with the orca server at {server_url} Please check that the server is running and accessible. -""".format( - server_url=config.server_url - ) +""".format(server_url=config.server_url) ) else: @@ -1523,9 +1468,7 @@ def to_image(fig, format=None, width=None, height=None, scale=None, validate=Tru Please review the process and connection information below: {info} -""".format( - info=status_str - ) +""".format(info=status_str) ) else: # Reset the status so that if the user tries again, we'll try to @@ -1540,9 +1483,7 @@ def to_image(fig, format=None, width=None, height=None, scale=None, validate=Tru {info} plotly.py will attempt to start the local server process again the next time an image export operation is performed. -""".format( - info=status_str - ) +""".format(info=status_str) ) # Check response @@ -1556,9 +1497,7 @@ def to_image(fig, format=None, width=None, height=None, scale=None, validate=Tru The image request was rejected by the orca conversion utility with the following error: {status}: {msg} -""".format( - status=response.status_code, msg=response.content.decode("utf-8") - ) +""".format(status=response.status_code, msg=response.content.decode("utf-8")) # ### Try to be helpful ### # Status codes from /src/component/plotly-graph/constants.js in the @@ -1700,9 +1639,7 @@ def write_image( >>> import plotly.io as pio >>> pio.write_image(fig, file_path, format='png') -""".format( - file=file - ) +""".format(file=file) ) # Request image @@ -1725,9 +1662,7 @@ def write_image( raise ValueError( """ The 'file' argument '{file}' is not a string, pathlib.Path object, or file descriptor. -""".format( - file=file - ) +""".format(file=file) ) else: # We previously succeeded in interpreting `file` as a pathlib object. diff --git a/plotly/io/_renderers.py b/plotly/io/_renderers.py index de0d8f5ff74..9ddd1db5ddd 100644 --- a/plotly/io/_renderers.py +++ b/plotly/io/_renderers.py @@ -1,8 +1,8 @@ import textwrap from copy import copy - import os from packaging.version import Version +import warnings from plotly import optional_imports @@ -32,10 +32,6 @@ ipython_display = optional_imports.get_module("IPython.display") nbformat = optional_imports.get_module("nbformat") -from plotly import optional_imports - -import warnings - def display_jupyter_version_warnings(): parent_process = None @@ -98,9 +94,7 @@ def __setitem__(self, key, value): raise ValueError( """\ Renderer must be a subclass of MimetypeRenderer or ExternalRenderer. - Received value with type: {typ}""".format( - typ=type(value) - ) + Received value with type: {typ}""".format(typ=type(value)) ) self._renderers[key] = value @@ -247,9 +241,7 @@ def _validate_coerce_renderers(self, renderers_string): if invalid: raise ValueError( """ -Invalid named renderer(s) received: {}""".format( - str(invalid) - ) +Invalid named renderer(s) received: {}""".format(str(invalid)) ) return renderer_names @@ -261,9 +253,7 @@ def __repr__(self): Default renderer: {default} Available renderers: {available} -""".format( - default=repr(self.default), available=self._available_renderers_str() - ) +""".format(default=repr(self.default), available=self._available_renderers_str()) def _available_renderers_str(self): """ @@ -491,9 +481,7 @@ def show(fig, renderer=None, validate=True, **kwargs): raise ValueError( """ Invalid named renderer(s) specified in the 'PLOTLY_RENDERER' -environment variable: {env_renderer}""".format( - env_renderer=env_renderer - ) +environment variable: {env_renderer}""".format(env_renderer=env_renderer) ) default_renderer = env_renderer @@ -502,7 +490,7 @@ def show(fig, renderer=None, validate=True, **kwargs): # default renderer if not default_renderer: try: - import google.colab + import google.colab # noqa: F401 default_renderer = "colab" except ImportError: diff --git a/plotly/io/_sg_scraper.py b/plotly/io/_sg_scraper.py index 6afa4d68c49..af15b7d1c33 100644 --- a/plotly/io/_sg_scraper.py +++ b/plotly/io/_sg_scraper.py @@ -89,7 +89,6 @@ def figure_rst(figure_list, sources_dir): if not figure_paths: return images_rst figure_name = figure_paths[0] - ext = os.path.splitext(figure_name)[1] figure_path = os.path.join("images", os.path.basename(figure_name)) images_rst = SINGLE_HTML % figure_path return images_rst diff --git a/plotly/io/_templates.py b/plotly/io/_templates.py index d5576a5347b..160ee7c4075 100644 --- a/plotly/io/_templates.py +++ b/plotly/io/_templates.py @@ -25,7 +25,6 @@ class TemplatesConfig(object): """ def __init__(self): - # Initialize properties dict self._templates = {} @@ -156,7 +155,6 @@ def default(self): @default.setter def default(self, value): - # Validate value # Could be a Template object, the key of a registered template, # Or a string containing the names of multiple templates joined on @@ -171,9 +169,7 @@ def __repr__(self): Default template: {default} Available templates: {available} -""".format( - default=repr(self.default), available=self._available_templates_str() - ) +""".format(default=repr(self.default), available=self._available_templates_str()) def _available_templates_str(self): """ diff --git a/plotly/io/_utils.py b/plotly/io/_utils.py index 0dc84d8d07a..4d27e0326c0 100644 --- a/plotly/io/_utils.py +++ b/plotly/io/_utils.py @@ -22,9 +22,7 @@ def validate_coerce_fig_to_dict(fig, validate): raise ValueError( """ The fig parameter must be a dict or Figure. - Received value of type {typ}: {v}""".format( - typ=type(fig), v=fig - ) + Received value of type {typ}: {v}""".format(typ=type(fig), v=fig) ) return fig_dict diff --git a/plotly/io/base_renderers.py b/plotly/io/base_renderers.py index c47ffc4ca90..78c1d86b440 100644 --- a/plotly/io/base_renderers.py +++ b/plotly/io/base_renderers.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 from ._base_renderers import ( MimetypeRenderer, PlotlyRenderer, diff --git a/plotly/io/json.py b/plotly/io/json.py index ff83e960760..86c320d2f4a 100644 --- a/plotly/io/json.py +++ b/plotly/io/json.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 from ._json import ( to_json, write_json, diff --git a/plotly/io/kaleido.py b/plotly/io/kaleido.py index f7e2bacecdf..c086ea39ffe 100644 --- a/plotly/io/kaleido.py +++ b/plotly/io/kaleido.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 from ._kaleido import ( to_image, write_image, diff --git a/plotly/io/orca.py b/plotly/io/orca.py index f774dc1aaf5..4fd5c19250f 100644 --- a/plotly/io/orca.py +++ b/plotly/io/orca.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 from ._orca import ( ensure_server, shutdown_server, diff --git a/plotly/matplotlylib/__init__.py b/plotly/matplotlylib/__init__.py index 9abe924f6fb..56b55448973 100644 --- a/plotly/matplotlylib/__init__.py +++ b/plotly/matplotlylib/__init__.py @@ -1,3 +1,5 @@ +# ruff: noqa: F401 + """ matplotlylib ============ diff --git a/plotly/matplotlylib/mplexporter/__init__.py b/plotly/matplotlylib/mplexporter/__init__.py index 970731c6d64..296a47edd42 100644 --- a/plotly/matplotlylib/mplexporter/__init__.py +++ b/plotly/matplotlylib/mplexporter/__init__.py @@ -1,2 +1,3 @@ +# ruff: noqa: F401 from .renderers import Renderer from .exporter import Exporter diff --git a/plotly/matplotlylib/mplexporter/exporter.py b/plotly/matplotlylib/mplexporter/exporter.py index c81dcb2a876..bbd17568e95 100644 --- a/plotly/matplotlylib/mplexporter/exporter.py +++ b/plotly/matplotlylib/mplexporter/exporter.py @@ -45,7 +45,7 @@ def run(self, fig): # Calling savefig executes the draw() command, putting elements # in the correct place. if fig.canvas is None: - canvas = FigureCanvasAgg(fig) + FigureCanvasAgg(fig) fig.savefig(io.BytesIO(), format="png", dpi=fig.dpi) if self.close_mpl: import matplotlib.pyplot as plt diff --git a/plotly/matplotlylib/mplexporter/renderers/__init__.py b/plotly/matplotlylib/mplexporter/renderers/__init__.py index ba85b1aa00e..21113adcc56 100644 --- a/plotly/matplotlylib/mplexporter/renderers/__init__.py +++ b/plotly/matplotlylib/mplexporter/renderers/__init__.py @@ -1,3 +1,5 @@ +# ruff: noqa F401 + """ Matplotlib Renderers ==================== diff --git a/plotly/matplotlylib/mplexporter/renderers/fake_renderer.py b/plotly/matplotlylib/mplexporter/renderers/fake_renderer.py index 3ec2cf3622f..de2ae40efa7 100644 --- a/plotly/matplotlylib/mplexporter/renderers/fake_renderer.py +++ b/plotly/matplotlylib/mplexporter/renderers/fake_renderer.py @@ -83,6 +83,6 @@ def draw_path_collection( styles, mplobj=None, ): - self.output += " draw path collection " "with {0} offsets\n".format( + self.output += " draw path collection with {0} offsets\n".format( offsets.shape[0] ) diff --git a/plotly/matplotlylib/mplexporter/tests/__init__.py b/plotly/matplotlylib/mplexporter/tests/__init__.py index c29e9896d61..290cc21f99d 100644 --- a/plotly/matplotlylib/mplexporter/tests/__init__.py +++ b/plotly/matplotlylib/mplexporter/tests/__init__.py @@ -1,4 +1,3 @@ import matplotlib matplotlib.use("Agg") -import matplotlib.pyplot as plt diff --git a/plotly/matplotlylib/mplexporter/tests/test_basic.py b/plotly/matplotlylib/mplexporter/tests/test_basic.py index 081089cc20b..3739e1303ed 100644 --- a/plotly/matplotlylib/mplexporter/tests/test_basic.py +++ b/plotly/matplotlylib/mplexporter/tests/test_basic.py @@ -1,12 +1,11 @@ import matplotlib import numpy as np import pytest -from numpy.testing import assert_warns from packaging.version import Version from ..exporter import Exporter from ..renderers import FakeRenderer, FullFakeRenderer -from . import plt +import matplotlib.pyplot as plt def fake_renderer_output(fig, Renderer): @@ -256,4 +255,3 @@ def test_legend_dots(): def test_blended(): fig, ax = plt.subplots() ax.axvline(0) - # assert_warns(UserWarning, fake_renderer_output, fig, FakeRenderer) diff --git a/plotly/matplotlylib/mplexporter/tools.py b/plotly/matplotlylib/mplexporter/tools.py index 9ddbf9a8261..f66fdfb138c 100644 --- a/plotly/matplotlylib/mplexporter/tools.py +++ b/plotly/matplotlylib/mplexporter/tools.py @@ -32,7 +32,7 @@ def ipynb_vega_init(): }}; """ d3_geo_projection_js_url = "http://d3js.org/d3.geo.projection.v0.min.js" - d3_layout_cloud_js_url = "http://wrobstory.github.io/d3-cloud/" "d3.layout.cloud.js" + d3_layout_cloud_js_url = "http://wrobstory.github.io/d3-cloud/d3.layout.cloud.js" topojson_js_url = "http://d3js.org/topojson.v1.min.js" vega_js_url = "http://trifacta.github.com/vega/vega.js" diff --git a/plotly/matplotlylib/mplexporter/utils.py b/plotly/matplotlylib/mplexporter/utils.py index cdc39ed552b..646e11e2f86 100644 --- a/plotly/matplotlylib/mplexporter/utils.py +++ b/plotly/matplotlylib/mplexporter/utils.py @@ -74,8 +74,7 @@ def get_dasharray(obj): dasharray = LINESTYLES.get(ls, "not found") if dasharray == "not found": warnings.warn( - "line style '{0}' not understood: " - "defaulting to solid line.".format(ls) + "line style '{0}' not understood: defaulting to solid line.".format(ls) ) dasharray = LINESTYLES["solid"] return dasharray @@ -322,7 +321,7 @@ def get_axes_properties(ax): scale = axis.get_scale() if scale not in ["date", "linear", "log"]: - raise ValueError("Unknown axis scale: " "{0}".format(axis.get_scale())) + raise ValueError("Unknown axis scale: {0}".format(axis.get_scale())) props[axname + "scale"] = scale props[axname + "lim"] = lim diff --git a/plotly/matplotlylib/mpltools.py b/plotly/matplotlylib/mpltools.py index 641606b3182..42681360030 100644 --- a/plotly/matplotlylib/mpltools.py +++ b/plotly/matplotlylib/mpltools.py @@ -84,7 +84,6 @@ def convert_dash(mpl_dash): def convert_path(path): - verts = path[0] # may use this later code = tuple(path[1]) if code in PATH_MAP: return PATH_MAP[code] @@ -493,7 +492,7 @@ def prep_ticks(ax, index, ax_type, props): else: axis_dict = dict(range=None, type="linear") warnings.warn( - "Converted non-base10 {0}-axis log scale to 'linear'" "".format(ax_type) + "Converted non-base10 {0}-axis log scale to 'linear'".format(ax_type) ) else: return dict() @@ -553,7 +552,7 @@ def mpl_dates_to_datestrings(dates, mpl_formatter): try: dates = matplotlib.dates.epoch2num([date * 24 * 60 * 60 for date in dates]) dates = matplotlib.dates.num2date(dates) - except: + except Exception: return _dates # the rest of mpl dates are in floating point days since @@ -562,7 +561,7 @@ def mpl_dates_to_datestrings(dates, mpl_formatter): else: try: dates = matplotlib.dates.num2date(dates) - except: + except Exception: return _dates time_stings = [ diff --git a/plotly/matplotlylib/renderer.py b/plotly/matplotlylib/renderer.py index e05a046607a..c95de522477 100644 --- a/plotly/matplotlylib/renderer.py +++ b/plotly/matplotlylib/renderer.py @@ -199,7 +199,6 @@ def close_axes(self, ax): self.x_is_mpl_date = False def draw_bars(self, bars): - # sort bars according to bar containers mpl_traces = [] for container in self.bar_containers: @@ -300,7 +299,7 @@ def draw_bar(self, coll): ) # TODO ditto if len(bar["x"]) > 1: self.msg += " Heck yeah, I drew that bar chart\n" - self.plotly_fig.add_trace(bar), + (self.plotly_fig.add_trace(bar),) if bar_gap is not None: self.plotly_fig["layout"]["bargap"] = bar_gap else: @@ -498,13 +497,13 @@ def draw_marked_line(self, **props): marked_line["x"] = mpltools.mpl_dates_to_datestrings( marked_line["x"], formatter ) - self.plotly_fig.add_trace(marked_line), + (self.plotly_fig.add_trace(marked_line),) self.msg += " Heck yeah, I drew that line\n" elif props["coordinates"] == "axes": # dealing with legend graphical elements self.draw_legend_shapes(mode=mode, shape=shape, **props) else: - self.msg += " Line didn't have 'data' coordinates, " "not drawing\n" + self.msg += " Line didn't have 'data' coordinates, not drawing\n" warnings.warn( "Bummer! Plotly can currently only draw Line2D " "objects from matplotlib that are in 'data' " @@ -568,7 +567,7 @@ def draw_path_collection(self, **props): self.msg += " Drawing path collection as markers\n" self.draw_marked_line(**scatter_props) else: - self.msg += " Path collection not linked to 'data', " "not drawing\n" + self.msg += " Path collection not linked to 'data', not drawing\n" warnings.warn( "Dang! That path collection is out of this " "world. I totally don't know what to do with " @@ -669,9 +668,7 @@ def draw_text(self, **props): else: # just a regular text annotation... self.msg += " Text object is a normal annotation\n" if props["coordinates"] != "data": - self.msg += ( - " Text object isn't linked to 'data' " "coordinates\n" - ) + self.msg += " Text object isn't linked to 'data' coordinates\n" x_px, y_px = ( props["mplobj"].get_transform().transform(props["position"]) ) @@ -681,7 +678,7 @@ def draw_text(self, **props): xanchor = props["style"]["halign"] # no difference here! yanchor = mpltools.convert_va(props["style"]["valign"]) else: - self.msg += " Text object is linked to 'data' " "coordinates\n" + self.msg += " Text object is linked to 'data' coordinates\n" x, y = props["position"] axis_ct = self.axis_ct xaxis = self.plotly_fig["layout"]["xaxis{0}".format(axis_ct)] @@ -757,9 +754,7 @@ def draw_title(self, **props): """ self.msg += " Attempting to draw a title\n" if len(self.mpl_fig.axes) > 1: - self.msg += ( - " More than one subplot, adding title as " "annotation\n" - ) + self.msg += " More than one subplot, adding title as annotation\n" x_px, y_px = props["mplobj"].get_transform().transform(props["position"]) x, y = mpltools.display_to_paper(x_px, y_px, self.plotly_fig["layout"]) annotation = go.layout.Annotation( @@ -777,9 +772,7 @@ def draw_title(self, **props): ) self.plotly_fig["layout"]["annotations"] += (annotation,) else: - self.msg += ( - " Only one subplot found, adding as a " "plotly title\n" - ) + self.msg += " Only one subplot found, adding as a plotly title\n" self.plotly_fig["layout"]["title"] = props["text"] title_font = dict( size=props["style"]["fontsize"], color=props["style"]["color"] diff --git a/plotly/offline/__init__.py b/plotly/offline/__init__.py index d4d57e6106e..6088af9bc00 100644 --- a/plotly/offline/__init__.py +++ b/plotly/offline/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """ offline ====== diff --git a/plotly/offline/offline.py b/plotly/offline/offline.py index 8fd88ec9c3d..bf94f03ecd8 100644 --- a/plotly/offline/offline.py +++ b/plotly/offline/offline.py @@ -104,7 +104,6 @@ def _build_mathjax_script(url): def _get_jconfig(config=None): - configkeys = ( "staticPlot", "plotlyServerURL", @@ -152,9 +151,7 @@ def _get_jconfig(config=None): if bad_config: warnings.warn( """ -Unrecognized config options supplied: {bad_config}""".format( - bad_config=bad_config - ) +Unrecognized config options supplied: {bad_config}""".format(bad_config=bad_config) ) clean_config = config @@ -229,8 +226,9 @@ def build_save_image_post_script( if image: if image not in __IMAGE_FORMATS: raise ValueError( - "The image parameter must be one of the " - "following: {}".format(__IMAGE_FORMATS) + "The image parameter must be one of the following: {}".format( + __IMAGE_FORMATS + ) ) script = get_image_download_script(caller) diff --git a/plotly/optional_imports.py b/plotly/optional_imports.py index 54a8302f1aa..6c72e7d8378 100644 --- a/plotly/optional_imports.py +++ b/plotly/optional_imports.py @@ -1 +1 @@ -from _plotly_utils.optional_imports import get_module +from _plotly_utils.optional_imports import get_module # noqa: F401 diff --git a/plotly/serializers.py b/plotly/serializers.py index 3f02f7db45b..56b4b435c49 100644 --- a/plotly/serializers.py +++ b/plotly/serializers.py @@ -46,7 +46,6 @@ def _py_to_js(v, widget_manager): and v.dtype != "int64" and v.dtype != "uint64" ): - # We have a numpy array the we can directly map to a JavaScript # Typed array return {"buffer": memoryview(v), "dtype": str(v.dtype), "shape": v.shape} diff --git a/plotly/tools.py b/plotly/tools.py index 87de749e091..67f828204d7 100644 --- a/plotly/tools.py +++ b/plotly/tools.py @@ -165,14 +165,14 @@ def get_subplots(rows=1, columns=1, print_grid=False, **kwargs): from plotly.graph_objs import graph_objs warnings.warn( - "tools.get_subplots is depreciated. " "Please use tools.make_subplots instead." + "tools.get_subplots is depreciated. Please use tools.make_subplots instead." ) # Throw exception for non-integer rows and columns if not isinstance(rows, int) or rows <= 0: - raise Exception("Keyword argument 'rows' " "must be an int greater than 0") + raise Exception("Keyword argument 'rows' must be an int greater than 0") if not isinstance(columns, int) or columns <= 0: - raise Exception("Keyword argument 'columns' " "must be an int greater than 0") + raise Exception("Keyword argument 'columns' must be an int greater than 0") # Throw exception if non-valid kwarg is sent VALID_KWARGS = ["horizontal_spacing", "vertical_spacing"] @@ -500,10 +500,10 @@ def _replace_newline(obj): d[key] = _replace_newline(val) return d elif isinstance(obj, list): - l = list() + temp = list() for index, entry in enumerate(obj): - l += [_replace_newline(entry)] - return l + temp += [_replace_newline(entry)] + return temp elif isinstance(obj, str): s = obj.replace("\n", "
") if s != obj: @@ -540,7 +540,6 @@ def return_figure_from_figure_or_data(figure_or_data, validate_figure): ) if validate_figure and not validated: - try: figure = Figure(**figure).to_dict() except exceptions.PlotlyError as err: @@ -704,7 +703,7 @@ def get_config_plotly_server_url(): config_dict = json.load(f) if not isinstance(config_dict, dict): config_dict = {} - except: + except Exception: # TODO: issue a warning and bubble it up config_dict = {} diff --git a/plotly/utils.py b/plotly/utils.py index b61d29de6fd..f2ecc8402df 100644 --- a/plotly/utils.py +++ b/plotly/utils.py @@ -1,8 +1,8 @@ import textwrap from pprint import PrettyPrinter -from _plotly_utils.utils import * -from _plotly_utils.data_utils import * +from _plotly_utils.utils import NotEncodable, PlotlyJSONEncoder, get_module # noqa: F401 +from _plotly_utils.data_utils import image_array_to_data_uri # noqa: F401 # Pretty printing diff --git a/plotly/validator_cache.py b/plotly/validator_cache.py index e64d03ec196..7f7f74cfd48 100644 --- a/plotly/validator_cache.py +++ b/plotly/validator_cache.py @@ -29,7 +29,6 @@ def get_validator(parent_path, prop_name): key = (parent_path, prop_name) if key not in ValidatorCache._cache: - if "." not in parent_path and prop_name == "type": # Special case for .type property of traces validator = LiteralValidator("type", parent_path, parent_path) diff --git a/pyproject.toml b/pyproject.toml index 05df7bc4d80..89bb2c69cde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,12 +8,6 @@ build-backend = "setuptools.build_meta" "Github" = "https://github.com/plotly/plotly.py" "Changelog" = "https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md" -[tool.pytest.ini_options] -markers = [ - "nodev: mark a test as nodev", - "matplotlib: mark a test as matplotlib" -] - [project] name = "plotly" authors = [ @@ -40,6 +34,7 @@ requires-python = ">=3.8" license = {file="LICENSE.txt"} version = "6.1.2" dependencies = [ + "anywidget", "narwhals>=1.15.1", "packaging" ] @@ -61,8 +56,9 @@ dev_build = [ dev_optional = [ "plotly[dev_build]", "plotly[kaleido]", - "anywidget", "colorcet", + # fiona>1.9.6 is not compatible with geopandas<1; geopandas>=1 is not compatible with python 3.8 + "fiona<=1.9.6;python_version<='3.8'", "geopandas", "inflect", "numpy", @@ -75,8 +71,8 @@ dev_optional = [ "pyarrow", "pyshp", "pytz", - "scipy", "scikit-image", + "scipy", "shapely", "statsmodels", "xarray" @@ -88,6 +84,17 @@ dev = [ [project.scripts] plotly_get_chrome = "plotly.io._kaleido:get_chrome" +[tool.pytest.ini_options] +markers = [ + "nodev: mark a test as nodev", + "matplotlib: mark a test as matplotlib" +] + +[tool.ruff] +exclude = [ + "plotly/graph_objs" +] + [tool.setuptools.packages.find] where = ["."] include = ["plotly*", "_plotly*"] diff --git a/templategen/utils/__init__.py b/templategen/utils/__init__.py index 45d56ef725b..cddc1492d00 100644 --- a/templategen/utils/__init__.py +++ b/templategen/utils/__init__.py @@ -60,7 +60,6 @@ def initialize_template( colorscale_minus=None, colorscale_diverging=None, ): - # Initialize template # ------------------- template = go.layout.Template() diff --git a/test_init/test_dependencies_not_imported.py b/test_init/test_dependencies_not_imported.py index ea4f3b82f88..be9fb8385c8 100644 --- a/test_init/test_dependencies_not_imported.py +++ b/test_init/test_dependencies_not_imported.py @@ -4,7 +4,6 @@ @version_skip def test_dependencies_not_imported(): - # Check that creating a figure without using numpy and pandas does not result in # the import of numpy and pandas, even if they are installed. assert "plotly" not in sys.modules diff --git a/test_init/test_lazy_imports.py b/test_init/test_lazy_imports.py index 96ec66d9566..189bb04ce6b 100644 --- a/test_init/test_lazy_imports.py +++ b/test_init/test_lazy_imports.py @@ -4,7 +4,6 @@ @version_skip def test_lazy_imports(): - # plotly not imported yet assert "plotly" not in sys.modules diff --git a/tests/percy/plotly-express.py b/tests/percy/plotly-express.py index 78283cd67e5..9592b0b35de 100644 --- a/tests/percy/plotly-express.py +++ b/tests/percy/plotly-express.py @@ -9,8 +9,7 @@ # this directory dir_name = os.path.join("tests", "percy") -# #### Scatter and Line plots - +# Scatter and Line plots iris = px.data.iris() fig = px.scatter(iris, x="sepal_width", y="sepal_length") @@ -196,8 +195,7 @@ fig = px.area(gapminder, x="year", y="pop", color="continent", line_group="country") fig.write_html(os.path.join(dir_name, "area.html")) -# #### Visualize Distributions - +# Visualize Distributions iris = px.data.iris() fig = px.density_contour(iris, x="sepal_width", y="sepal_length") @@ -286,8 +284,7 @@ ) fig.write_html(os.path.join(dir_name, "violin.html")) -# #### Ternary Coordinates - +# Ternary Coordinates election = px.data.election() fig = px.scatter_ternary( @@ -318,8 +315,7 @@ fig = px.imshow(img_rgb) fig.write_html(os.path.join(dir_name, "imshow.html")) -# #### 3D Coordinates - +# 3D Coordinates election = px.data.election() fig = px.scatter_3d( @@ -342,8 +338,7 @@ ) fig.write_html(os.path.join(dir_name, "line_3d.html")) -# #### Polar Coordinates - +# Polar Coordinates wind = px.data.wind() fig = px.scatter_polar( @@ -380,8 +375,7 @@ ) fig.write_html(os.path.join(dir_name, "bar_polar.html")) -# #### Maps - +# Maps carshare = px.data.carshare() fig = px.scatter_map( diff --git a/tests/test_core/test_colors/test_colors.py b/tests/test_core/test_colors/test_colors.py index 2fb8e7831d9..9f53344bd8d 100644 --- a/tests/test_core/test_colors/test_colors.py +++ b/tests/test_core/test_colors/test_colors.py @@ -1,13 +1,11 @@ from unittest import TestCase -import plotly.tools as tls from plotly.exceptions import PlotlyError import plotly.colors as colors class TestColors(TestCase): def test_validate_colors(self): - # test string input color_string = "foo" @@ -23,9 +21,7 @@ def test_validate_colors(self): # test rgb color color_string2 = "rgb(265, 0, 0)" - pattern2 = ( - "Whoops! The elements in your rgb colors tuples cannot " "exceed 255.0." - ) + pattern2 = "Whoops! The elements in your rgb colors tuples cannot exceed 255.0." self.assertRaisesRegex( PlotlyError, pattern2, colors.validate_colors, color_string2 @@ -34,14 +30,13 @@ def test_validate_colors(self): # test tuple color color_tuple = (1, 1, 2) - pattern3 = "Whoops! The elements in your colors tuples cannot " "exceed 1.0." + pattern3 = "Whoops! The elements in your colors tuples cannot exceed 1.0." self.assertRaisesRegex( PlotlyError, pattern3, colors.validate_colors, color_tuple ) def test_convert_colors_to_same_type(self): - # test colortype color_tuple = ["#aaaaaa", "#bbbbbb", "#cccccc"] scale = [0, 1] @@ -54,7 +49,7 @@ def test_convert_colors_to_same_type(self): color_tuple = (1, 1, 1) colortype = 2 - pattern2 = "You must select either rgb or tuple for your colortype " "variable." + pattern2 = "You must select either rgb or tuple for your colortype variable." self.assertRaisesRegex( PlotlyError, @@ -65,12 +60,11 @@ def test_convert_colors_to_same_type(self): ) def test_convert_dict_colors_to_same_type(self): - # test colortype color_dict = dict(apple="rgb(1, 1, 1)") colortype = 2 - pattern = "You must select either rgb or tuple for your colortype " "variable." + pattern = "You must select either rgb or tuple for your colortype variable." self.assertRaisesRegex( PlotlyError, @@ -81,13 +75,10 @@ def test_convert_dict_colors_to_same_type(self): ) def test_validate_scale_values(self): - # test that scale length is at least 2 scale = [0] - pattern = ( - "You must input a list of scale values that has at least " "two values." - ) + pattern = "You must input a list of scale values that has at least two values." self.assertRaisesRegex( PlotlyError, pattern, colors.validate_scale_values, scale @@ -97,8 +88,7 @@ def test_validate_scale_values(self): scale = [0, 1.1] pattern = ( - "The first and last number in your scale must be 0.0 and " - "1.0 respectively." + "The first and last number in your scale must be 0.0 and 1.0 respectively." ) self.assertRaisesRegex( @@ -118,7 +108,6 @@ def test_validate_scale_values(self): ) def test_make_colorscale(self): - # test minimum colors length color_list = [(0, 0, 0)] @@ -137,7 +126,6 @@ def test_make_colorscale(self): ) def test_get_colorscale(self): - # test for incorrect input type pattern = "Name argument have to be a string." name = colors.sequential.haline @@ -176,7 +164,6 @@ def test_get_colorscale(self): ) def test_sample_colorscale(self): - # test that sampling a colorscale at the defined points returns the same defined_colors = colors.sequential.Inferno sampled_colors = colors.sample_colorscale( diff --git a/tests/test_core/test_errors/test_dict_path_errors.py b/tests/test_core/test_errors/test_dict_path_errors.py index c0c9a173203..59267b03bdc 100644 --- a/tests/test_core/test_errors/test_dict_path_errors.py +++ b/tests/test_core/test_errors/test_dict_path_errors.py @@ -1,5 +1,4 @@ import plotly.graph_objects as go -from _plotly_utils.exceptions import PlotlyKeyError import pytest import sys @@ -23,7 +22,7 @@ def test_raises_on_bad_index(some_fig): # Check indexing errors can be detected when path used as key to go.Figure raised = False try: - x0 = some_fig["layout.shapes[2].x0"] + some_fig["layout.shapes[2].x0"] except KeyError as e: raised = True assert ( @@ -38,12 +37,11 @@ def test_raises_on_bad_index(some_fig): def test_raises_on_bad_dot_property(some_fig): - # Check . property lookup errors can be detected when path used as key to # go.Figure raised = False try: - x2000 = some_fig["layout.shapes[1].x2000"] + some_fig["layout.shapes[1].x2000"] except KeyError as e: raised = True assert ( @@ -58,11 +56,10 @@ def test_raises_on_bad_dot_property(some_fig): def test_raises_on_bad_ancestor_dot_property(some_fig): - # Check . property lookup errors but not on the last part of the path raised = False try: - x2000 = some_fig["layout.shapa[1].x2000"] + some_fig["layout.shapa[1].x2000"] except KeyError as e: raised = True assert ( @@ -77,7 +74,6 @@ def test_raises_on_bad_ancestor_dot_property(some_fig): def test_raises_on_bad_indexed_underscore_property(some_fig): - # The way these tests work is first the error is raised without using # underscores to get the Exception we expect, then the string showing the # bad property path is removed (because it will not match the string @@ -164,16 +160,13 @@ def test_raises_on_bad_indexed_underscore_property(some_fig): ^^^^""", ) assert ( - ( - e.args[0].find( - """Bad property path: + e.args[0].find( + """Bad property path: line_colr ^^^^""" - ) - and (e.args[0].find("""Did you mean "color"?""") >= 0) >= 0 ) - and (e_substr == e_correct_substr) - ) + and (e.args[0].find("""Did you mean "color"?""") >= 0) >= 0 + ) and (e_substr == e_correct_substr) assert raised raised = False @@ -181,7 +174,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig): # BaseFigure and throws the error for the last good property found in # the path try: - fig2 = go.Figure(layout=dict(title=dict(txt="two"))) + go.Figure(layout=dict(title=dict(txt="two"))) except ValueError as e_correct: raised = True e_correct_substr = error_substr( @@ -195,7 +188,7 @@ def test_raises_on_bad_indexed_underscore_property(some_fig): raised = False try: - fig2 = go.Figure(layout_title_txt="two") + go.Figure(layout_title_txt="two") except TypeError as e: raised = True # when the Figure constructor sees the same ValueError above, a @@ -310,17 +303,14 @@ def test_describes_subscripting_error(some_fig): ^^^^""", ) assert ( - ( - e.args[0].find( - """ + e.args[0].find( + """ Property does not support subscripting: text_yo ^^^^""" - ) - >= 0 ) - and (e_substr == e_correct_substr) - ) + >= 0 + ) and (e_substr == e_correct_substr) assert raised # Same as previous test but tests deeper path @@ -353,17 +343,14 @@ def test_describes_subscripting_error(some_fig): ^^^^^^""", ) assert ( - ( - e.args[0].find( - """ + e.args[0].find( + """ Property does not support subscripting: textfont_family_yo ^^^^^^""" - ) - >= 0 ) - and (e_substr == e_correct_substr) - ) + >= 0 + ) and (e_substr == e_correct_substr) assert raised @@ -421,14 +408,14 @@ def test_subscript_error_exception_types(some_fig): with pytest.raises(ValueError): some_fig.update_layout(width_yo=100) with pytest.raises(KeyError): - yo = some_fig["layout_width_yo"] + some_fig["layout_width_yo"] some_fig.update_layout(width=100) # when width is specified with pytest.raises(ValueError): some_fig.update_layout(width_yo=100) with pytest.raises(KeyError): - yo = some_fig["layout_width_yo"] + some_fig["layout_width_yo"] def form_error_string(call, exception, subs): diff --git a/tests/test_core/test_figure_messages/test_add_traces.py b/tests/test_core/test_figure_messages/test_add_traces.py index 77054fcc9de..51fadf6c87b 100644 --- a/tests/test_core/test_figure_messages/test_add_traces.py +++ b/tests/test_core/test_figure_messages/test_add_traces.py @@ -1,13 +1,9 @@ -import sys from unittest import TestCase import plotly.graph_objs as go from plotly.subplots import make_subplots -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestAddTracesMessage(TestCase): @@ -39,7 +35,6 @@ def test_add_trace(self): ) def test_add_traces(self): - # Add two traces self.figure.add_traces( [ @@ -56,8 +51,6 @@ def test_add_traces(self): self.assertEqual(self.figure.data[-1].line.color, "cyan") # Check message - new_uid1 = self.figure.data[-2].uid - new_uid2 = self.figure.data[-1].uid self.figure._send_addTraces_msg.assert_called_once_with( [ {"type": "sankey", "arrangement": "snap"}, diff --git a/tests/test_core/test_figure_messages/test_batch_animate.py b/tests/test_core/test_figure_messages/test_batch_animate.py index e4209fc5476..c184b71d277 100644 --- a/tests/test_core/test_figure_messages/test_batch_animate.py +++ b/tests/test_core/test_figure_messages/test_batch_animate.py @@ -1,12 +1,8 @@ -import sys from unittest import TestCase import plotly.graph_objs as go -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestBatchAnimateMessage(TestCase): @@ -25,9 +21,7 @@ def setUp(self): self.figure._send_animate_msg = MagicMock() def test_batch_animate(self): - with self.figure.batch_animate(easing="elastic", duration=1200): - # Assign trace property self.figure.data[0].marker.color = "yellow" self.figure.data[1].marker.opacity = 0.9 diff --git a/tests/test_core/test_figure_messages/test_move_delete_traces.py b/tests/test_core/test_figure_messages/test_move_delete_traces.py index 9a8e332549b..bf1d27d0182 100644 --- a/tests/test_core/test_figure_messages/test_move_delete_traces.py +++ b/tests/test_core/test_figure_messages/test_move_delete_traces.py @@ -1,13 +1,9 @@ -import sys from unittest import TestCase import pytest import plotly.graph_objs as go -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestMoveDeleteTracesMessages(TestCase): @@ -26,7 +22,6 @@ def setUp(self): self.figure._send_deleteTraces_msg = MagicMock() def test_move_traces_swap(self): - # Swap first and last trace traces = self.figure.data self.figure.data = [traces[2], traces[1], traces[0]] @@ -36,7 +31,6 @@ def test_move_traces_swap(self): self.assertFalse(self.figure._send_deleteTraces_msg.called) def test_move_traces_cycle(self): - # Cycle traces forward traces = self.figure.data self.figure.data = [traces[2], traces[0], traces[1]] diff --git a/tests/test_core/test_figure_messages/test_on_change.py b/tests/test_core/test_figure_messages/test_on_change.py index c013783193b..3c7de6a0d66 100644 --- a/tests/test_core/test_figure_messages/test_on_change.py +++ b/tests/test_core/test_figure_messages/test_on_change.py @@ -1,13 +1,9 @@ -import sys from unittest import TestCase import pytest import plotly.graph_objs as go -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestOnChangeCallbacks(TestCase): @@ -35,12 +31,12 @@ def test_raise_on_frame_hierarchy(self): with pytest.raises(ValueError): self.figure.frames[0].layout.xaxis.on_change(fn, "range") - def test_validate_property_path_nested(self): + def test_validate_property_path_nested_1(self): fn = MagicMock() with pytest.raises(ValueError): self.figure.layout.xaxis.on_change(fn, "bogus") - def test_validate_property_path_nested(self): + def test_validate_property_path_nested_2(self): fn = MagicMock() with pytest.raises(ValueError): self.figure.layout.on_change(fn, "xaxis.title_font.bogus") @@ -122,7 +118,6 @@ def test_multi_prop_callback_on_assignment_layout_nested(self): ) def test_prop_callback_nested_arrays(self): - # Initialize updatemenus and buttons self.figure.layout.updatemenus = [{}, {}, {}] self.figure.layout.updatemenus[2].buttons = [{}, {}] diff --git a/tests/test_core/test_figure_messages/test_plotly_relayout.py b/tests/test_core/test_figure_messages/test_plotly_relayout.py index 66db5b78481..bad58bf2bc9 100644 --- a/tests/test_core/test_figure_messages/test_plotly_relayout.py +++ b/tests/test_core/test_figure_messages/test_plotly_relayout.py @@ -1,12 +1,8 @@ -import sys from unittest import TestCase import plotly.graph_objs as go -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestRelayoutMessage(TestCase): @@ -42,7 +38,6 @@ def test_property_assignment_nested_subplot2(self): ) def test_property_assignment_nested_array(self): - # Initialize images self.figure.layout.updatemenus = [ {}, @@ -131,7 +126,6 @@ def test_plotly_relayout_nested_subplot2(self): ) def test_plotly_relayout_nested_array(self): - # Initialize images self.figure.layout.updatemenus = [ {}, diff --git a/tests/test_core/test_figure_messages/test_plotly_restyle.py b/tests/test_core/test_figure_messages/test_plotly_restyle.py index 6cbebb467c4..c90df7e7b57 100644 --- a/tests/test_core/test_figure_messages/test_plotly_restyle.py +++ b/tests/test_core/test_figure_messages/test_plotly_restyle.py @@ -1,12 +1,8 @@ -import sys from unittest import TestCase import plotly.graph_objs as go -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestRestyleMessage(TestCase): diff --git a/tests/test_core/test_figure_messages/test_plotly_update.py b/tests/test_core/test_figure_messages/test_plotly_update.py index d67e7826592..6c5ca788035 100644 --- a/tests/test_core/test_figure_messages/test_plotly_update.py +++ b/tests/test_core/test_figure_messages/test_plotly_update.py @@ -1,13 +1,9 @@ -import sys from unittest import TestCase import plotly.graph_objs as go from plotly.basedatatypes import Undefined -if sys.version_info >= (3, 3): - from unittest.mock import MagicMock -else: - from mock import MagicMock +from unittest.mock import MagicMock class TestBatchUpdateMessage(TestCase): @@ -26,9 +22,7 @@ def setUp(self): self.figure._send_update_msg = MagicMock() def test_batch_update(self): - with self.figure.batch_update(): - # Assign trace property self.figure.data[0].marker.color = "yellow" self.figure.data[1].marker.opacity = 0.9 diff --git a/tests/test_core/test_figure_widget_backend/test_missing_anywidget.py b/tests/test_core/test_figure_widget_backend/test_missing_anywidget.py index d91d1962a86..a8f93c746d0 100644 --- a/tests/test_core/test_figure_widget_backend/test_missing_anywidget.py +++ b/tests/test_core/test_figure_widget_backend/test_missing_anywidget.py @@ -1,11 +1,10 @@ import pytest # Use wildcard import to make sure FigureWidget is always included -from plotly.graph_objects import * -from plotly.missing_anywidget import FigureWidget as FigureWidgetMissingAnywidget +from plotly.graph_objects import FigureWidget try: - import anywidget as _anywidget + from plotly.missing_anywidget import FigureWidget as FigureWidgetMissingAnywidget missing_anywidget = False except Exception: diff --git a/tests/test_core/test_figure_widget_backend/test_validate_initialization.py b/tests/test_core/test_figure_widget_backend/test_validate_initialization.py index 5f68bd343d0..f7d4ee5f991 100644 --- a/tests/test_core/test_figure_widget_backend/test_validate_initialization.py +++ b/tests/test_core/test_figure_widget_backend/test_validate_initialization.py @@ -1,6 +1,5 @@ from unittest import TestCase import plotly.graph_objs as go -import pytest try: go.FigureWidget() diff --git a/tests/test_core/test_graph_objs/test_annotations.py b/tests/test_core/test_graph_objs/test_annotations.py index f6f0cac798f..c52990f50c7 100644 --- a/tests/test_core/test_graph_objs/test_annotations.py +++ b/tests/test_core/test_graph_objs/test_annotations.py @@ -6,15 +6,7 @@ """ -from unittest import skip - -from plotly.exceptions import ( - PlotlyError, - PlotlyDictKeyError, - PlotlyDictValueError, - PlotlyListEntryError, -) -from plotly.graph_objs import Annotation, Annotations, Data, Figure, Layout +from plotly.graph_objs import Annotations, Data def setup(): diff --git a/tests/test_core/test_graph_objs/test_append_trace.py b/tests/test_core/test_graph_objs/test_append_trace.py index da6b11404f6..56571ee01c2 100644 --- a/tests/test_core/test_graph_objs/test_append_trace.py +++ b/tests/test_core/test_graph_objs/test_append_trace.py @@ -14,8 +14,6 @@ import plotly.tools as tls -import copy - def test_print_grid_before_make_subplots(): fig = Figure() diff --git a/tests/test_core/test_graph_objs/test_data.py b/tests/test_core/test_graph_objs/test_data.py index b2e3ba42708..e7c2d71d23e 100644 --- a/tests/test_core/test_graph_objs/test_data.py +++ b/tests/test_core/test_graph_objs/test_data.py @@ -6,17 +6,7 @@ """ -from unittest import skip - - -from plotly.exceptions import ( - PlotlyError, - PlotlyDictKeyError, - PlotlyDictValueError, - PlotlyDataTypeError, - PlotlyListEntryError, -) -from plotly.graph_objs import Annotations, Data, Figure, Layout +from plotly.graph_objs import Annotations, Data def setup(): diff --git a/tests/test_core/test_graph_objs/test_error_bars.py b/tests/test_core/test_graph_objs/test_error_bars.py index f29b8155be7..4c50fc8e9db 100644 --- a/tests/test_core/test_graph_objs/test_error_bars.py +++ b/tests/test_core/test_graph_objs/test_error_bars.py @@ -7,7 +7,6 @@ """ from plotly.graph_objs import ErrorX, ErrorY -from plotly.exceptions import PlotlyDictKeyError def test_instantiate_error_x(): diff --git a/tests/test_core/test_graph_objs/test_figure.py b/tests/test_core/test_graph_objs/test_figure.py index c050816e857..92a92026d63 100644 --- a/tests/test_core/test_graph_objs/test_figure.py +++ b/tests/test_core/test_graph_objs/test_figure.py @@ -11,14 +11,12 @@ def setUp(self): pio.templates.default = None def test_instantiation(self): - native_figure = {"data": [], "layout": {}, "frames": []} go.Figure(native_figure) go.Figure() def test_access_top_level(self): - # Figure is special, we define top-level objects that always exist. self.assertEqual(go.Figure().data, ()) diff --git a/tests/test_core/test_graph_objs/test_figure_properties.py b/tests/test_core/test_graph_objs/test_figure_properties.py index 99ee26e0bad..8e6b8beb11b 100644 --- a/tests/test_core/test_graph_objs/test_figure_properties.py +++ b/tests/test_core/test_graph_objs/test_figure_properties.py @@ -43,7 +43,6 @@ def test_iter(self): self.assertEqual(set(self.figure), {"data", "layout", "frames"}) def test_attr_item(self): - # test that equal objects can be retrieved using attr or item # syntax self.assertEqual(self.figure.data, self.figure["data"]) @@ -51,7 +50,6 @@ def test_attr_item(self): self.assertEqual(self.figure.frames, self.figure["frames"]) def test_property_assignment_tuple(self): - # Empty self.assertIs(self.figure[()], self.figure) @@ -82,19 +80,19 @@ def test_property_assignment_dots(self): self.figure["frames[0].layout.yaxis.title.text"] = "f2" self.assertEqual(self.figure["frames.0.layout.yaxis.title.text"], "f2") - def test_access_invalid_attr(self): + def test_access_invalid_attr_1(self): with pytest.raises(AttributeError): self.figure.bogus - def test_access_invalid_item(self): + def test_access_invalid_item_1(self): with pytest.raises(KeyError): self.figure["bogus"] - def test_assign_invalid_attr(self): + def test_assign_invalid_attr_2(self): with pytest.raises(AttributeError): self.figure.bogus = "val" - def test_access_invalid_item(self): + def test_access_invalid_item_2(self): with pytest.raises(KeyError): self.figure["bogus"] = "val" diff --git a/tests/test_core/test_graph_objs/test_frames.py b/tests/test_core/test_graph_objs/test_frames.py index 6126c4775e4..69a03f9b801 100644 --- a/tests/test_core/test_graph_objs/test_frames.py +++ b/tests/test_core/test_graph_objs/test_frames.py @@ -19,7 +19,6 @@ def return_prop_descriptions(prop_descrip_text): class FramesTest(TestCase): def test_instantiation(self): - native_frames = [ {}, {"data": []}, diff --git a/tests/test_core/test_graph_objs/test_layout_subplots.py b/tests/test_core/test_graph_objs/test_layout_subplots.py index 037d2384983..868f3e04075 100644 --- a/tests/test_core/test_graph_objs/test_layout_subplots.py +++ b/tests/test_core/test_graph_objs/test_layout_subplots.py @@ -16,7 +16,6 @@ def tearDown(self): pio.templates.default = "plotly" def test_initial_access_subplots(self): - # It should be possible to access base subplots initially self.assertEqual(self.layout.xaxis, go.layout.XAxis()) self.assertEqual(self.layout.yaxis, go.layout.YAxis()) @@ -34,11 +33,11 @@ def test_initial_access_subplots(self): self.assertIs(self.layout.mapbox, self.layout.mapbox1) self.assertIs(self.layout.polar, self.layout.polar1) - def test_initial_access_subplot2(self): + def test_initial_access_subplot2_1(self): with pytest.raises(AttributeError): self.layout.xaxis2 - def test_initial_access_subplot2(self): + def test_initial_access_subplot2_2(self): with pytest.raises(KeyError): self.layout["xaxis2"] @@ -68,7 +67,6 @@ def test_assign_subplot2(self): self.assertIsNone(self.layout.xaxis1.range) def test_contains(self): - # Initially xaxis and xaxis1 are `in` layout, but xaxis2 and 3 are not self.assertTrue("xaxis" in self.layout) self.assertTrue("xaxis1" in self.layout) @@ -177,7 +175,6 @@ def test_subplot_props_in_constructor(self): self.assertEqual(layout.polar8.sector, (0, 90)) def test_create_subplot_with_update(self): - self.layout.update( xaxis1=go.layout.XAxis(title={"text": "xaxis 1"}), xaxis2=go.layout.XAxis(title={"text": "xaxis 2"}), @@ -199,7 +196,6 @@ def test_create_subplot_with_update(self): self.assertEqual(self.layout.polar8.sector, (0, 90)) def test_create_subplot_with_update_dict(self): - self.layout.update( { "xaxis1": {"title": {"text": "xaxis 1"}}, diff --git a/tests/test_core/test_graph_objs/test_properties_validated.py b/tests/test_core/test_graph_objs/test_properties_validated.py index 5ad0a2e5262..0b16ab8f01f 100644 --- a/tests/test_core/test_graph_objs/test_properties_validated.py +++ b/tests/test_core/test_graph_objs/test_properties_validated.py @@ -121,7 +121,6 @@ def setUp(self): self.parcoords.name = "Scatter 1" def test_contains(self): - # Primitive property self.assertTrue("name" in self.parcoords) diff --git a/tests/test_core/test_graph_objs/test_property_assignment.py b/tests/test_core/test_graph_objs/test_property_assignment.py index 7e2dfc9b48b..258b2462f5f 100644 --- a/tests/test_core/test_graph_objs/test_property_assignment.py +++ b/tests/test_core/test_graph_objs/test_property_assignment.py @@ -224,7 +224,6 @@ def test_nested_dict_tuple(self): assert d1 == d2 def test_nested_update_obj(self): - self.scatter.update( marker={ "colorbar": go.scatter.marker.ColorBar(bgcolor="yellow", thickness=5) @@ -244,7 +243,6 @@ def test_nested_update_obj(self): assert d1 == d2 def test_nested_update_dict(self): - self.scatter.update(marker={"colorbar": dict(bgcolor="yellow", thickness=5)}) assert isinstance( @@ -432,7 +430,6 @@ def test_assign_double_nested_dot(self): assert d1 == d2 def test_assign_double_nested_update_dict(self): - # Initialize empty updatemenus self.layout.updatemenus = [{}, {}] @@ -448,7 +445,6 @@ def test_assign_double_nested_update_dict(self): assert d1 == d2 def test_assign_double_nested_update_array(self): - # Initialize empty updatemenus self.layout.updatemenus = [{}, {}] diff --git a/tests/test_core/test_graph_objs/test_scatter.py b/tests/test_core/test_graph_objs/test_scatter.py index 12ab7eb4afe..c049f26e814 100644 --- a/tests/test_core/test_graph_objs/test_scatter.py +++ b/tests/test_core/test_graph_objs/test_scatter.py @@ -7,7 +7,6 @@ """ from plotly.graph_objs import Scatter -from plotly.exceptions import PlotlyError def test_trivial(): diff --git a/tests/test_core/test_graph_objs/test_template.py b/tests/test_core/test_graph_objs/test_template.py index 6ffa416ea0a..e1edd5e076a 100644 --- a/tests/test_core/test_graph_objs/test_template.py +++ b/tests/test_core/test_graph_objs/test_template.py @@ -8,7 +8,6 @@ class TemplateTest(TestCase): - # Fixtures # -------- def setUp(self): @@ -103,13 +102,13 @@ def test_defaults_in_property_assignment(self): }, ) - def test_invalid_defaults_property_name_constructor(self): + def test_invalid_defaults_property_name_constructor_1(self): with pytest.raises(ValueError): go.Figure( layout={"template": {"layout": {"imagedefaults": {"bogus": 500}}}} ) - def test_invalid_defaults_property_value_constructor(self): + def test_invalid_defaults_property_value_constructor_1(self): with pytest.raises(ValueError): go.Figure( layout={ @@ -119,11 +118,11 @@ def test_invalid_defaults_property_value_constructor(self): } ) - def test_invalid_defaults_property_name_constructor(self): + def test_invalid_defaults_property_name_constructor_2(self): with pytest.raises(ValueError): go.Figure(layout={"template": {"layout": {"xaxis": {"bogus": 500}}}}) - def test_invalid_defaults_property_value_constructor(self): + def test_invalid_defaults_property_value_constructor_2(self): with pytest.raises(ValueError): go.Figure( layout={"template": {"layout": {"xaxis": {"range": "str not tuple"}}}} @@ -404,7 +403,6 @@ def test_move_nested_trace_properties_existing_traces(self): class TestMergeTemplates(TestCase): def setUp(self): - self.template1 = go.layout.Template( layout={"font": {"size": 20, "family": "Rockwell"}}, data={ diff --git a/tests/test_core/test_graph_objs/test_to_ordered_dict.py b/tests/test_core/test_graph_objs/test_to_ordered_dict.py index a5f63b95848..bdd774e9cad 100644 --- a/tests/test_core/test_graph_objs/test_to_ordered_dict.py +++ b/tests/test_core/test_graph_objs/test_to_ordered_dict.py @@ -5,7 +5,6 @@ class FigureTest(TestCaseNoTemplate): def test_to_ordered_dict(self): - fig = go.Figure( layout={ "yaxis": {"range": [1, 2]}, diff --git a/tests/test_core/test_graph_objs/test_update.py b/tests/test_core/test_graph_objs/test_update.py index 20a79455d3b..34f79ffb50b 100644 --- a/tests/test_core/test_graph_objs/test_update.py +++ b/tests/test_core/test_graph_objs/test_update.py @@ -1,7 +1,7 @@ from unittest import skip import plotly.graph_objs as go -from plotly.graph_objs import Data, Figure, Layout, Line, Scatter, scatter, XAxis +from plotly.graph_objs import Data, Figure, Layout, Line, Scatter, XAxis from ...utils import strip_dict_params from unittest import TestCase diff --git a/tests/test_core/test_offline/test_offline.py b/tests/test_core/test_offline/test_offline.py index d0a9c80e1cb..17dd7d21624 100644 --- a/tests/test_core/test_offline/test_offline.py +++ b/tests/test_core/test_offline/test_offline.py @@ -6,7 +6,6 @@ import json import os from unittest import TestCase -import pytest import plotly import plotly.io as pio @@ -44,7 +43,7 @@ directory_script = '' -mathjax_cdn = "https://cdnjs.cloudflare.com" "/ajax/libs/mathjax/2.7.5/MathJax.js" +mathjax_cdn = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" mathjax_config_str = "?config=TeX-AMS-MML_SVG" @@ -240,14 +239,10 @@ def test_including_plotlyjs_directory_div(self): def test_including_plotlyjs_path_html(self): for include_plotlyjs in [ - ( - "https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.40.1/" - "plotly.min.js" - ), + ("https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.40.1/plotly.min.js"), "subpath/to/plotly.min.js", "something.js", ]: - html = self._read_html( plotly.offline.plot( fig, @@ -264,14 +259,10 @@ def test_including_plotlyjs_path_html(self): def test_including_plotlyjs_path_div(self): for include_plotlyjs in [ - ( - "https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.40.1/" - "plotly.min.js" - ), + ("https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.40.1/plotly.min.js"), "subpath/to/plotly.min.js", "something.js", ]: - html = plotly.offline.plot( fig, include_plotlyjs=include_plotlyjs, output_type="div" ) diff --git a/tests/test_core/test_optional_imports/test_optional_imports.py b/tests/test_core/test_optional_imports/test_optional_imports.py index 4e5fa3c4e5d..3a06e98cc59 100644 --- a/tests/test_core/test_optional_imports/test_optional_imports.py +++ b/tests/test_core/test_optional_imports/test_optional_imports.py @@ -1,4 +1,3 @@ -import sys from unittest import TestCase from plotly.optional_imports import get_module @@ -26,26 +25,19 @@ def test_get_module_import_exception(self): # Get module that raises an exception on import module_str = "tests.test_core.test_optional_imports.exploding_module" - if sys.version_info >= (3, 4): - with self.assertLogs("_plotly_utils.optional_imports", level="ERROR") as cm: - module = get_module(module_str) - - # No exception should be raised and None should be returned - self.assertIsNone(module) - - # Check logging level and log message - expected_start = ( - "ERROR:_plotly_utils.optional_imports:" - "Error importing optional module " + module_str - ) - self.assertEqual(cm.output[0][: len(expected_start)], expected_start) - - # Check that exception message is included after log message - expected_end = "Boom!" - self.assertEqual(cm.output[0][-len(expected_end) :], expected_end) - else: - # Don't check logging + with self.assertLogs("_plotly_utils.optional_imports", level="ERROR") as cm: module = get_module(module_str) - # No exception should be raised and None should be returned - self.assertIsNone(module) + # No exception should be raised and None should be returned + self.assertIsNone(module) + + # Check logging level and log message + expected_start = ( + "ERROR:_plotly_utils.optional_imports:" + "Error importing optional module " + module_str + ) + self.assertEqual(cm.output[0][: len(expected_start)], expected_start) + + # Check that exception message is included after log message + expected_end = "Boom!" + self.assertEqual(cm.output[0][-len(expected_end) :], expected_end) diff --git a/tests/test_core/test_subplots/test_find_nonempty_subplots.py b/tests/test_core/test_subplots/test_find_nonempty_subplots.py index 27a66b4feea..3279fa4c531 100644 --- a/tests/test_core/test_subplots/test_find_nonempty_subplots.py +++ b/tests/test_core/test_subplots/test_find_nonempty_subplots.py @@ -1,4 +1,3 @@ -import pytest import plotly.graph_objects as go from plotly.subplots import make_subplots from itertools import combinations, product diff --git a/tests/test_core/test_subplots/test_make_subplots.py b/tests/test_core/test_subplots/test_make_subplots.py index 868ee0e3169..86284100c62 100644 --- a/tests/test_core/test_subplots/test_make_subplots.py +++ b/tests/test_core/test_subplots/test_make_subplots.py @@ -1595,10 +1595,10 @@ def test_large_columns_no_errors(self): v_space = 0.0 # 2D - fig = tls.make_subplots(100, 1, vertical_spacing=v_space) + tls.make_subplots(100, 1, vertical_spacing=v_space) # 3D - fig = tls.make_subplots( + tls.make_subplots( 100, 1, vertical_spacing=v_space, @@ -1963,7 +1963,7 @@ def test_make_subplots_spacing_error(): ValueError, match=match, ): - fig = subplots.make_subplots(51, 1, vertical_spacing=0.0201) + subplots.make_subplots(51, 1, vertical_spacing=0.0201) for match in [ ( r"^%s spacing cannot be greater than \(1 / \(%s - 1\)\) = %f." @@ -1975,54 +1975,54 @@ def test_make_subplots_spacing_error(): ValueError, match=match, ): - fig = subplots.make_subplots(1, 51, horizontal_spacing=0.0201) + subplots.make_subplots(1, 51, horizontal_spacing=0.0201) # Check it's not raised when it's not beyond the maximum try: - fig = subplots.make_subplots(51, 1, vertical_spacing=0.0200) + subplots.make_subplots(51, 1, vertical_spacing=0.0200) except ValueError: # This shouldn't happen so we assert False to force failure assert False try: - fig = subplots.make_subplots(1, 51, horizontal_spacing=0.0200) + subplots.make_subplots(1, 51, horizontal_spacing=0.0200) except ValueError: # This shouldn't happen so we assert False to force failure assert False # make sure any value between 0 and 1 works for horizontal_spacing if cols is 1 try: - fig = subplots.make_subplots(1, 1, horizontal_spacing=0) + subplots.make_subplots(1, 1, horizontal_spacing=0) except ValueError: # This shouldn't happen so we assert False to force failure assert False try: - fig = subplots.make_subplots(1, 1, horizontal_spacing=1) + subplots.make_subplots(1, 1, horizontal_spacing=1) except ValueError: # This shouldn't happen so we assert False to force failure assert False # make sure any value between 0 and 1 works for horizontal_spacing if cols is 1 try: - fig = subplots.make_subplots(1, 1, horizontal_spacing=0) + subplots.make_subplots(1, 1, horizontal_spacing=0) except ValueError: # This shouldn't happen so we assert False to force failure assert False # make sure any value between 0 and 1 works for horizontal_spacing if cols is 1 try: - fig = subplots.make_subplots(1, 1, horizontal_spacing=1) + subplots.make_subplots(1, 1, horizontal_spacing=1) except ValueError: # This shouldn't happen so we assert False to force failure assert False with pytest.raises( ValueError, match=r"^Horizontal spacing must be between 0 and 1\.$" ): - fig = subplots.make_subplots(1, 1, horizontal_spacing=-0.01) + subplots.make_subplots(1, 1, horizontal_spacing=-0.01) with pytest.raises( ValueError, match=r"^Horizontal spacing must be between 0 and 1\.$" ): - fig = subplots.make_subplots(1, 1, horizontal_spacing=1.01) + subplots.make_subplots(1, 1, horizontal_spacing=1.01) with pytest.raises( ValueError, match=r"^Vertical spacing must be between 0 and 1\.$" ): - fig = subplots.make_subplots(1, 1, vertical_spacing=-0.01) + subplots.make_subplots(1, 1, vertical_spacing=-0.01) with pytest.raises( ValueError, match=r"^Vertical spacing must be between 0 and 1\.$" ): - fig = subplots.make_subplots(1, 1, vertical_spacing=1.01) + subplots.make_subplots(1, 1, vertical_spacing=1.01) diff --git a/tests/test_core/test_update_objects/test_selector_matches.py b/tests/test_core/test_update_objects/test_selector_matches.py index 6194443d321..9a903d1acf4 100644 --- a/tests/test_core/test_update_objects/test_selector_matches.py +++ b/tests/test_core/test_update_objects/test_selector_matches.py @@ -4,46 +4,35 @@ def test_selector_none(): # should return True - assert BaseFigure._selector_matches({}, None) == True # arbitrary, + assert BaseFigure._selector_matches({}, None) def test_selector_empty_dict(): # should return True - assert ( - BaseFigure._selector_matches(dict(hello="everybody"), {}) == True # arbitrary, - ) + assert BaseFigure._selector_matches(dict(hello="everybody"), {}) def test_selector_matches_subset_of_obj(): # should return True - assert ( - BaseFigure._selector_matches( - dict(hello="everybody", today="cloudy", myiq=55), - dict(myiq=55, today="cloudy"), - ) - == True + assert BaseFigure._selector_matches( + dict(hello="everybody", today="cloudy", myiq=55), + dict(myiq=55, today="cloudy"), ) def test_selector_has_nonmatching_key(): # should return False - assert ( - BaseFigure._selector_matches( - dict(hello="everybody", today="cloudy", myiq=55), - dict(myiq=55, cronenberg="scanners"), - ) - == False + assert not BaseFigure._selector_matches( + dict(hello="everybody", today="cloudy", myiq=55), + dict(myiq=55, cronenberg="scanners"), ) def test_selector_has_nonmatching_value(): # should return False - assert ( - BaseFigure._selector_matches( - dict(hello="everybody", today="cloudy", myiq=55), - dict(myiq=55, today="sunny"), - ) - == False + assert not BaseFigure._selector_matches( + dict(hello="everybody", today="cloudy", myiq=55), + dict(myiq=55, today="sunny"), ) @@ -51,14 +40,14 @@ def test_baseplotlytypes_could_match(): # should return True obj = go.layout.Annotation(x=1, y=2, text="pat metheny") sel = go.layout.Annotation(x=1, y=2, text="pat metheny") - assert BaseFigure._selector_matches(obj, sel) == True + assert BaseFigure._selector_matches(obj, sel) def test_baseplotlytypes_could_not_match(): # should return False obj = go.layout.Annotation(x=1, y=3, text="pat metheny") sel = go.layout.Annotation(x=1, y=2, text="pat metheny") - assert BaseFigure._selector_matches(obj, sel) == False + assert not BaseFigure._selector_matches(obj, sel) def test_baseplotlytypes_cannot_match_subset(): @@ -69,7 +58,7 @@ def test_baseplotlytypes_cannot_match_subset(): x=1, y=2, ) - assert BaseFigure._selector_matches(obj, sel) == False + assert not BaseFigure._selector_matches(obj, sel) def test_function_selector_could_match(): @@ -79,7 +68,7 @@ def test_function_selector_could_match(): def _sel(d): return d["x"] == 1 and d["y"] == 2 and d["text"] == "pat metheny" - assert BaseFigure._selector_matches(obj, _sel) == True + assert BaseFigure._selector_matches(obj, _sel) def test_function_selector_could_not_match(): @@ -89,9 +78,9 @@ def test_function_selector_could_not_match(): def _sel(d): return d["x"] == 1 and d["y"] == 3 and d["text"] == "pat metheny" - assert BaseFigure._selector_matches(obj, _sel) == False + assert not BaseFigure._selector_matches(obj, _sel) def test_string_selector_matches_type_key(): assert BaseFigure._selector_matches(dict(type="bar"), "bar") - assert BaseFigure._selector_matches(dict(type="scatter"), "bar") == False + assert not BaseFigure._selector_matches(dict(type="scatter"), "bar") diff --git a/tests/test_core/test_update_objects/test_update_annotations.py b/tests/test_core/test_update_objects/test_update_annotations.py index 08803b43894..773ca603b3a 100644 --- a/tests/test_core/test_update_objects/test_update_annotations.py +++ b/tests/test_core/test_update_objects/test_update_annotations.py @@ -242,7 +242,6 @@ def test_update_shapes(self): self.assert_update("shapes", [4], patch=dict(opacity=0), secondary_y=True) def test_shape_attributes(self): - self.fig.add_shape(fillcolor="blue", opacity=0.3) self.fig.update_shapes(fillcolor="red") @@ -351,7 +350,7 @@ def test_no_exclude_empty_subplots(): def test_supplied_yref_on_single_plot_subplot(): - ### test a (1,1) subplot figure object + """test a (1,1) subplot figure object""" fig = make_subplots(1, 1) fig.add_trace(go.Scatter(x=[1, 2, 3, 4], y=[1, 2, 2, 1])) fig.add_trace(go.Scatter(x=[1, 2, 3, 4], y=[4, 3, 2, 1], yaxis="y2")) @@ -365,7 +364,7 @@ def test_supplied_yref_on_single_plot_subplot(): def test_supplied_yref_on_non_subplot_figure_object(): - ### test a non-subplot figure object from go.Figure + """test a non-subplot figure object from go.Figure""" trace1 = go.Scatter(x=[1, 2, 3, 4], y=[1, 2, 2, 1]) trace2 = go.Scatter(x=[1, 2, 3, 4], y=[4, 3, 2, 1], yaxis="y2") data = [trace1, trace2] @@ -380,19 +379,19 @@ def test_supplied_yref_on_non_subplot_figure_object(): def test_supplied_yref_on_multi_plot_subplot(): - ### test multiple subploted figure object with subplots.make_subplots + """test multiple subploted figure object with subplots.make_subplots""" fig = make_subplots( rows=1, cols=2, shared_yaxes=False, specs=[[{"secondary_y": True}, {"secondary_y": True}]], ) - ### Add traces to the first subplot + # Add traces to the first subplot fig.add_trace(go.Scatter(x=[1, 2, 3], y=[1, 2, 3]), row=1, col=1) fig.add_trace( go.Scatter(x=[1, 2, 3], y=[3, 2, 1], yaxis="y2"), row=1, col=1, secondary_y=True ) - ### Add traces to the second subplot + # Add traces to the second subplot fig.add_trace(go.Scatter(x=[1, 2, 3], y=[1, 2, 3], yaxis="y"), row=1, col=2) fig.add_trace( go.Scatter(x=[1, 2, 3], y=[1, 1, 2], yaxis="y2"), row=1, col=2, secondary_y=True diff --git a/tests/test_core/test_update_objects/test_update_subplots.py b/tests/test_core/test_update_objects/test_update_subplots.py index 6abfd8ec5a4..159b995ca40 100644 --- a/tests/test_core/test_update_objects/test_update_subplots.py +++ b/tests/test_core/test_update_objects/test_update_subplots.py @@ -52,7 +52,6 @@ def assert_select_subplots( secondary_y=None, test_no_grid=False, ): - select_fn = getattr(Figure, "select_" + subplots_name) for_each_fn = getattr(Figure, "for_each_" + subplot_type) @@ -349,7 +348,6 @@ def assert_update_subplots( test_no_grid=False, **kwargs, ): - update_fn = getattr(Figure, "update_" + subplots_name) if secondary_y is not None: @@ -358,7 +356,6 @@ def assert_update_subplots( secy_kwargs = {} def check_update(fig): - # Copy input figure so that we don't modify it fig_orig = fig fig = copy.deepcopy(fig) diff --git a/tests/test_core/test_update_objects/test_update_traces.py b/tests/test_core/test_update_objects/test_update_traces.py index 5f8f48bef90..c973caa42ef 100644 --- a/tests/test_core/test_update_objects/test_update_traces.py +++ b/tests/test_core/test_update_objects/test_update_traces.py @@ -115,7 +115,6 @@ def assert_select_traces( secondary_y=None, test_no_grid=False, ): - # Select traces on figure initialized with make_subplots trace_generator = self.fig.select_traces( selector=selector, row=row, col=col, secondary_y=secondary_y diff --git a/tests/test_core/test_utils/test_utils.py b/tests/test_core/test_utils/test_utils.py index 6d3c1bffd1c..52599170bcb 100644 --- a/tests/test_core/test_utils/test_utils.py +++ b/tests/test_core/test_utils/test_utils.py @@ -18,7 +18,6 @@ def test_invalid_encode_exception(self): class TestGetByPath(TestCase): def test_get_by_path(self): - # should be able to traverse into a nested dict/list with key array figure = {"data": [{}, {"marker": {"color": ["red", "blue"]}}]} @@ -30,7 +29,6 @@ def test_get_by_path(self): class TestNodeGenerator(TestCase): def test_node_generator(self): - # should generate a (node, path) pair for each dict in a dict node4 = {"h": 5} diff --git a/tests/test_io/test_deepcopy_pickle.py b/tests/test_io/test_deepcopy_pickle.py index 245f6aaaa14..5358688f976 100644 --- a/tests/test_io/test_deepcopy_pickle.py +++ b/tests/test_io/test_deepcopy_pickle.py @@ -4,7 +4,6 @@ from plotly.tools import make_subplots import plotly.graph_objs as go -import plotly.io as pio # fixtures diff --git a/tests/test_io/test_html.py b/tests/test_io/test_html.py index 67f161af681..bcc55e41af9 100644 --- a/tests/test_io/test_html.py +++ b/tests/test_io/test_html.py @@ -1,5 +1,3 @@ -import sys - import pytest import numpy as np @@ -9,16 +7,6 @@ from plotly.io._utils import plotly_cdn_url -if sys.version_info >= (3, 3): - import unittest.mock as mock - from unittest.mock import MagicMock -else: - import mock - from mock import MagicMock - - -# fixtures -# -------- @pytest.fixture def fig1(request): return go.Figure( @@ -33,10 +21,6 @@ def fig1(request): ) -# HTML -# ---- - - def test_versioned_cdn_included(fig1): assert plotly_cdn_url() in pio.to_html(fig1, include_plotlyjs="cdn") diff --git a/tests/test_io/test_pathlib.py b/tests/test_io/test_pathlib.py index f641b02d833..5865a92db18 100644 --- a/tests/test_io/test_pathlib.py +++ b/tests/test_io/test_pathlib.py @@ -4,7 +4,6 @@ tests/test_optional/test_kaleido/test_kaleido.py """ -from unittest import mock import plotly.io as pio from io import StringIO from pathlib import Path diff --git a/tests/test_io/test_renderers.py b/tests/test_io/test_renderers.py index d09504af39c..b0785f8da46 100644 --- a/tests/test_io/test_renderers.py +++ b/tests/test_io/test_renderers.py @@ -1,6 +1,4 @@ import json -import sys -import base64 import threading import time @@ -14,12 +12,8 @@ from plotly.offline import get_plotlyjs from plotly.io._utils import plotly_cdn_url -if sys.version_info >= (3, 3): - import unittest.mock as mock - from unittest.mock import MagicMock -else: - import mock - from mock import MagicMock +import unittest.mock as mock +from unittest.mock import MagicMock # fixtures @@ -181,7 +175,7 @@ def test_notebook_connected_show(fig1, name, connected): with mock.patch("IPython.display.display") as mock_display: pio.show(fig1) - # ### Check initialization ### + # Check initialization # Get display call arguments mock_call_args_html = mock_display_html.call_args mock_arg1_html = mock_call_args_html[0][0] @@ -193,7 +187,7 @@ def test_notebook_connected_show(fig1, name, connected): else: assert_offline(bundle_display_html) - # ### Check display call ### + # Check display call # Get display call arguments mock_call_args = mock_display.call_args mock_arg1 = mock_call_args[0][0] @@ -392,7 +386,9 @@ def webbrowser_absent_import(name, globals, locals, fromlist, level): with mock.patch("builtins.__import__", webbrowser_absent_import): # 1: check whether importing webbrowser actually results in an ImportError with pytest.raises(ImportError): - import webbrowser + import webbrowser as wb + + assert wb # 2: check whether the _repr_html_ can handle it regardless fig1._repr_html_() @@ -402,8 +398,6 @@ def test_missing_webbrowser_methods(fig1): """ Assert that no errors occur if the webbrowser module does not contain some methods """ - import webbrowser - removed_webbrowser_get_method = webbrowser.get try: del webbrowser.get diff --git a/tests/test_io/test_to_from_json.py b/tests/test_io/test_to_from_json.py index 0376855dec1..21b9473b397 100644 --- a/tests/test_io/test_to_from_json.py +++ b/tests/test_io/test_to_from_json.py @@ -197,7 +197,6 @@ def test_read_json_from_pathlib(fig1, fig_type_spec, fig_type): ) def test_read_json_from_file_string(fig1, fig_type_spec, fig_type): with tempfile.TemporaryDirectory() as dir_name: - # Write json file path = os.path.join(dir_name, "fig1.json") with open(path, "w") as f: @@ -248,7 +247,6 @@ def test_write_json_pathlib(fig1, pretty, remove_uids): @pytest.mark.parametrize("remove_uids", [True, False]) def test_write_json_from_file_string(fig1, pretty, remove_uids): with tempfile.TemporaryDirectory() as dir_name: - # Write json path = os.path.join(dir_name, "fig1.json") pio.write_json(fig1, path, pretty=pretty, remove_uids=remove_uids) diff --git a/tests/test_optional/__init__.py b/tests/test_optional/__init__.py index ad01b4a2866..c127f04a82c 100644 --- a/tests/test_optional/__init__.py +++ b/tests/test_optional/__init__.py @@ -3,5 +3,5 @@ import matplotlib matplotlib.use("Agg") -except: +except Exception: pass diff --git a/tests/test_optional/optional_utils.py b/tests/test_optional/optional_utils.py index 8d76836e827..cbbefcaaee5 100644 --- a/tests/test_optional/optional_utils.py +++ b/tests/test_optional/optional_utils.py @@ -72,7 +72,6 @@ def assert_dict_equal(self, d1, d2, msg=None): self.assertIsInstance(d2, dict, "Second argument is not a dictionary") for node, path in node_generator(d1): - # first check that this sub-dict is contained in both dicts try: comp_node = get_by_path(d2, path) @@ -108,9 +107,8 @@ def assert_dict_equal(self, d1, d2, msg=None): if np.allclose(val, comp_val): continue - standard_msg = ( - "Value comparison failed at path {}.\n" - "{} != {}".format(self._format_path(val_path), val, comp_val) + standard_msg = "Value comparison failed at path {}.\n{} != {}".format( + self._format_path(val_path), val, comp_val ) self.fail(self._formatMessage(msg, standard_msg)) diff --git a/tests/test_optional/test_autoshapes/test_annotated_shapes.py b/tests/test_optional/test_autoshapes/test_annotated_shapes.py index 8d7c3806991..a008e3bda12 100644 --- a/tests/test_optional/test_autoshapes/test_annotated_shapes.py +++ b/tests/test_optional/test_autoshapes/test_annotated_shapes.py @@ -25,10 +25,9 @@ from plotly.subplots import make_subplots from itertools import product import os -import sys import pytest import json -from .common import _cmp_partial_dict, _check_figure_layout_objects +from .common import _cmp_partial_dict @pytest.fixture diff --git a/tests/test_optional/test_autoshapes/test_axis_span_shapes.py b/tests/test_optional/test_autoshapes/test_axis_span_shapes.py index 12d36cf3c04..eb731a254ee 100644 --- a/tests/test_optional/test_autoshapes/test_axis_span_shapes.py +++ b/tests/test_optional/test_autoshapes/test_axis_span_shapes.py @@ -1,6 +1,5 @@ import plotly.graph_objs as go from plotly.subplots import make_subplots -from plotly.basedatatypes import _indexing_combinations import plotly.express as px import pytest from .common import _cmp_partial_dict, _check_figure_layout_objects diff --git a/tests/test_optional/test_figure_factory/test_figure_factory.py b/tests/test_optional/test_figure_factory/test_figure_factory.py index b0d623776d7..f131bacdc5e 100644 --- a/tests/test_optional/test_figure_factory/test_figure_factory.py +++ b/tests/test_optional/test_figure_factory/test_figure_factory.py @@ -1,12 +1,10 @@ -from unittest import TestCase from plotly import optional_imports from plotly.graph_objs import graph_objs as go from plotly.exceptions import PlotlyError -import plotly.io as pio import plotly.figure_factory as ff from ...test_optional.optional_utils import NumpyTestUtilsMixin -from ...test_optional.test_utils.test_utils import np_nan, np_inf +from ...test_optional.test_utils.test_utils import np_inf import numpy as np from ...utils import TestCaseNoTemplate @@ -21,7 +19,6 @@ class TestDistplot(NumpyTestUtilsMixin, TestCaseNoTemplate): def test_wrong_curve_type(self): - # check: PlotlyError (and specific message) is raised if curve_type is # not 'kde' or 'normal' @@ -32,13 +29,12 @@ def test_wrong_curve_type(self): } self.assertRaisesRegex( PlotlyError, - "curve_type must be defined as " "'kde' or 'normal'", + "curve_type must be defined as 'kde' or 'normal'", ff.create_distplot, **kwargs, ) def test_wrong_histdata_format(self): - # check: PlotlyError if hist_data is not a list of lists or list of # np.ndarrays (if hist_data is entered as just a list the function # will fail) @@ -54,7 +50,6 @@ def test_unequal_data_label_length(self): self.assertRaises(PlotlyError, ff.create_distplot, **kwargs) def test_simple_distplot_prob_density(self): - # we should be able to create a single distplot with a simple dataset # and default kwargs @@ -108,7 +103,6 @@ def test_simple_distplot_prob_density(self): self.assert_fig_equal(dp["data"][2], expected_dp_data_rug) def test_simple_distplot_prob(self): - # we should be able to create a single distplot with a simple dataset # and default kwargs @@ -160,7 +154,6 @@ def test_simple_distplot_prob(self): self.assert_fig_equal(dp["data"][2], expected_dp_data_rug) def test_distplot_more_args_prob_dens(self): - # we should be able to create a distplot with 2 datasets no # rugplot, defined bin_size, and added title @@ -284,7 +277,6 @@ def test_distplot_more_args_prob_dens(self): self.assert_fig_equal(dp["data"][1], expected_dp_data_hist_2) def test_distplot_more_args_prob(self): - # we should be able to create a distplot with 2 datasets no # rugplot, defined bin_size, and added title @@ -628,7 +620,6 @@ def test_distplot_binsize_array_prob_density(self): class TestStreamline(TestCaseNoTemplate): def test_wrong_arrow_scale(self): - # check for ValueError if arrow_scale is <= 0 kwargs = { @@ -641,7 +632,6 @@ def test_wrong_arrow_scale(self): self.assertRaises(ValueError, ff.create_streamline, **kwargs) def test_wrong_density(self): - # check for ValueError if density is <= 0 kwargs = { @@ -654,7 +644,6 @@ def test_wrong_density(self): self.assertRaises(ValueError, ff.create_streamline, **kwargs) def test_uneven_x(self): - # check for PlotlyError if x is not evenly spaced kwargs = { @@ -666,7 +655,6 @@ def test_uneven_x(self): self.assertRaises(PlotlyError, ff.create_streamline, **kwargs) def test_uneven_y(self): - # check for PlotlyError if y is not evenly spaced kwargs = { @@ -678,7 +666,6 @@ def test_uneven_y(self): self.assertRaises(PlotlyError, ff.create_streamline, **kwargs) def test_unequal_length_xy(self): - # check for PlotlyError if u and v are not the same length kwargs = { @@ -690,7 +677,6 @@ def test_unequal_length_xy(self): self.assertRaises(PlotlyError, ff.create_streamline, **kwargs) def test_unequal_length_uv(self): - # check for PlotlyError if u and v are not the same length kwargs = { @@ -702,7 +688,6 @@ def test_unequal_length_uv(self): self.assertRaises(PlotlyError, ff.create_streamline, **kwargs) def test_simple_streamline(self): - # Need np to check streamline data, # this checks that the first 101 x and y values from streamline are # what we expect for a simple streamline where: @@ -1016,7 +1001,6 @@ def test_default_dendrogram(self): self.assert_fig_equal(dendro["layout"], expected_dendro["layout"]) def test_dendrogram_random_matrix(self): - # create a random uncorrelated matrix X = np.random.rand(5, 5) @@ -1259,16 +1243,12 @@ def test_dendrogram_ticklabels(self): X = np.array([[1, 2, 3, 4], [1, 2, 3, 4], [1, 3, 5, 6], [1, 4, 2, 3]]) dendro = ff.create_dendrogram(X=X) - expected_ticktext = ["2", "3", "0", "1"] - expected_tickvals = [5, 15, 25, 35] - self.assertEqual(len(dendro.layout.xaxis.ticktext), 4) self.assertEqual(len(dendro.layout.xaxis.tickvals), 4) class TestTrisurf(NumpyTestUtilsMixin, TestCaseNoTemplate): def test_vmin_and_vmax(self): - # check if vmin is greater than or equal to vmax u = np.linspace(0, 2, 2) v = np.linspace(0, 2, 2) @@ -1294,7 +1274,6 @@ def test_vmin_and_vmax(self): ) def test_valid_colormap(self): - # create data for trisurf plot u = np.linspace(-np.pi, np.pi, 3) v = np.linspace(-np.pi, np.pi, 3) @@ -1324,9 +1303,7 @@ def test_valid_colormap(self): # check: if colormap is a list of rgb color strings, make sure the # entries of each color are no greater than 255.0 - pattern2 = ( - "Whoops! The elements in your rgb colors tuples " "cannot exceed 255.0." - ) + pattern2 = "Whoops! The elements in your rgb colors tuples cannot exceed 255.0." self.assertRaisesRegex( PlotlyError, @@ -1356,7 +1333,6 @@ def test_valid_colormap(self): ) def test_trisurf_all_args(self): - # check if trisurf plot matches with expected output u = np.linspace(-1, 1, 3) v = np.linspace(-1, 1, 3) @@ -1607,7 +1583,6 @@ def test_trisurf_all_args(self): class TestScatterPlotMatrix(NumpyTestUtilsMixin, TestCaseNoTemplate): def test_dataframe_input(self): - # check: dataframe is imported df = "foo" @@ -1619,7 +1594,6 @@ def test_dataframe_input(self): self.assertRaisesRegex(PlotlyError, pattern, ff.create_scatterplotmatrix, df) def test_one_column_dataframe(self): - # check: dataframe has 1 column or less df = pd.DataFrame([1, 2, 3]) @@ -1631,14 +1605,12 @@ def test_one_column_dataframe(self): self.assertRaisesRegex(PlotlyError, pattern, ff.create_scatterplotmatrix, df) def test_valid_diag_choice(self): - # make sure that the diagonal param is valid df = pd.DataFrame([[1, 2, 3], [4, 5, 6]]) self.assertRaises(PlotlyError, ff.create_scatterplotmatrix, df, diag="foo") def test_forbidden_params(self): - # check: the forbidden params of 'marker' in **kwargs df = pd.DataFrame([[1, 2, 3], [4, 5, 6]]) @@ -1656,7 +1628,6 @@ def test_forbidden_params(self): ) def test_valid_index_choice(self): - # check: index is a column name df = pd.DataFrame([[1, 2], [3, 4]], columns=["apple", "pear"]) @@ -1670,7 +1641,6 @@ def test_valid_index_choice(self): ) def test_same_data_in_dataframe_columns(self): - # check: either all numbers or strings in each dataframe column df = pd.DataFrame([["a", 2], [3, 4]]) @@ -1686,7 +1656,6 @@ def test_same_data_in_dataframe_columns(self): self.assertRaisesRegex(PlotlyError, pattern, ff.create_scatterplotmatrix, df) def test_same_data_in_index(self): - # check: either all numbers or strings in index column df = pd.DataFrame([["a", 2], [3, 4]], columns=["apple", "pear"]) @@ -1706,7 +1675,6 @@ def test_same_data_in_index(self): ) def test_valid_colormap(self): - # check: the colormap argument is in a valid form df = pd.DataFrame([[1, 2, 3], [4, 5, 6], [7, 8, 9]], columns=["a", "b", "c"]) @@ -1720,7 +1688,7 @@ def test_valid_colormap(self): ) pattern_rgb = ( - "Whoops! The elements in your rgb colors tuples cannot " "exceed 255.0." + "Whoops! The elements in your rgb colors tuples cannot exceed 255.0." ) # check: proper 'rgb' color @@ -1742,9 +1710,7 @@ def test_valid_colormap(self): index="c", ) - pattern_tuple = ( - "Whoops! The elements in your colors tuples cannot " "exceed 1.0." - ) + pattern_tuple = "Whoops! The elements in your colors tuples cannot exceed 1.0." # check: proper color tuple self.assertRaisesRegex( @@ -1766,7 +1732,6 @@ def test_valid_colormap(self): ) def test_valid_endpts(self): - # check: the endpts is a list or a tuple df = pd.DataFrame([[1, 2, 3], [4, 5, 6], [7, 8, 9]], columns=["a", "b", "c"]) @@ -1808,7 +1773,6 @@ def test_valid_endpts(self): ) def test_dictionary_colormap(self): - # if colormap is a dictionary, make sure it all the values in the # index column are keys in colormap df = pd.DataFrame( @@ -1818,7 +1782,7 @@ def test_dictionary_colormap(self): colormap = {"happy": "rgb(5, 5, 5)"} pattern = ( - "If colormap is a dictionary, all the names in the index " "must be keys." + "If colormap is a dictionary, all the names in the index must be keys." ) self.assertRaisesRegex( @@ -1831,7 +1795,6 @@ def test_dictionary_colormap(self): ) def test_scatter_plot_matrix(self): - # check if test scatter plot matrix without index or theme matches # with the expected output df = pd.DataFrame( @@ -1943,7 +1906,6 @@ def test_scatter_plot_matrix(self): ) def test_scatter_plot_matrix_kwargs(self): - # check if test scatter plot matrix matches with # the expected output df = pd.DataFrame( @@ -2024,13 +1986,11 @@ def test_scatter_plot_matrix_kwargs(self): class TestGantt(NumpyTestUtilsMixin, TestCaseNoTemplate): def test_df_dataframe(self): - # validate dataframe has correct column names df1 = pd.DataFrame([[2, "Apple"]], columns=["Numbers", "Fruit"]) self.assertRaises(PlotlyError, ff.create_gantt, df1) def test_df_dataframe_all_args(self): - # check if gantt chart matches with expected output df = pd.DataFrame( @@ -2162,14 +2122,11 @@ def test_df_dataframe_all_args(self): class TestViolin(NumpyTestUtilsMixin, TestCaseNoTemplate): def test_colors_validation(self): - # check: colors is in an acceptable form data = [1, 5, 8] - pattern = ( - "Whoops! The elements in your rgb colors tuples cannot " "exceed 255.0." - ) + pattern = "Whoops! The elements in your rgb colors tuples cannot exceed 255.0." self.assertRaisesRegex( PlotlyError, pattern, ff.create_violin, data, colors="rgb(300, 2, 3)" @@ -2187,7 +2144,7 @@ def test_colors_validation(self): colors={"apple": "rgb(300, 2, 3)"}, ) - pattern2 = "Whoops! The elements in your colors tuples cannot " "exceed 1.0." + pattern2 = "Whoops! The elements in your colors tuples cannot exceed 1.0." self.assertRaisesRegex( PlotlyError, pattern2, ff.create_violin, data, colors=(1.1, 1, 1) @@ -2205,7 +2162,6 @@ def test_colors_validation(self): self.assertRaises(PlotlyError, ff.create_violin, data, colors="foo") def test_data_header(self): - # make sure data_header is entered data = pd.DataFrame([["apple", 2], ["pear", 4]], columns=["a", "b"]) @@ -2225,7 +2181,6 @@ def test_data_header(self): ) def test_data_as_list(self): - # check: data is a non empty list of numbers data = [] @@ -2244,13 +2199,12 @@ def test_data_as_list(self): self.assertRaisesRegex(PlotlyError, pattern2, ff.create_violin, data) def test_dataframe_input(self): - # check: dataframe is entered if group_header is True data = [1, 2, 3] pattern = ( - "Error. You must use a pandas DataFrame if you are using " "a group header." + "Error. You must use a pandas DataFrame if you are using a group header." ) self.assertRaisesRegex( @@ -2258,13 +2212,12 @@ def test_dataframe_input(self): ) def test_colors_dict(self): - # check: if colorscale is True, make sure colors is not a dictionary data = pd.DataFrame([["apple", 2], ["pear", 4]], columns=["a", "b"]) pattern = ( - "The colors param cannot be a dictionary if you are " "using a colorscale." + "The colors param cannot be a dictionary if you are using a colorscale." ) self.assertRaisesRegex( @@ -2297,14 +2250,12 @@ def test_colors_dict(self): ) def test_valid_colorscale(self): - # check: if colorscale is enabled, colors is a list with 2+ items data = pd.DataFrame([["apple", 2], ["pear", 4]], columns=["a", "b"]) pattern = ( - "colors must be a list with at least 2 colors. A Plotly " - "scale is allowed." + "colors must be a list with at least 2 colors. A Plotly scale is allowed." ) self.assertRaisesRegex( @@ -2319,7 +2270,6 @@ def test_valid_colorscale(self): ) def test_group_stats(self): - # check: group_stats is a dictionary data = pd.DataFrame([["apple", 2], ["pear", 4]], columns=["a", "b"]) @@ -2358,7 +2308,6 @@ def test_group_stats(self): ) def test_violin_fig(self): - # check: test violin fig matches expected fig test_violin = ff.create_violin(data=[1, 2]) @@ -3105,8 +3054,7 @@ def test_valid_col_selection(self): data = pd.DataFrame([[0, 0], [1, 1]], columns=["a", "b"]) pattern = ( - "x, y, facet_row, facet_col and color_name must be keys in your " - "dataframe." + "x, y, facet_row, facet_col and color_name must be keys in your dataframe." ) self.assertRaisesRegex( @@ -3418,8 +3366,7 @@ def test_df_as_list(self): df = [{"titles": "Revenue"}, "foo"] pattern = ( - "Every entry of the data argument (list, tuple, etc) must " - "be a dictionary." + "Every entry of the data argument (list, tuple, etc) must be a dictionary." ) self.assertRaisesRegex(PlotlyError, pattern, ff.create_bullet, df) @@ -4056,7 +4003,6 @@ def test_full_bullet(self): class TestChoropleth(NumpyTestUtilsMixin, TestCaseNoTemplate): - # run tests if required packages are installed if shapely and shapefile and gp: @@ -4096,7 +4042,6 @@ def test_colorscale_and_levels_same_length(self): ) def test_scope_is_not_list(self): - pattern = "'scope' must be a list/tuple/sequence" self.assertRaisesRegex( @@ -4261,9 +4206,9 @@ def compare_list_values(self, list1, list2, decimal=7): elif isinstance(list1[i], float): np.testing.assert_almost_equal(list1[i], list2[i], decimal=decimal) else: - assert ( - list1[i] == list2[i] - ), f"Values at index {i} are not equal: {list1[i]} != {list2[i]}" + assert list1[i] == list2[i], ( + f"Values at index {i} are not equal: {list1[i]} != {list2[i]}" + ) def compare_dict_values(self, dict1, dict2, decimal=7): for k, v in dict1.items(): @@ -4274,12 +4219,11 @@ def compare_dict_values(self, dict1, dict2, decimal=7): elif isinstance(v, float): np.testing.assert_almost_equal(v, dict2[k], decimal=decimal) else: - assert ( - v == dict2[k] - ), f"Values for key {k} are not equal: {v} != {dict2[k]}" + assert v == dict2[k], ( + f"Values for key {k} are not equal: {v} != {dict2[k]}" + ) def test_aggregation(self): - lat = [0, 1, 1, 2, 4, 5, 1, 2, 4, 5, 2, 3, 2, 1, 5, 3, 5] lon = [1, 2, 3, 3, 0, 4, 5, 0, 5, 3, 1, 5, 4, 0, 1, 2, 5] color = np.ones(len(lat)) diff --git a/tests/test_optional/test_matplotlylib/test_annotations.py b/tests/test_optional/test_matplotlylib/test_annotations.py index 1ed9cfbaffe..1e176c3521a 100644 --- a/tests/test_optional/test_matplotlylib/test_annotations.py +++ b/tests/test_optional/test_matplotlylib/test_annotations.py @@ -9,7 +9,7 @@ from ...utils import compare_dict, strip_dict_params from ..optional_utils import run_fig - from ..test_matplotlylib.data.annotations import * + from ..test_matplotlylib.data.annotations import ANNOTATIONS @pytest.mark.skip diff --git a/tests/test_optional/test_matplotlylib/test_axis_scales.py b/tests/test_optional/test_matplotlylib/test_axis_scales.py index 4aaf208e08b..c2893d9d808 100644 --- a/tests/test_optional/test_matplotlylib/test_axis_scales.py +++ b/tests/test_optional/test_matplotlylib/test_axis_scales.py @@ -3,7 +3,7 @@ from plotly import optional_imports from ...utils import compare_dict, strip_dict_params from ...test_optional.optional_utils import run_fig -from ...test_optional.test_matplotlylib.data.axis_scales import * +from ...test_optional.test_matplotlylib.data.axis_scales import EVEN_LINEAR_SCALE matplotlylib = optional_imports.get_module("plotly.matplotlylib") diff --git a/tests/test_optional/test_matplotlylib/test_bars.py b/tests/test_optional/test_matplotlylib/test_bars.py index 490ae573805..d482d820f6a 100644 --- a/tests/test_optional/test_matplotlylib/test_bars.py +++ b/tests/test_optional/test_matplotlylib/test_bars.py @@ -3,7 +3,12 @@ from plotly import optional_imports from ...utils import compare_dict, strip_dict_params from ...test_optional.optional_utils import run_fig -from ...test_optional.test_matplotlylib.data.bars import * +from ...test_optional.test_matplotlylib.data.bars import ( + D, + H_AND_V_BARS, + HORIZONTAL_BAR, + VERTICAL_BAR, +) matplotlylib = optional_imports.get_module("plotly.matplotlylib") diff --git a/tests/test_optional/test_matplotlylib/test_data.py b/tests/test_optional/test_matplotlylib/test_data.py index 5fd430ca373..fbcff5b8081 100644 --- a/tests/test_optional/test_matplotlylib/test_data.py +++ b/tests/test_optional/test_matplotlylib/test_data.py @@ -2,7 +2,7 @@ from plotly import optional_imports from ...test_optional.optional_utils import run_fig -from ...test_optional.test_matplotlylib.data.data import * +from ...test_optional.test_matplotlylib.data.data import D matplotlylib = optional_imports.get_module("plotly.matplotlylib") diff --git a/tests/test_optional/test_matplotlylib/test_lines.py b/tests/test_optional/test_matplotlylib/test_lines.py index e3482f9c711..33727f50c1f 100644 --- a/tests/test_optional/test_matplotlylib/test_lines.py +++ b/tests/test_optional/test_matplotlylib/test_lines.py @@ -3,7 +3,11 @@ from plotly import optional_imports from ...utils import compare_dict, strip_dict_params from ...test_optional.optional_utils import run_fig -from ...test_optional.test_matplotlylib.data.lines import * +from ...test_optional.test_matplotlylib.data.lines import ( + COMPLICATED_LINE, + D, + SIMPLE_LINE, +) matplotlylib = optional_imports.get_module("plotly.matplotlylib") diff --git a/tests/test_optional/test_matplotlylib/test_scatter.py b/tests/test_optional/test_matplotlylib/test_scatter.py index ad5c54e2a0d..82c4bb2b01b 100644 --- a/tests/test_optional/test_matplotlylib/test_scatter.py +++ b/tests/test_optional/test_matplotlylib/test_scatter.py @@ -3,7 +3,11 @@ from plotly import optional_imports from ...utils import compare_dict, strip_dict_params from ...test_optional.optional_utils import run_fig -from ...test_optional.test_matplotlylib.data.scatter import * +from ...test_optional.test_matplotlylib.data.scatter import ( + D, + DOUBLE_SCATTER, + SIMPLE_SCATTER, +) matplotlylib = optional_imports.get_module("plotly.matplotlylib") diff --git a/tests/test_optional/test_matplotlylib/test_subplots.py b/tests/test_optional/test_matplotlylib/test_subplots.py index 0680f90a524..05c507ceed9 100644 --- a/tests/test_optional/test_matplotlylib/test_subplots.py +++ b/tests/test_optional/test_matplotlylib/test_subplots.py @@ -3,7 +3,7 @@ from plotly import optional_imports from ...utils import compare_dict, strip_dict_params from ...test_optional.optional_utils import run_fig -from ...test_optional.test_matplotlylib.data.subplots import * +from ...test_optional.test_matplotlylib.data.subplots import D, BLANK_SUBPLOTS matplotlylib = optional_imports.get_module("plotly.matplotlylib") diff --git a/tests/test_optional/test_offline/test_offline.py b/tests/test_optional/test_offline/test_offline.py index 88898e2c028..94b0a12f7ba 100644 --- a/tests/test_optional/test_offline/test_offline.py +++ b/tests/test_optional/test_offline/test_offline.py @@ -76,9 +76,7 @@ def test_default_mpl_plot_generates_expected_html(self): figure = plotly.tools.mpl_to_plotly(fig).to_dict() data = figure["data"] - layout = figure["layout"] data_json = pio.json.to_json_plotly(data) - layout_json = pio.json.to_json_plotly(layout) html = self._read_html(plotly.offline.plot_mpl(fig)) # blank out uid before comparisons diff --git a/tests/test_optional/test_px/test_colors.py b/tests/test_optional/test_px/test_colors.py index c57b1b38983..8f6e599d88a 100644 --- a/tests/test_optional/test_px/test_colors.py +++ b/tests/test_optional/test_px/test_colors.py @@ -28,7 +28,6 @@ def test_reversed_colorscale(): def test_r_colorscales(): - for colorscale_members in [ inspect.getmembers(px.colors.sequential), inspect.getmembers(px.colors.diverging), diff --git a/tests/test_optional/test_px/test_px_functions.py b/tests/test_optional/test_px/test_px_functions.py index 7cab028b21f..0814898f89d 100644 --- a/tests/test_optional/test_px/test_px_functions.py +++ b/tests/test_optional/test_px/test_px_functions.py @@ -570,7 +570,6 @@ def check_label(label, fig): def test_timeline(constructor): - df = constructor( { "Task": ["Job A", "Job B", "Job C"], diff --git a/tests/test_optional/test_px/test_trendline.py b/tests/test_optional/test_px/test_trendline.py index 8224474fe6a..48ff6ee3ba1 100644 --- a/tests/test_optional/test_px/test_trendline.py +++ b/tests/test_optional/test_px/test_trendline.py @@ -195,7 +195,6 @@ def test_ols_trendline_slopes(): ], ) def test_trendline_on_timeseries(backend, mode, options): - df = nw.from_native(px.data.stocks(return_type=backend)) pd_err_msg = r"Could not convert value of 'x' \('date'\) into a numeric type." diff --git a/tests/test_optional/test_tools/test_figure_factory.py b/tests/test_optional/test_tools/test_figure_factory.py index 3ec00a3555f..209ae438235 100644 --- a/tests/test_optional/test_tools/test_figure_factory.py +++ b/tests/test_optional/test_tools/test_figure_factory.py @@ -1,9 +1,7 @@ import math -from unittest import TestCase import datetime import plotly.figure_factory as ff -import plotly.io as pio from plotly.exceptions import PlotlyError from ...test_optional.optional_utils import NumpyTestUtilsMixin @@ -13,14 +11,12 @@ class TestQuiver(TestCaseNoTemplate, NumpyTestUtilsMixin): def test_unequal_xy_length(self): - # check: PlotlyError if x and y are not the same length kwargs = {"x": [1, 2], "y": [1], "u": [1, 2], "v": [1, 2]} self.assertRaises(PlotlyError, ff.create_quiver, **kwargs) def test_wrong_scale(self): - # check: ValueError if scale is <= 0 kwargs = {"x": [1, 2], "y": [1, 2], "u": [1, 2], "v": [1, 2], "scale": -1} @@ -30,7 +26,6 @@ def test_wrong_scale(self): self.assertRaises(ValueError, ff.create_quiver, **kwargs) def test_wrong_arrow_scale(self): - # check: ValueError if arrow_scale is <= 0 kwargs = {"x": [1, 2], "y": [1, 2], "u": [1, 2], "v": [1, 2], "arrow_scale": -1} @@ -40,7 +35,6 @@ def test_wrong_arrow_scale(self): self.assertRaises(ValueError, ff.create_quiver, **kwargs) def test_one_arrow(self): - # we should be able to create a single arrow using create_quiver quiver = ff.create_quiver(x=[1], y=[1], u=[1], v=[1], scale=1) @@ -59,7 +53,6 @@ def test_one_arrow(self): self.assert_fig_equal(quiver["layout"], expected_quiver["layout"]) def test_more_kwargs(self): - # we should be able to create 2 arrows and change the arrow_scale, # angle, and arrow using create_quiver @@ -120,7 +113,6 @@ def test_more_kwargs(self): class TestFinanceCharts(TestCaseNoTemplate, NumpyTestUtilsMixin): def test_unequal_ohlc_length(self): - # check: PlotlyError if open, high, low, close are not the same length # for TraceFactory.create_ohlc and TraceFactory.create_candlestick @@ -153,7 +145,6 @@ def test_unequal_ohlc_length(self): self.assertRaises(PlotlyError, ff.create_candlestick, **kwargs) def test_direction_arg(self): - # check: PlotlyError if direction is not defined as "increasing" or # "decreasing" for TraceFactory.create_ohlc and # TraceFactory.create_candlestick @@ -167,13 +158,13 @@ def test_direction_arg(self): } self.assertRaisesRegex( PlotlyError, - "direction must be defined as " "'increasing', 'decreasing', or 'both'", + "direction must be defined as 'increasing', 'decreasing', or 'both'", ff.create_ohlc, **kwargs, ) self.assertRaisesRegex( PlotlyError, - "direction must be defined as " "'increasing', 'decreasing', or 'both'", + "direction must be defined as 'increasing', 'decreasing', or 'both'", ff.create_candlestick, **kwargs, ) @@ -187,19 +178,18 @@ def test_direction_arg(self): } self.assertRaisesRegex( PlotlyError, - "direction must be defined as " "'increasing', 'decreasing', or 'both'", + "direction must be defined as 'increasing', 'decreasing', or 'both'", ff.create_ohlc, **kwargs, ) self.assertRaisesRegex( PlotlyError, - "direction must be defined as " "'increasing', 'decreasing', or 'both'", + "direction must be defined as 'increasing', 'decreasing', or 'both'", ff.create_candlestick, **kwargs, ) def test_high_highest_value(self): - # check: PlotlyError if the "high" value is less than the corresponding # open, low, or close value because if the "high" value is not the # highest (or equal) then the data may have been entered incorrectly. @@ -229,7 +219,6 @@ def test_high_highest_value(self): ) def test_low_lowest_value(self): - # check: PlotlyError if the "low" value is greater than the # corresponding open, high, or close value because if the "low" value # is not the lowest (or equal) then the data may have been entered @@ -261,7 +250,6 @@ def test_low_lowest_value(self): ) def test_one_ohlc(self): - # This should create one "increase" (i.e. close > open) ohlc stick ohlc = ff.create_ohlc(open=[33.0], high=[33.2], low=[32.7], close=[33.1]) @@ -303,7 +291,6 @@ def test_one_ohlc(self): self.assert_fig_equal(ohlc["layout"], expected_ohlc["layout"]) def test_one_ohlc_increase(self): - # This should create one "increase" (i.e. close > open) ohlc stick ohlc_incr = ff.create_ohlc( @@ -329,7 +316,6 @@ def test_one_ohlc_increase(self): self.assert_fig_equal(ohlc_incr["layout"], expected_ohlc_incr["layout"]) def test_one_ohlc_decrease(self): - # This should create one "increase" (i.e. close > open) ohlc stick ohlc_decr = ff.create_ohlc( @@ -357,7 +343,6 @@ def test_one_ohlc_decrease(self): # TO-DO: put expected fig in a different file and then call to compare def test_one_candlestick(self): - # This should create one "increase" (i.e. close > open) candlestick can_inc = ff.create_candlestick( @@ -396,7 +381,6 @@ def test_one_candlestick(self): self.assert_fig_equal(can_inc["layout"], exp_can_inc["layout"]) def test_datetime_ohlc(self): - # Check expected outcome for ohlc chart with datetime xaxis high_data = [34.20, 34.37, 33.62, 34.25, 35.18, 33.25, 35.37, 34.62] @@ -621,7 +605,6 @@ def test_datetime_ohlc(self): self.assert_fig_equal(ohlc_d["layout"], ex_ohlc_d["layout"]) def test_datetime_candlestick(self): - # Check expected outcome for candlestick chart with datetime xaxis high_data = [34.20, 34.37, 33.62, 34.25, 35.18, 33.25, 35.37, 34.62] @@ -778,7 +761,6 @@ def test_datetime_candlestick(self): class TestAnnotatedHeatmap(TestCaseNoTemplate, NumpyTestUtilsMixin): def test_unequal_z_text_size(self): - # check: PlotlyError if z and text are not the same dimensions kwargs = {"z": [[1, 2], [1, 2]], "annotation_text": [[1, 2, 3], [1]]} @@ -788,21 +770,18 @@ def test_unequal_z_text_size(self): self.assertRaises(PlotlyError, ff.create_annotated_heatmap, **kwargs) def test_incorrect_x_size(self): - # check: PlotlyError if x is the wrong size kwargs = {"z": [[1, 2], [1, 2]], "x": ["A"]} self.assertRaises(PlotlyError, ff.create_annotated_heatmap, **kwargs) def test_incorrect_y_size(self): - # check: PlotlyError if y is the wrong size kwargs = {"z": [[1, 2], [1, 2]], "y": [1, 2, 3]} self.assertRaises(PlotlyError, ff.create_annotated_heatmap, **kwargs) def test_simple_annotated_heatmap(self): - # we should be able to create a heatmap with annotated values with a # logical text color @@ -901,7 +880,6 @@ def test_simple_annotated_heatmap(self): self.assert_fig_equal(a_heat["layout"], expected_a_heat["layout"]) def test_annotated_heatmap_kwargs(self): - # we should be able to create an annotated heatmap with x and y axes # labels, a defined colorscale, and supplied text. @@ -997,7 +975,6 @@ def test_annotated_heatmap_kwargs(self): self.assert_fig_equal(a["layout"], expected_a["layout"]) def test_annotated_heatmap_reversescale(self): - # we should be able to create an annotated heatmap with x and y axes # labels, a defined colorscale, and supplied text. @@ -1205,7 +1182,6 @@ def test_bug_1300(self): class TestTable(TestCaseNoTemplate, NumpyTestUtilsMixin): def test_fontcolor_input(self): - # check: ValueError if fontcolor input is incorrect kwargs = { @@ -1221,7 +1197,6 @@ def test_fontcolor_input(self): self.assertRaises(ValueError, ff.create_table, **kwargs) def test_simple_table(self): - # we should be able to create a striped table by supplying a text matrix text = [ @@ -1404,7 +1379,6 @@ def test_simple_table(self): self.assert_fig_equal(table["layout"], expected_table["layout"]) def test_table_with_index(self): - # we should be able to create a striped table where the first column # matches the coloring of the header @@ -1556,7 +1530,6 @@ def test_table_with_index(self): class TestGantt(TestCaseNoTemplate, NumpyTestUtilsMixin): def test_validate_gantt(self): - # validate the basic gantt inputs df = [ @@ -1581,13 +1554,13 @@ def test_validate_gantt(self): df = "foo" - pattern3 = "You must input either a dataframe or a list of " "dictionaries." + pattern3 = "You must input either a dataframe or a list of dictionaries." self.assertRaisesRegex(PlotlyError, pattern3, ff.create_gantt, df) df = [] - pattern4 = "Your list is empty. It must contain at least one " "dictionary." + pattern4 = "Your list is empty. It must contain at least one dictionary." self.assertRaisesRegex(PlotlyError, pattern4, ff.create_gantt, df) @@ -1598,7 +1571,6 @@ def test_validate_gantt(self): self.assertRaisesRegex(PlotlyError, pattern5, ff.create_gantt, df) def test_gantt_index(self): - # validate the index used for gantt df = [ @@ -1646,7 +1618,6 @@ def test_gantt_index(self): ) def test_gantt_validate_colors(self): - # validate the gantt colors variable df = [ @@ -1666,9 +1637,7 @@ def test_gantt_validate_colors(self): }, ] - pattern = ( - "Whoops! The elements in your rgb colors tuples cannot " "exceed 255.0." - ) + pattern = "Whoops! The elements in your rgb colors tuples cannot exceed 255.0." self.assertRaisesRegex( PlotlyError, @@ -1683,7 +1652,7 @@ def test_gantt_validate_colors(self): PlotlyError, ff.create_gantt, df, index_col="Complete", colors="foo" ) - pattern2 = "Whoops! The elements in your colors tuples cannot " "exceed 1.0." + pattern2 = "Whoops! The elements in your colors tuples cannot exceed 1.0." self.assertRaisesRegex( PlotlyError, @@ -1760,7 +1729,6 @@ def test_gantt_validate_colors(self): ) def test_gannt_groups_and_descriptions(self): - # check if grouped gantt chart matches with expected output df = [ @@ -1976,7 +1944,6 @@ def test_gannt_groups_and_descriptions(self): self.assert_fig_equal(test_gantt_chart["data"][3], exp_gantt_chart["data"][3]) def test_gantt_all_args(self): - # check if gantt chart matches with expected output df = [ @@ -2131,7 +2098,6 @@ def test_gantt_all_args(self): class Test2D_Density(TestCaseNoTemplate, NumpyTestUtilsMixin): def test_validate_2D_density(self): - # validate that x and y contain only numbers x = [1, 2] y = ["a", 2] @@ -2149,7 +2115,6 @@ def test_validate_2D_density(self): self.assertRaisesRegex(PlotlyError, pattern2, ff.create_2d_density, x2, y2) def test_2D_density_all_args(self): - # check if 2D_density data matches with expected output x = [1, 2] y = [2, 4] diff --git a/tests/test_optional/test_utils/test_utils.py b/tests/test_optional/test_utils/test_utils.py index 0a998a382b4..baf535db7f3 100644 --- a/tests/test_optional/test_utils/test_utils.py +++ b/tests/test_optional/test_utils/test_utils.py @@ -8,7 +8,6 @@ import decimal from datetime import datetime as dt from unittest import TestCase -from time import time import pytest from packaging.version import Version @@ -102,7 +101,6 @@ def np_inf(): class TestJSONEncoder(TestCase): def test_encode_as_plotly(self): - # should *fail* when object doesn't have `to_plotly_json` attribute objs_without_attr = [1, "one", set(["a", "set"]), {"a": "dict"}, ["a", "list"]] for obj in objs_without_attr: @@ -121,7 +119,6 @@ def to_plotly_json(self): self.assertEqual(res, expected_res) def test_encode_as_list(self): - # should *fail* when object doesn't have `tolist` method objs_without_attr = [1, "one", set(["a", "set"]), {"a": "dict"}, ["a", "list"]] for obj in objs_without_attr: @@ -140,7 +137,6 @@ def tolist(self): self.assertEqual(res, expected_res) def test_encode_as_pandas(self): - # should *fail* on things that are not specific pandas objects not_pandas = ["giraffe", 6, float("nan"), ["a", "list"]] for obj in not_pandas: @@ -153,7 +149,6 @@ def test_encode_as_pandas(self): self.assertTrue(res is None) def test_encode_as_numpy(self): - # should *fail* on non-numpy-y things not_numpy = ["hippo", 8, float("nan"), {"a": "dict"}] for obj in not_numpy: @@ -193,7 +188,6 @@ def test_encode_as_datetime_with_localized_tz(self): self.assertEqual(res, "2013-10-01T00:00:00-04:00") def test_encode_as_date(self): - # should *fail* without 'utcoffset' and 'isoformat' and '__sub__' attrs non_datetimes = ["noon", 56, "00:00:00"] for obj in non_datetimes: @@ -213,7 +207,6 @@ def test_encode_as_date(self): self.assertEqual(res, "2013-10-01 00:00:00.000010") def test_encode_as_decimal(self): - # should work with decimal values res = utils.PlotlyJSONEncoder.encode_as_decimal(decimal.Decimal(1.023452)) @@ -369,8 +362,8 @@ def test_encode_customdata_datetime_inhomogeneous_dataframe(self): ) def test_numpy_masked_json_encoding(self): - l = [1, 2, np.ma.core.masked] - j1 = _json.dumps(l, cls=utils.PlotlyJSONEncoder) + temp = [1, 2, np.ma.core.masked] + j1 = _json.dumps(temp, cls=utils.PlotlyJSONEncoder) print(j1) assert j1 == "[1, 2, null]" @@ -398,8 +391,6 @@ def test_numpy_datetime64(self): ) def test_pil_image_encoding(self): - import _plotly_utils - img_path = os.path.join( os.path.dirname(os.path.abspath(__file__)), "..", @@ -432,7 +423,6 @@ class TestNumpyIntegerBaseType(TestCase): def test_numpy_integer_import(self): # should generate a figure with subplots of array and not throw a ValueError import numpy as np - import plotly.graph_objects as go from plotly.subplots import make_subplots indices_rows = np.array([1], dtype=int) diff --git a/tests/test_plotly_utils/validators/test_angle_validator.py b/tests/test_plotly_utils/validators/test_angle_validator.py index 959083adeaf..7635a6c5440 100644 --- a/tests/test_plotly_utils/validators/test_angle_validator.py +++ b/tests/test_plotly_utils/validators/test_angle_validator.py @@ -6,7 +6,8 @@ # Fixtures -# -------- + + @pytest.fixture def validator(request): return AngleValidator("prop", "parent") @@ -18,14 +19,15 @@ def validator_aok(request): # Tests -# ----- -# ### Test acceptance ### + + +# Test acceptance @pytest.mark.parametrize("val", [0] + list(np.linspace(-180, 179.99))) def test_acceptance(val, validator): assert validator.validate_coerce(val) == val -# ### Test coercion above 180 ### +# Test coercion above 180 @pytest.mark.parametrize( "val,expected", [(180, -180), (181, -179), (-180.25, 179.75), (540, -180), (-541, 179)], @@ -34,7 +36,7 @@ def test_coercion(val, expected, validator): assert validator.validate_coerce(val) == expected -# ### Test rejection ### +# Test rejection @pytest.mark.parametrize("val", ["hello", (), [], [1, 2, 3], set(), "34"]) def test_rejection(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -43,7 +45,7 @@ def test_rejection(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### Test acceptance ### +# Test acceptance @pytest.mark.parametrize("val", [[0, 179, -179]]) def test_aok_acceptance(val, validator_aok): assert validator_aok.validate_coerce(val) == val @@ -51,7 +53,7 @@ def test_aok_acceptance(val, validator_aok): assert np.array_equal(validator_aok.validate_coerce(np.array(val)), np.array(val)) -# ### Test coercion above 180 ### +# Test coercion above 180 @pytest.mark.parametrize( "val,expected", [(180, -180), (181, -179), (-180.25, 179.75), (540, -180), (-541, 179)], @@ -63,7 +65,7 @@ def test_aok_coercion(val, expected, validator_aok): ) -# ### Test rejection ### +# Test rejection @pytest.mark.parametrize("val", [["hello"], [()], [[]], [set()], ["34"]]) def test_aok_rejection(val, validator_aok): with pytest.raises(ValueError) as validation_failure: diff --git a/tests/test_plotly_utils/validators/test_any_validator.py b/tests/test_plotly_utils/validators/test_any_validator.py index eb0eaeb44b8..7d115f6cd3a 100644 --- a/tests/test_plotly_utils/validators/test_any_validator.py +++ b/tests/test_plotly_utils/validators/test_any_validator.py @@ -5,7 +5,8 @@ # Fixtures -# -------- + + @pytest.fixture() def validator(): return AnyValidator("prop", "parent") @@ -17,14 +18,15 @@ def validator_aok(): # Tests -# ----- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", [set(), "Hello", 123, np_inf(), np_nan(), {}]) def test_acceptance(val, validator): assert validator.validate_coerce(val) is val -# ### Acceptance of arrays ### +# Acceptance of arrays @pytest.mark.parametrize( "val", [ diff --git a/tests/test_plotly_utils/validators/test_basetraces_validator.py b/tests/test_plotly_utils/validators/test_basetraces_validator.py index f8d50b28da4..979d0ebec99 100644 --- a/tests/test_plotly_utils/validators/test_basetraces_validator.py +++ b/tests/test_plotly_utils/validators/test_basetraces_validator.py @@ -1,6 +1,6 @@ import pytest from _plotly_utils.basevalidators import BaseDataValidator -from plotly.graph_objs import Scatter, Bar, Box +from plotly.graph_objs import Scatter, Box # Fixtures diff --git a/tests/test_plotly_utils/validators/test_boolean_validator.py b/tests/test_plotly_utils/validators/test_boolean_validator.py index 865f72e6843..f4f80335a85 100644 --- a/tests/test_plotly_utils/validators/test_boolean_validator.py +++ b/tests/test_plotly_utils/validators/test_boolean_validator.py @@ -4,20 +4,21 @@ # Boolean Validator -# ================= -# ### Fixtures ### + + +# Fixtures @pytest.fixture(params=[True, False]) def validator(request): return BooleanValidator("prop", "parent", dflt=request.param) -# ### Acceptance ### +# Acceptance @pytest.mark.parametrize("val", [True, False]) def test_acceptance(val, validator): assert val == validator.validate_coerce(val) -# ### Rejection ### +# Rejection @pytest.mark.parametrize("val", [1.0, 0.0, "True", "False", [], 0, np_nan()]) def test_rejection(val, validator): with pytest.raises(ValueError) as validation_failure: diff --git a/tests/test_plotly_utils/validators/test_color_validator.py b/tests/test_plotly_utils/validators/test_color_validator.py index 28b2076a971..c28c598321f 100644 --- a/tests/test_plotly_utils/validators/test_color_validator.py +++ b/tests/test_plotly_utils/validators/test_color_validator.py @@ -4,7 +4,8 @@ # Fixtures -# -------- + + @pytest.fixture() def validator(): return ColorValidator("prop", "parent") @@ -28,7 +29,6 @@ def validator_aok_colorscale(): # Array not ok, numbers not ok -# ---------------------------- @pytest.mark.parametrize( "val", [ @@ -46,18 +46,18 @@ def test_acceptance(val, validator): assert validator.validate_coerce(val) == val -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [set(), 23, 0.5, {}, ["red"], [12]]) -def test_rejection(val, validator): +def test_rejection_1(val, validator): with pytest.raises(ValueError) as validation_failure: validator.validate_coerce(val) assert "Invalid value" in str(validation_failure.value) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize("val", ["redd", "rgbbb(255, 0, 0)", "hsl(0, 1%0000%, 50%)"]) -def test_rejection(val, validator): +def test_rejection_2(val, validator): with pytest.raises(ValueError) as validation_failure: validator.validate_coerce(val) @@ -65,8 +65,9 @@ def test_rejection(val, validator): # Array not ok, numbers ok -# ------------------------ -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -86,18 +87,18 @@ def test_acceptance_colorscale(val, validator_colorscale): assert validator_colorscale.validate_coerce(val) == val -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [set(), {}, ["red"], [12]]) -def test_rejection_colorscale(val, validator_colorscale): +def test_rejection_colorscale_1(val, validator_colorscale): with pytest.raises(ValueError) as validation_failure: validator_colorscale.validate_coerce(val) assert "Invalid value" in str(validation_failure.value) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize("val", ["redd", "rgbbb(255, 0, 0)", "hsl(0, 1%0000%, 50%)"]) -def test_rejection_colorscale(val, validator_colorscale): +def test_rejection_colorscale_2(val, validator_colorscale): with pytest.raises(ValueError) as validation_failure: validator_colorscale.validate_coerce(val) @@ -105,8 +106,9 @@ def test_rejection_colorscale(val, validator_colorscale): # Array ok, numbers not ok -# ------------------------ -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -156,7 +158,7 @@ def test_acceptance_aok_2D(val, validator_aok): assert coerce_val == val -# ### Rejection ### +# Rejection @pytest.mark.parametrize( "val", [ @@ -197,8 +199,9 @@ def test_rejection_aok_2D(val, validator_aok): # Array ok, numbers ok -# -------------------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -218,7 +221,7 @@ def test_acceptance_aok_colorscale(val, validator_aok_colorscale): assert coerce_val == val -# ### Rejection ### +# Rejection @pytest.mark.parametrize( "val", [ @@ -235,7 +238,8 @@ def test_rejection_aok_colorscale(val, validator_aok_colorscale): # Description -# ----------- + + # Test dynamic description logic def test_description(validator): desc = validator.description() diff --git a/tests/test_plotly_utils/validators/test_colorscale_validator.py b/tests/test_plotly_utils/validators/test_colorscale_validator.py index 1e1d6853c86..9de1e8ba3b1 100644 --- a/tests/test_plotly_utils/validators/test_colorscale_validator.py +++ b/tests/test_plotly_utils/validators/test_colorscale_validator.py @@ -7,7 +7,8 @@ # Fixtures -# -------- + + @pytest.fixture() def validator(): return ColorscaleValidator("prop", "parent") @@ -41,8 +42,9 @@ def seqence_colorscale(request): # Tests -# ----- -# ### Acceptance by name ### + + +# Acceptance by name def test_acceptance_named(named_colorscale, validator): # Get expected value of named colorscale d = len(named_colorscales[named_colorscale]) - 1 @@ -61,7 +63,7 @@ def test_acceptance_named(named_colorscale, validator): assert validator.present(expected) == expected_tuples -# ### Acceptance by name ### +# Acceptance by name def test_acceptance_sequence(seqence_colorscale, validator): # Get expected value of named colorscale d = len(seqence_colorscale) - 1 @@ -75,20 +77,20 @@ def test_acceptance_sequence(seqence_colorscale, validator): assert validator.present(expected) == expected_tuples -# ### Acceptance as array ### +# Acceptance as array @pytest.mark.parametrize( "val", [ - ((0, "red"),), - ((0.1, "rgb(255,0,0)"), (0.3, "green")), - ((0, "purple"), (0.2, "yellow"), (1.0, "rgba(255,0,0,100)")), + [[0, "red"]], + [[0.1, "rgb(255,0,0)"], [0.3, "green"]], + [[0, "purple"], [0.2, "yellow"], [1.0, "rgba(255,0,0,100)"]], ], ) -def test_acceptance_array(val, validator): +def test_acceptance_array_1(val, validator): assert validator.validate_coerce(val) == val -# ### Coercion as array ### +# Coercion as array @pytest.mark.parametrize( "val", [ @@ -101,7 +103,7 @@ def test_acceptance_array(val, validator): ), ], ) -def test_acceptance_array(val, validator): +def test_acceptance_array_2(val, validator): # Compute expected (tuple of tuples where color is # lowercase with no spaces) expected = [[e[0], e[1]] for e in val] @@ -112,7 +114,7 @@ def test_acceptance_array(val, validator): assert validator.present(coerce_val) == expected_present -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [23, set(), {}, np.pi]) def test_rejection_type(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -121,7 +123,7 @@ def test_rejection_type(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by string value ### +# Rejection by string value @pytest.mark.parametrize("val", ["Invalid", ""]) def test_rejection_str_value(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -130,7 +132,7 @@ def test_rejection_str_value(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by array ### +# Rejection by array @pytest.mark.parametrize( "val", [ diff --git a/tests/test_plotly_utils/validators/test_dash_validator.py b/tests/test_plotly_utils/validators/test_dash_validator.py index 245fa081711..0b4658a57c4 100644 --- a/tests/test_plotly_utils/validators/test_dash_validator.py +++ b/tests/test_plotly_utils/validators/test_dash_validator.py @@ -3,19 +3,18 @@ # Constants -# --------- dash_types = ["solid", "dot", "dash", "longdash", "dashdot", "longdashdot"] # Fixtures -# -------- + + @pytest.fixture() def validator(): return DashValidator("prop", "parent", dash_types) # Acceptance -# ---------- @pytest.mark.parametrize("val", dash_types) def test_acceptance_dash_types(val, validator): # Values should be accepted and returned unchanged @@ -43,8 +42,9 @@ def test_acceptance_dash_lists(val, validator): # Rejection -# --------- -# ### Value Rejection ### + + +# Value Rejection @pytest.mark.parametrize("val", ["bogus", "not-a-dash"]) def test_rejection_by_bad_dash_type(val, validator): with pytest.raises(ValueError) as validation_failure: diff --git a/tests/test_plotly_utils/validators/test_dataarray_validator.py b/tests/test_plotly_utils/validators/test_dataarray_validator.py index d3a3b422451..50a601dc1b2 100644 --- a/tests/test_plotly_utils/validators/test_dataarray_validator.py +++ b/tests/test_plotly_utils/validators/test_dataarray_validator.py @@ -5,15 +5,15 @@ # Fixtures -# -------- @pytest.fixture() def validator(): return DataArrayValidator("prop", "parent") # Tests -# ----- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -42,7 +42,7 @@ def test_validator_acceptance_homogeneous(val, validator): assert np.array_equal(validator.present(coerce_val), val) -# ### Rejection ### +# Rejection @pytest.mark.parametrize("val", ["Hello", 23, set(), {}]) def test_rejection(val, validator): with pytest.raises(ValueError) as validation_failure: diff --git a/tests/test_plotly_utils/validators/test_enumerated_validator.py b/tests/test_plotly_utils/validators/test_enumerated_validator.py index d86cabf63ba..36344e43c87 100644 --- a/tests/test_plotly_utils/validators/test_enumerated_validator.py +++ b/tests/test_plotly_utils/validators/test_enumerated_validator.py @@ -4,9 +4,9 @@ from _plotly_utils.basevalidators import EnumeratedValidator from ...test_optional.test_utils.test_utils import np_inf - # Fixtures -# -------- + + @pytest.fixture() def validator(): values = ["first", "second", "third", 4] @@ -32,20 +32,21 @@ def validator_aok_re(): # Array not ok -# ------------ -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", ["first", "second", "third", 4]) -def test_acceptance(val, validator): +def test_acceptance_no_array(val, validator): # Values should be accepted and returned unchanged assert validator.validate_coerce(val) == val -# ### Value Rejection ### +# Value Rejection @pytest.mark.parametrize( "val", [True, 0, 1, 23, np_inf(), set(), ["first", "second"], [True], ["third", 4], [4]], ) -def test_rejection_by_value(val, validator): +def test_rejection_by_value_with_validator(val, validator): with pytest.raises(ValueError) as validation_failure: validator.validate_coerce(val) @@ -53,16 +54,17 @@ def test_rejection_by_value(val, validator): # Array not ok, regular expression -# -------------------------------- + + @pytest.mark.parametrize("val", ["foo", "bar0", "bar1", "bar234"]) def test_acceptance(val, validator_re): # Values should be accepted and returned unchanged assert validator_re.validate_coerce(val) == val -# ### Value Rejection ### +# Value Rejection @pytest.mark.parametrize("val", [12, set(), "bar", "BAR0", "FOO"]) -def test_rejection_by_value(val, validator_re): +def test_rejection_by_value_with_regexp(val, validator_re): with pytest.raises(ValueError) as validation_failure: validator_re.validate_coerce(val) @@ -70,8 +72,9 @@ def test_rejection_by_value(val, validator_re): # Array ok -# -------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -86,16 +89,12 @@ def test_rejection_by_value(val, validator_re): ["first", "second", "third", 4], ], ) -def test_acceptance_aok(val, validator_aok): +def test_acceptance_array_ok(val, validator_aok): # Values should be accepted and returned unchanged - coerce_val = validator_aok.validate_coerce(val) - if isinstance(val, (list, np.ndarray)): - assert np.array_equal(coerce_val, np.array(val, dtype=coerce_val.dtype)) - else: - assert coerce_val == val + assert val == validator_aok.validate_coerce(val) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize("val", [True, 0, 1, 23, np_inf(), set()]) def test_rejection_by_value_aok(val, validator_aok): with pytest.raises(ValueError) as validation_failure: @@ -104,11 +103,11 @@ def test_rejection_by_value_aok(val, validator_aok): assert "Invalid value" in str(validation_failure.value) -# ### Reject by elements ### +# Reject by elements @pytest.mark.parametrize( "val", [[True], [0], [1, 23], [np_inf(), set()], ["ffirstt", "second", "third"]] ) -def test_rejection_by_element_aok(val, validator_aok): +def test_rejection_by_element_array_ok(val, validator_aok): with pytest.raises(ValueError) as validation_failure: validator_aok.validate_coerce(val) @@ -116,8 +115,9 @@ def test_rejection_by_element_aok(val, validator_aok): # Array ok, regular expression -# ---------------------------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -132,7 +132,7 @@ def test_rejection_by_element_aok(val, validator_aok): np.array(["foo", "bar012", "baz"]), ], ) -def test_acceptance_aok(val, validator_aok_re): +def test_acceptance_array_ok_re(val, validator_aok_re): # Values should be accepted and returned unchanged coerce_val = validator_aok_re.validate_coerce(val) if isinstance(val, (np.ndarray, pd.Series)): @@ -143,9 +143,9 @@ def test_acceptance_aok(val, validator_aok_re): assert validator_aok_re.present(coerce_val) == val -# ### Reject by elements ### +# Reject by elements @pytest.mark.parametrize("val", [["bar", "bar0"], ["foo", 123]]) -def test_rejection_by_element_aok(val, validator_aok_re): +def test_rejection_by_element_array_ok_re(val, validator_aok_re): with pytest.raises(ValueError) as validation_failure: validator_aok_re.validate_coerce(val) diff --git a/tests/test_plotly_utils/validators/test_flaglist_validator.py b/tests/test_plotly_utils/validators/test_flaglist_validator.py index 8b9ce2f859a..106e9313d4a 100644 --- a/tests/test_plotly_utils/validators/test_flaglist_validator.py +++ b/tests/test_plotly_utils/validators/test_flaglist_validator.py @@ -49,13 +49,12 @@ def extra(request): # Array not ok (with or without extras) -# ------------------------------------- -# ### Acceptance ### +# Acceptance def test_acceptance(flaglist, validator): assert validator.validate_coerce(flaglist) == flaglist -# ### Coercion ### +# Coercion @pytest.mark.parametrize( "in_val,coerce_val", [ @@ -64,11 +63,11 @@ def test_acceptance(flaglist, validator): ("lines ,markers", "lines+markers"), # Accept comma separated ], ) -def test_coercion(in_val, coerce_val, validator): +def test_coercion_1(in_val, coerce_val, validator): assert validator.validate_coerce(in_val) == coerce_val -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [(), ["lines"], set(), {}]) def test_rejection_type(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -77,11 +76,11 @@ def test_rejection_type(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize( "val", ["", "line", "markers+line", "lin es", "lin es+markers", 21] ) -def test_rejection_val(val, validator): +def test_rejection_val_markers(val, validator): with pytest.raises(ValueError) as validation_failure: validator.validate_coerce(val) @@ -89,21 +88,22 @@ def test_rejection_val(val, validator): # Array not ok (with extras) -# -------------------------- -# ### Acceptance ### -# Note: Acceptance of flaglists without extras already tested above + + +# Acceptance +# Note: Acceptance of flaglists without extras already tested above def test_acceptance_extra(extra, validator_extra): assert validator_extra.validate_coerce(extra) == extra -# ### Coercion ### +# Coercion @pytest.mark.parametrize("in_val,coerce_val", [(" none ", "none"), ("all ", "all")]) -def test_coercion(in_val, coerce_val, validator_extra): +def test_coercion_2(in_val, coerce_val, validator_extra): assert validator_extra.validate_coerce(in_val) == coerce_val -# ### Rejection by value ### -# Note: Rejection by type already handled above +# Rejection by value +# Note: Rejection by type already handled above @pytest.mark.parametrize( "val", [ @@ -113,7 +113,7 @@ def test_coercion(in_val, coerce_val, validator_extra): "markers+lines+text+none", ], ) -def test_rejection_val(val, validator_extra): +def test_rejection_val_combo(val, validator_extra): with pytest.raises(ValueError) as validation_failure: validator_extra.validate_coerce(val) @@ -121,8 +121,7 @@ def test_rejection_val(val, validator_extra): # Array OK (with extras) -# ---------------------- -# ### Acceptance (scalars) ### +# Acceptance (scalars) def test_acceptance_aok_scalar_flaglist(flaglist, validator_extra_aok): assert validator_extra_aok.validate_coerce(flaglist) == flaglist @@ -131,7 +130,7 @@ def test_acceptance_aok_scalar_extra(extra, validator_extra_aok): assert validator_extra_aok.validate_coerce(extra) == extra -# ### Acceptance (lists) ### +# Acceptance (lists) def test_acceptance_aok_scalarlist_flaglist(flaglist, validator_extra_aok): assert np.array_equal( validator_extra_aok.validate_coerce([flaglist]), @@ -153,7 +152,7 @@ def test_acceptance_aok_list_flaglist(val, validator_extra_aok): ) -# ### Coercion ### +# Coercion @pytest.mark.parametrize( "in_val,expected", [ @@ -174,7 +173,7 @@ def test_coercion_aok(in_val, expected, validator_extra_aok): assert np.array_equal(validator_extra_aok.present(coerce_val), coerce_val) -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [21, set(), {}]) def test_rejection_aok_type(val, validator_extra_aok): with pytest.raises(ValueError) as validation_failure: @@ -183,7 +182,7 @@ def test_rejection_aok_type(val, validator_extra_aok): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type ### +# Rejection by element type @pytest.mark.parametrize( "val", [[21, "markers"], ["lines", ()], ["none", set()], ["lines+text", {}, "markers"]], @@ -195,7 +194,7 @@ def test_rejection_aok_element_type(val, validator_extra_aok): assert "Invalid element(s)" in str(validation_failure.value) -# ### Rejection by element values ### +# Rejection by element values @pytest.mark.parametrize( "val", [ diff --git a/tests/test_plotly_utils/validators/test_imageuri_validator.py b/tests/test_plotly_utils/validators/test_imageuri_validator.py index ef81b275a8f..e31ec23b268 100644 --- a/tests/test_plotly_utils/validators/test_imageuri_validator.py +++ b/tests/test_plotly_utils/validators/test_imageuri_validator.py @@ -7,15 +7,17 @@ # Fixtures -# -------- + + @pytest.fixture() def validator(): return ImageUriValidator("prop", "parent") # Tests -# ----- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -27,7 +29,7 @@ def test_validator_acceptance(val, validator): assert validator.validate_coerce(val) == val -# ### Coercion from PIL Image ### +# Coercion from PIL Image def test_validator_coercion_PIL(validator): # Single pixel black png (http://png-pixel.com/) @@ -43,7 +45,7 @@ def test_validator_coercion_PIL(validator): assert coerce_val == expected_uri -# ### Rejection ### +# Rejection @pytest.mark.parametrize("val", [23, set(), []]) def test_rejection_by_type(val, validator): with pytest.raises(ValueError) as validation_failure: diff --git a/tests/test_plotly_utils/validators/test_infoarray_validator.py b/tests/test_plotly_utils/validators/test_infoarray_validator.py index 0a261dabf16..cb484493a49 100644 --- a/tests/test_plotly_utils/validators/test_infoarray_validator.py +++ b/tests/test_plotly_utils/validators/test_infoarray_validator.py @@ -4,7 +4,8 @@ # Fixtures -# -------- + + @pytest.fixture() def validator_any2(): return InfoArrayValidator( @@ -100,8 +101,9 @@ def validator_number_free_2d(): # Any2 Tests -# ---------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", [[1, "A"], ("hello", "world!"), [1, set()], [-1, 1]]) def test_validator_acceptance_any2(val, validator_any2): coerce_val = validator_any2.validate_coerce(val) @@ -115,7 +117,7 @@ def test_validator_acceptance_any2_none(validator_any2): assert validator_any2.present(coerce_val) is None -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", ["Not a list", 123, set(), {}]) def test_validator_rejection_any2_type(val, validator_any2): with pytest.raises(ValueError) as validation_failure: @@ -124,7 +126,7 @@ def test_validator_rejection_any2_type(val, validator_any2): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by length ### +# Rejection by length @pytest.mark.parametrize( "val", [[0, 1, "A"], ("hello", "world", "!"), [None, {}, []], [-1, 1, 9]] ) @@ -136,8 +138,9 @@ def test_validator_rejection_any2_length(val, validator_any2): # Number3 Tests -# ------------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", [[1, 0, 0.5], (0.1, 0.4, 0.99), [1, 1, 0]]) def test_validator_acceptance_number3(val, validator_number3): coerce_val = validator_number3.validate_coerce(val) @@ -145,7 +148,7 @@ def test_validator_acceptance_number3(val, validator_number3): assert validator_number3.present(coerce_val) == tuple(val) -# ### Rejection by length ### +# Rejection by length @pytest.mark.parametrize("val", [[1, 0], (0.1, 0.4, 0.99, 0.4), [1]]) def test_validator_rejection_number3_length(val, validator_number3): with pytest.raises(ValueError) as validation_failure: @@ -154,7 +157,7 @@ def test_validator_rejection_number3_length(val, validator_number3): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type ### +# Rejection by element type @pytest.mark.parametrize( "val,first_invalid_ind", [([1, 0, "0.5"], 2), ((0.1, set(), 0.99), 1), ([[], "2", {}], 0)], @@ -168,8 +171,8 @@ def test_validator_rejection_number3_element_type( assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element value ### -# Elements must be in [0, 1] +# Rejection by element value +# Elements must be in [0, 1] @pytest.mark.parametrize( "val,first_invalid_ind", [([1, 0, 1.5], 2), ((0.1, -0.4, 0.99), 1), ([-1, 1, 0], 0)] ) @@ -183,8 +186,9 @@ def test_validator_rejection_number3_element_value( # Number3 Tests (free_length=True) -# -------------------------------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [[1, 0, 0.5], (0.1, 0.99), np.array([0.1, 0.99]), [0], []] ) @@ -194,7 +198,7 @@ def test_validator_acceptance_number3_free(val, validator_number3_free): assert validator_number3_free.present(coerce_val) == tuple(val) -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", ["Not a list", 123, set(), {}]) def test_validator_rejection_number3_free_type(val, validator_number3_free): with pytest.raises(ValueError) as validation_failure: @@ -203,7 +207,7 @@ def test_validator_rejection_number3_free_type(val, validator_number3_free): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by length ### +# Rejection by length @pytest.mark.parametrize("val", [(0.1, 0.4, 0.99, 0.4), [1, 0, 0, 0, 0, 0, 0]]) def test_validator_rejection_number3_free_length(val, validator_number3_free): with pytest.raises(ValueError) as validation_failure: @@ -212,7 +216,7 @@ def test_validator_rejection_number3_free_length(val, validator_number3_free): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type ### +# Rejection by element type @pytest.mark.parametrize( "val,first_invalid_ind", [([1, 0, "0.5"], 2), ((0.1, set()), 1), ([{}], 0)] ) @@ -229,7 +233,7 @@ def test_validator_rejection_number3_free_element_type( ) in str(validation_failure.value) -# ### Rejection by element value ### +# Rejection by element value @pytest.mark.parametrize( "val,first_invalid_ind", [([1, 0, -0.5], 2), ((0.1, 2), 1), ([99], 0)] ) @@ -247,8 +251,9 @@ def test_validator_rejection_number3_free_element_value( # Any3 Tests (free_length=True) -# -------------------------------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -272,8 +277,9 @@ def test_validator_acceptance_any3_free(val, validator_any3_free): # Number2 2D -# ---------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [ @@ -291,7 +297,7 @@ def test_validator_acceptance_number2_2d(val, validator_number2_2d): assert validator_number2_2d.present(coerce_val) == expected -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", ["Not a list", 123, set(), {}]) def test_validator_rejection_number2_2d_type(val, validator_number2_2d): with pytest.raises(ValueError) as validation_failure: @@ -300,7 +306,7 @@ def test_validator_rejection_number2_2d_type(val, validator_number2_2d): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type ### +# Rejection by element type @pytest.mark.parametrize( "val,first_invalid_ind", [([[1, 0], [0.2, 0.4], "string"], 2), ([[0.1, 0.7], set()], 1), (["bogus"], 0)], @@ -318,7 +324,7 @@ def test_validator_rejection_number2_2d_element_type( ) in str(validation_failure.value) -# ### Rejection by element length ### +# Rejection by element length @pytest.mark.parametrize( "val,first_invalid_ind", [([[1, 0], [0.2, 0.4], [0.2]], 2), ([[0.1, 0.7], [0, 0.1, 0.4]], 1), ([[]], 0)], @@ -336,7 +342,7 @@ def test_validator_rejection_number2_2d_element_length( ) in str(validation_failure.value) -# ### Rejection by element value ### +# Rejection by element value @pytest.mark.parametrize( "val,invalid_inds", [ @@ -361,8 +367,9 @@ def test_validator_rejection_number2_2d_element_value( # Number2 '1-2' -# ------------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", [[], [1, 0], (0.1, 0.99), np.array([0.1, 0.99])]) def test_validator_acceptance_number2_12d_1d(val, validator_number2_12d): coerce_val = validator_number2_12d.validate_coerce(val) @@ -388,7 +395,7 @@ def test_validator_acceptance_number2_12d_2d(val, validator_number2_12d): assert validator_number2_12d.present(coerce_val) == expected -# ### Rejection by type / length### +# Rejection by type / length @pytest.mark.parametrize("val", ["Not a list", 123, set(), {}, [0.1, 0.3, 0.2]]) def test_validator_rejection_number2_12d_type(val, validator_number2_12d): with pytest.raises(ValueError) as validation_failure: @@ -397,7 +404,7 @@ def test_validator_rejection_number2_12d_type(val, validator_number2_12d): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type 2D ### +# Rejection by element type 2D @pytest.mark.parametrize( "val,first_invalid_ind", [([[1, 0], [0.2, 0.4], "string"], 2), ([[0.1, 0.7], set()], 1), (["bogus"], 0)], @@ -415,7 +422,7 @@ def test_validator_rejection_number2_12d_element_type( ) in str(validation_failure.value) -# ### Rejection by element length ### +# Rejection by element length @pytest.mark.parametrize( "val,first_invalid_ind", [([[1, 0], [0.2, 0.4], [0.2]], 2), ([[0.1, 0.7], [0, 0.1, 0.4]], 1), ([[]], 0)], @@ -433,7 +440,7 @@ def test_validator_rejection_number2_12d_element_length( ) in str(validation_failure.value) -# ### Rejection by element value ### +# Rejection by element value @pytest.mark.parametrize( "val,invalid_inds", [ @@ -465,7 +472,8 @@ def test_validator_rejection_number2_12d_element_value( # Number free 1D -# -------------- + + @pytest.mark.parametrize( "val", [[], [1, 0], (0.1, 0.99, 0.4), np.array([0.1, 0.4, 0.5, 0.1, 0.6, 0.99])] ) @@ -476,7 +484,7 @@ def test_validator_acceptance_number_free_1d(val, validator_number_free_1d): assert validator_number_free_1d.present(coerce_val) == expected -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", ["Not a list", 123, set(), {}]) def test_validator_rejection_number_free_1d_type(val, validator_number_free_1d): with pytest.raises(ValueError) as validation_failure: @@ -485,7 +493,7 @@ def test_validator_rejection_number_free_1d_type(val, validator_number_free_1d): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type ### +# Rejection by element type @pytest.mark.parametrize( "val,first_invalid_ind", [([1, 0, 0.3, 0.5, "0.5", 0.2], 4), ((0.1, set()), 1), ([{}], 0)], @@ -503,7 +511,7 @@ def test_validator_rejection_number_free_1d_element_type( ) in str(validation_failure.value) -# ### Rejection by element value ### +# Rejection by element value @pytest.mark.parametrize( "val,first_invalid_ind", [([1, 0, 0.3, 0.999, -0.5], 4), ((0.1, 2, 0.8), 1), ([99, 0.3], 0)], @@ -522,7 +530,8 @@ def test_validator_rejection_number_free_1d_element_value( # Number free 2D -# -------------- + + @pytest.mark.parametrize( "val", [ @@ -540,7 +549,7 @@ def test_validator_acceptance_number_free_2d(val, validator_number_free_2d): assert validator_number_free_2d.present(coerce_val) == expected -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", ["Not a list", 123, set(), {}]) def test_validator_rejection_number_free_2d_type(val, validator_number_free_2d): with pytest.raises(ValueError) as validation_failure: @@ -549,7 +558,7 @@ def test_validator_rejection_number_free_2d_type(val, validator_number_free_2d): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by element type ### +# Rejection by element type @pytest.mark.parametrize( "val,first_invalid_ind", [([[1, 0], [0.2, 0.4], "string"], 2), ([[0.1, 0.7], set()], 1), (["bogus"], 0)], @@ -567,7 +576,7 @@ def test_validator_rejection_number_free_2d_element_type( ) in str(validation_failure.value) -# ### Rejection by element value ### +# Rejection by element value @pytest.mark.parametrize( "val,invalid_inds", [ diff --git a/tests/test_plotly_utils/validators/test_integer_validator.py b/tests/test_plotly_utils/validators/test_integer_validator.py index 75337c018b8..ef4011ebf2c 100644 --- a/tests/test_plotly_utils/validators/test_integer_validator.py +++ b/tests/test_plotly_utils/validators/test_integer_validator.py @@ -1,5 +1,4 @@ # Array not ok -# ------------ import pytest from pytest import approx from _plotly_utils.basevalidators import IntegerValidator @@ -8,7 +7,7 @@ from ...test_optional.test_utils.test_utils import np_nan, np_inf -# ### Fixtures ### +# Fixtures @pytest.fixture() def validator(): return IntegerValidator("prop", "parent") @@ -46,13 +45,13 @@ def validator_extras_aok(): ) -# ### Acceptance ### +# Acceptance @pytest.mark.parametrize("val", [1, -19, 0, -1234]) def test_acceptance(val, validator): assert validator.validate_coerce(val) == val -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize( "val", ["hello", (), [], [1, 2, 3], set(), "34", np_nan(), np_inf(), -np_inf()] ) @@ -63,8 +62,8 @@ def test_rejection_by_value(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### With min/max ### -# min == -1 and max == 2 +# With min/max +# min == -1 and max == 2 @pytest.mark.parametrize("val", [0, 1, -1, 2]) def test_acceptance_min_max(val, validator_min_max): assert validator_min_max.validate_coerce(val) == approx(val) @@ -101,8 +100,8 @@ def test_rejection_min_max(val, validator_min_max): assert "in the interval [-1, 2]" in str(validation_failure.value) -# ### With min only ### -# min == -1 +# With min only +# min == -1 @pytest.mark.parametrize("val", [-1, 0, 1, 23, 99999]) def test_acceptance_min(val, validator_min): assert validator_min.validate_coerce(val) == approx(val) @@ -116,8 +115,8 @@ def test_rejection_min(val, validator_min): assert "in the interval [-1, 9223372036854775807]" in str(validation_failure.value) -# ### With max only ### -# max == 2 +# With max only +# max == 2 @pytest.mark.parametrize("val", [1, 2, -10, -999999, np.iinfo(np.int32).min]) def test_acceptance_max(val, validator_max): assert validator_max.validate_coerce(val) == approx(val) @@ -132,9 +131,10 @@ def test_rejection_max(val, validator_max): # Array ok -# -------- + + # min=-2 and max=10 -# ### Acceptance ### +# Acceptance @pytest.mark.parametrize("val", [-2, 1, 0, 1, 10]) def test_acceptance_aok_scalars(val, validator_aok): assert validator_aok.validate_coerce(val) == val @@ -145,8 +145,8 @@ def test_acceptance_aok_list(val, validator_aok): assert np.array_equal(validator_aok.validate_coerce(val), val) -# ### Coerce ### -# Coerced to general consistent numeric type +# Coerce +# Coerced to general consistent numeric type @pytest.mark.parametrize( "val,expected", [ @@ -170,8 +170,9 @@ def test_coercion_aok_list(val, expected, validator_aok): assert validator_aok.present(v) == expected -# ### Rejection ### -# +# Rejection + + @pytest.mark.parametrize("val", [["a", 4], [[], 3, 4]]) def test_integer_validator_rejection_aok(val, validator_aok): with pytest.raises(ValueError) as validation_failure: @@ -180,7 +181,7 @@ def test_integer_validator_rejection_aok(val, validator_aok): assert "Invalid element(s)" in str(validation_failure.value) -# ### Rejection by element ### +# Rejection by element @pytest.mark.parametrize( "val", [[-1, 11], [1.5, -3], [0, np.iinfo(np.int32).max], [0, np.iinfo(np.int32).min]], diff --git a/tests/test_plotly_utils/validators/test_literal_validator.py b/tests/test_plotly_utils/validators/test_literal_validator.py index cb7a439eb28..119f4ad989a 100644 --- a/tests/test_plotly_utils/validators/test_literal_validator.py +++ b/tests/test_plotly_utils/validators/test_literal_validator.py @@ -1,24 +1,23 @@ import pytest from _plotly_utils.basevalidators import LiteralValidator -import numpy as np # Fixtures -# -------- @pytest.fixture() def validator(): return LiteralValidator("prop", "parent", "scatter") # Tests -# ----- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", ["scatter"]) def test_acceptance(val, validator): assert validator.validate_coerce(val) is val -# ### Test rejection ### +# Test rejection @pytest.mark.parametrize("val", ["hello", (), [], [1, 2, 3], set(), "34"]) def test_rejection(val, validator): with pytest.raises(ValueError) as validation_failure: diff --git a/tests/test_plotly_utils/validators/test_number_validator.py b/tests/test_plotly_utils/validators/test_number_validator.py index d7f058db6a7..7728e8ddc0b 100644 --- a/tests/test_plotly_utils/validators/test_number_validator.py +++ b/tests/test_plotly_utils/validators/test_number_validator.py @@ -8,7 +8,8 @@ # Fixtures -# -------- + + @pytest.fixture def validator(request): return NumberValidator("prop", "parent") @@ -35,8 +36,9 @@ def validator_aok(): # Array not ok -# ------------ -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize( "val", [1.0, 0.0, 1, -1234.5678, 54321, np.pi, np_nan(), np_inf(), -np_inf()] ) @@ -44,7 +46,7 @@ def test_acceptance(val, validator): assert validator.validate_coerce(val) == approx(val, nan_ok=True) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize("val", ["hello", (), [], [1, 2, 3], set(), "34"]) def test_rejection_by_value(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -53,7 +55,7 @@ def test_rejection_by_value(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### With min/max ### +# With min/max @pytest.mark.parametrize("val", [0, 0.0, -0.5, 1, 1.0, 2, 2.0, np.pi / 2.0]) def test_acceptance_min_max(val, validator_min_max): assert validator_min_max.validate_coerce(val) == approx(val) @@ -67,7 +69,7 @@ def test_rejection_min_max(val, validator_min_max): assert "in the interval [-1.0, 2.0]" in str(validation_failure.value) -# ### With min only ### +# With min only @pytest.mark.parametrize("val", [0, 0.0, -0.5, 99999, np_inf()]) def test_acceptance_min(val, validator_min): assert validator_min.validate_coerce(val) == approx(val) @@ -81,7 +83,7 @@ def test_rejection_min(val, validator_min): assert "in the interval [-1.0, inf]" in str(validation_failure.value) -# ### With max only ### +# With max only @pytest.mark.parametrize("val", [0, 0.0, -np_inf(), -123456, np.pi / 2]) def test_acceptance_max(val, validator_max): assert validator_max.validate_coerce(val) == approx(val) @@ -96,8 +98,9 @@ def test_rejection_max(val, validator_max): # Array ok -# -------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", [1.0, 0.0, 1, 0.4]) def test_acceptance_aok_scalars(val, validator_aok): assert validator_aok.validate_coerce(val) == val @@ -110,8 +113,8 @@ def test_acceptance_aok_list(val, validator_aok): ) -# ### Coerce ### -# Coerced to general consistent numeric type +# Coerce +# Coerced to general consistent numeric type @pytest.mark.parametrize( "val,expected", [ @@ -131,8 +134,7 @@ def test_coercion_aok_list(val, expected, validator_aok): assert validator_aok.present(v) == tuple(val) -# ### Rejection ### -# +# Rejection @pytest.mark.parametrize("val", [["a", 4]]) def test_rejection_aok(val, validator_aok): with pytest.raises(ValueError) as validation_failure: @@ -141,7 +143,7 @@ def test_rejection_aok(val, validator_aok): assert "Invalid element(s)" in str(validation_failure.value) -# ### Rejection by element ### +# Rejection by element @pytest.mark.parametrize( "val", [ diff --git a/tests/test_plotly_utils/validators/test_pandas_series_input.py b/tests/test_plotly_utils/validators/test_pandas_series_input.py index 8bb50d1808b..0eded11d806 100644 --- a/tests/test_plotly_utils/validators/test_pandas_series_input.py +++ b/tests/test_plotly_utils/validators/test_pandas_series_input.py @@ -1,7 +1,6 @@ import pytest import numpy as np import pandas as pd -from datetime import datetime from _plotly_utils.basevalidators import ( NumberValidator, IntegerValidator, @@ -146,7 +145,6 @@ def test_color_validator_numeric(color_validator, numeric_pandas): def test_color_validator_object(color_validator, color_object_pandas): - res = color_validator.validate_coerce(color_object_pandas) # Check type @@ -160,7 +158,6 @@ def test_color_validator_object(color_validator, color_object_pandas): def test_color_validator_categorical(color_validator, color_categorical_pandas): - res = color_validator.validate_coerce(color_categorical_pandas) # Check type @@ -177,7 +174,6 @@ def test_color_validator_categorical(color_validator, color_categorical_pandas): def test_data_array_validator_dates_series( data_array_validator, datetime_pandas, dates_array ): - res = data_array_validator.validate_coerce(datetime_pandas) # Check type @@ -193,7 +189,6 @@ def test_data_array_validator_dates_series( def test_data_array_validator_dates_dataframe( data_array_validator, datetime_pandas, dates_array ): - df = pd.DataFrame({"d": datetime_pandas}) res = data_array_validator.validate_coerce(df) diff --git a/tests/test_plotly_utils/validators/test_string_validator.py b/tests/test_plotly_utils/validators/test_string_validator.py index 1ab9016fa06..86836390d67 100644 --- a/tests/test_plotly_utils/validators/test_string_validator.py +++ b/tests/test_plotly_utils/validators/test_string_validator.py @@ -6,7 +6,8 @@ # Fixtures -# -------- + + @pytest.fixture() def validator(): return StringValidator("prop", "parent") @@ -50,9 +51,10 @@ def validator_no_blanks_aok(): # Array not ok -# ------------ + + # Not strict -# ### Acceptance ### +# Acceptance @pytest.mark.parametrize( "val", ["bar", 234, np_nan(), "HELLO!!!", "world!@#$%^&*()", "", "\u03bc"] ) @@ -61,7 +63,7 @@ def test_acceptance(val, validator): assert validator.validate_coerce(val) == expected -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize("val", [(), [], [1, 2, 3], set()]) def test_rejection(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -71,7 +73,8 @@ def test_rejection(val, validator): # Valid values -# ------------ + + @pytest.mark.parametrize("val", ["foo", "BAR", ""]) def test_acceptance_values(val, validator_values): assert validator_values.validate_coerce(val) == val @@ -82,11 +85,11 @@ def test_rejection_values(val, validator_values): with pytest.raises(ValueError) as validation_failure: validator_values.validate_coerce(val) - assert "Invalid value".format(val=val) in str(validation_failure.value) + assert "Invalid value".format() in str(validation_failure.value) assert "['foo', 'BAR', '']" in str(validation_failure.value) -# ### No blanks ### +# No blanks @pytest.mark.parametrize("val", ["bar", "HELLO!!!", "world!@#$%^&*()", "\u03bc"]) def test_acceptance_no_blanks(val, validator_no_blanks): assert validator_no_blanks.validate_coerce(val) == val @@ -101,14 +104,15 @@ def test_rejection_no_blanks(val, validator_no_blanks): # Strict -# ------ -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", ["bar", "HELLO!!!", "world!@#$%^&*()", "", "\u03bc"]) def test_acceptance_strict(val, validator_strict): assert validator_strict.validate_coerce(val) == val -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize("val", [(), [], [1, 2, 3], set(), np_nan(), np.pi, 23]) def test_rejection_strict(val, validator_strict): with pytest.raises(ValueError) as validation_failure: @@ -118,8 +122,9 @@ def test_rejection_strict(val, validator_strict): # Array ok -# -------- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", ["foo", "BAR", "", "baz", "\u03bc"]) def test_acceptance_aok_scalars(val, validator_aok): assert validator_aok.validate_coerce(val) == val @@ -146,7 +151,7 @@ def test_acceptance_aok_list(val, validator_aok): assert coerce_val == val -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [["foo", ()], ["foo", 3, 4], [3, 2, 1]]) def test_rejection_aok(val, validator_aok_strict): with pytest.raises(ValueError) as validation_failure: @@ -155,7 +160,7 @@ def test_rejection_aok(val, validator_aok_strict): assert "Invalid element(s)" in str(validation_failure.value) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize( "val", [["foo", "bar"], ["3", "4"], ["BAR", "BAR", "hello!"], ["foo", None]] ) @@ -166,7 +171,7 @@ def test_rejection_aok_values(val, validator_aok_values): assert "Invalid element(s)" in str(validation_failure.value) -# ### No blanks ### +# No blanks @pytest.mark.parametrize( "val", [ diff --git a/tests/test_plotly_utils/validators/test_subplotid_validator.py b/tests/test_plotly_utils/validators/test_subplotid_validator.py index 2263509e1d4..85ff0573e08 100644 --- a/tests/test_plotly_utils/validators/test_subplotid_validator.py +++ b/tests/test_plotly_utils/validators/test_subplotid_validator.py @@ -4,21 +4,23 @@ # Fixtures -# -------- + + @pytest.fixture() def validator(): return SubplotidValidator("prop", "parent", dflt="geo") # Tests -# ----- -# ### Acceptance ### + + +# Acceptance @pytest.mark.parametrize("val", ["geo"] + ["geo%d" % i for i in range(2, 10)]) def test_acceptance(val, validator): assert validator.validate_coerce(val) == val -# ### Rejection by type ### +# Rejection by type @pytest.mark.parametrize("val", [23, [], {}, set(), np_inf(), np_nan()]) def test_rejection_type(val, validator): with pytest.raises(ValueError) as validation_failure: @@ -27,7 +29,7 @@ def test_rejection_type(val, validator): assert "Invalid value" in str(validation_failure.value) -# ### Rejection by value ### +# Rejection by value @pytest.mark.parametrize( "val", [ diff --git a/tests/test_plotly_utils/validators/test_validators_common.py b/tests/test_plotly_utils/validators/test_validators_common.py deleted file mode 100644 index 282a075d6e8..00000000000 --- a/tests/test_plotly_utils/validators/test_validators_common.py +++ /dev/null @@ -1,6 +0,0 @@ -# # ### Accept None ### -# def test_accept_none(validator: NumberValidator): -# assert validator.validate_coerce(None) is None - - -# Test numpy arrays readonly diff --git a/tests/test_plotly_utils/validators/test_xarray_input.py b/tests/test_plotly_utils/validators/test_xarray_input.py index ada42342d63..91e0910830d 100644 --- a/tests/test_plotly_utils/validators/test_xarray_input.py +++ b/tests/test_plotly_utils/validators/test_xarray_input.py @@ -1,7 +1,6 @@ import pytest import numpy as np import xarray -import datetime from _plotly_utils.basevalidators import ( NumberValidator, IntegerValidator, @@ -122,7 +121,6 @@ def test_color_validator_numeric(color_validator, numeric_xarray): def test_color_validator_object(color_validator, color_object_xarray): - res = color_validator.validate_coerce(color_object_xarray) # Check type diff --git a/uv.lock b/uv.lock index 6e00b8ca589..fcdc87cb3b7 100644 --- a/uv.lock +++ b/uv.lock @@ -2783,13 +2783,13 @@ name = "plotly" version = "6.1.2" source = { editable = "." } dependencies = [ + { name = "anywidget" }, { name = "narwhals" }, { name = "packaging" }, ] [package.optional-dependencies] dev = [ - { name = "anywidget" }, { name = "build" }, { name = "colorcet" }, { name = "geopandas", version = "0.13.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, @@ -2835,13 +2835,21 @@ dev = [ { name = "xarray", version = "2024.7.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, { name = "xarray", version = "2025.6.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, ] +dev-build = [ + { name = "build" }, + { name = "jupyter" }, + { name = "pytest", version = "8.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, + { name = "pytest", version = "8.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, + { name = "requests" }, + { name = "ruff" }, +] dev-core = [ { name = "pytest", version = "8.3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, { name = "pytest", version = "8.4.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "requests" }, + { name = "ruff" }, ] dev-optional = [ - { name = "anywidget" }, { name = "build" }, { name = "colorcet" }, { name = "geopandas", version = "0.13.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" }, @@ -2899,12 +2907,12 @@ kaleido = [ [package.metadata] requires-dist = [ - { name = "anywidget", marker = "extra == 'dev-optional'" }, - { name = "build", marker = "extra == 'dev-optional'" }, + { name = "anywidget" }, + { name = "build", marker = "extra == 'dev-build'" }, { name = "colorcet", marker = "extra == 'dev-optional'" }, { name = "geopandas", marker = "extra == 'dev-optional'" }, { name = "inflect", marker = "extra == 'dev-optional'" }, - { name = "jupyter", marker = "extra == 'dev-optional'" }, + { name = "jupyter", marker = "extra == 'dev-build'" }, { name = "kaleido", marker = "extra == 'kaleido'", specifier = "==1.0.0rc15" }, { name = "narwhals", specifier = ">=1.15.1" }, { name = "numpy", marker = "extra == 'dev-optional'" }, @@ -2914,7 +2922,8 @@ requires-dist = [ { name = "pandas", marker = "extra == 'dev-optional'" }, { name = "pdfrw", marker = "extra == 'dev-optional'" }, { name = "pillow", marker = "extra == 'dev-optional'" }, - { name = "plotly", extras = ["dev-core"], marker = "extra == 'dev-optional'" }, + { name = "plotly", extras = ["dev-build"], marker = "extra == 'dev-optional'" }, + { name = "plotly", extras = ["dev-core"], marker = "extra == 'dev-build'" }, { name = "plotly", extras = ["dev-optional"], marker = "extra == 'dev'" }, { name = "plotly", extras = ["kaleido"], marker = "extra == 'dev-optional'" }, { name = "plotly-geo", marker = "extra == 'dev-optional'" }, @@ -2924,14 +2933,14 @@ requires-dist = [ { name = "pytest", marker = "extra == 'dev-core'" }, { name = "pytz", marker = "extra == 'dev-optional'" }, { name = "requests", marker = "extra == 'dev-core'" }, - { name = "ruff", marker = "extra == 'dev-optional'", specifier = "==0.11.12" }, + { name = "ruff", marker = "extra == 'dev-core'", specifier = "==0.11.12" }, { name = "scikit-image", marker = "extra == 'dev-optional'" }, { name = "scipy", marker = "extra == 'dev-optional'" }, { name = "shapely", marker = "extra == 'dev-optional'" }, { name = "statsmodels", marker = "extra == 'dev-optional'" }, { name = "xarray", marker = "extra == 'dev-optional'" }, ] -provides-extras = ["express", "kaleido", "dev-core", "dev-optional", "dev"] +provides-extras = ["express", "kaleido", "dev-core", "dev-build", "dev-optional", "dev"] [[package]] name = "plotly-geo"