Skip to content

mpl 2.0.0 vs 2.0.1 line style with wx-backend #8637

@edge-python

Description

@edge-python

I have taken the base code from:

https://matplotlib.org/examples/user_interfaces/embedding_in_wx4.html
user_interfaces example code: embedding_in_wx4.py

I have added:

import matplotlib.widgets # .Cursor

and in class CanvasFrame:

    self.lineprops = dict(linewidth=0.5, linestyle='-.', color='#660099', alpha=1)
   
    self.line_cursor = matplotlib.widgets.Cursor(self.axes, **self.lineprops)

RESULT:
the line style in 2.0.1 (and 2.0.2) is very different to 2.0.0

I want the style of 2.0.0

What is the reason?

Thank you

2 0 0 vs 2 0 1

  • Operating System: Win 10 64bit
  • Matplotlib Version: 2.0.0 vs 2.0.1 (and 2.0.2)
  • Python Version: 3.6.1
  • Other Libraries: wx 4.0.0a1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions