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

prop_cycler validation over-zealous #7426

Closed
5 tasks
tacaswell opened this issue Nov 8, 2016 · 1 comment
Closed
5 tasks

prop_cycler validation over-zealous #7426

tacaswell opened this issue Nov 8, 2016 · 1 comment
Milestone

Comments

@tacaswell
Copy link
Member

To help us understand and resolve your issue please check that you have provided
the information below.

  • Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)
    • 2.x
  • How did you install Matplotlib and Python (pip, anaconda, from source ...)
  • from source
  • If possible please supply a Short, Self Contained, Correct, Example
    that demonstrates the issue i.e a small piece of code which reproduces the issue
    and can be run with out any other (or as few as possible) external dependencies.
import numpy as np
import numpy as np
import matplotlib.pyplot as plt
from cycler import cycler
plt.style.use([
    'seaborn-paper', {'axes.prop_cycle': (
        cycler('color', ['k'])*
        cycler('linewidth', [2,1])*
        cycler('dashes', [[],[13,2],[8,3,1,3]]))}])

a = np.array((0.,5.))
plt.plot(a,a, linewidth=6)
plt.plot(-a,a, dashes=[])
  • If this is an image generation bug attach a screenshot demonstrating the issue.
    • raises
  • If this is a regression (Used to work in an earlier version of Matplotlib), please
    note where it used to work.
    • worked in 1.5.3
@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Nov 8, 2016
@tacaswell
Copy link
Member Author

@tacaswell tacaswell modified the milestones: 2.0.1 (next bug fix release), 2.0 (style change major release) Nov 8, 2016
@QuLogic QuLogic modified the milestones: 2.0 (style change major release), 2.0.1 (next bug fix release) Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants