8000 quiver(C=...) argument is not reasonably validated · Issue #14060 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
quiver(C=...) argument is not reasonably validated #14060
Closed
@sharun-s

Description

@sharun-s

Bug summary

Quiver plot issue matching key label color with arrow color

Code for reproduction

q=plt.quiver([1, 2,], [1, 1], [[49],[49]], [0],
   [[(0.6, 0.8, 0.5, 1.0 )],
    [(0.3, 0.1, 0.2, 1.0 )]],
       angles=[[45],[90]],
       )
plt.quiverkey(q, .5, .5, 7, r'vector2', labelcolor=(0.3, 0.1, .2, 1), labelpos='S', coordinates = 'figure')

Actual outcome

Figure_1

Expected outcome

The key label color and a vector are both set to (0.3, 0.1, .2, 1) but their colors 5D09 are different.

Matplotlib version

  • Operating system: Ubuntu 18.04
  • Matplotlib version: 3.0.3
  • Matplotlib backend: TkAgg
  • Python version: 3.6
  • Jupyter version (if applicable):
  • Other libraries:

pip3 install matplotlib

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0