Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

colors.cmaps does not validate cleanly #27

Open
Chilipp opened this issue Jan 26, 2021 · 0 comments
Open

colors.cmaps does not validate cleanly #27

Chilipp opened this issue Jan 26, 2021 · 0 comments
Assignees
Labels

Comments

@Chilipp
Copy link
Member

Chilipp commented Jan 26, 2021

Code Sample, a copy-pastable example if possible

cat >> ~/.config/psyplot/psyplotrc.yml << EOF

colors.cmaps: 
  rgb: ['r', 'g', 'b']

EOF

Problem description

the validate_cmaps does not validate cleanly, you get Trying to set 'colors.cmaps' to {'rgb': ['r', 'g', 'b']} via the update method of RcParams which does not validate cleanly.

see also psyplot/psyplot-gui#25

Output of psyplot -aV

psyplot -aV
psy_maps.plugin:
  requirements:
    cartopy: 0.18.0
  version: 1.3.2+2.g26b6411
psy_reg.plugin:
  requirements:
    scipy: 1.5.3
    statsmodels: 0.12.1
  version: 1.3.0+3.gc849e50
psy_simple.plugin:
  version: 1.3.1
psy_strat.plugin:
  version: 0.1.0
psy_transect.plugin:
  version: 0.0.1.dev0
psyplot:
  requirements:
    matplotlib: 3.3.3
    numpy: 1.19.4
    pandas: 1.1.4
    python: 3.8.6 | packaged by conda-forge | (default, Oct  7 2020, 19:08:05)  [GCC
      7.5.0]
    xarray: 0.16.2
  version: 1.3.1+3.g84dcb3d.dirty
psyplot_gui:
  requirements:
    pyqt: 5.12.3
    qt: 5.12.9
    qtconsole: 5.0.1
  version: 1.3.0
@Chilipp Chilipp added the bug label Jan 26, 2021
@Chilipp Chilipp self-assigned this Jan 26, 2021
Chilipp added a commit that referenced this issue Oct 8, 2021
As with psyplot 1.4.0, psy-simple is now continuously tested and deployed with CircleCI.

Fixed
-----
-   Compatibility fixes for matplotlib\>=3.3

Added
-----
-   psyplot does now have a CITATION.cff file, see https://citation-file-format.github.io

Changed
-------
-   psy-simple is now officially licensed under LGPL-3.0-only, see [#28](#28)
-   We use CicleCI now for a standardized CI/CD pipeline to build and test the code and docs all at one place, see [#27](#27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant