Skip to content
Snippets Groups Projects
Commit c1bcca9b authored by Christoph Groth's avatar Christoph Groth
Browse files

fix streamline color if no lines are blended

Matplotlib backends like PDF cannot display arbitrarily thin lines.
That's why kwant.plotter.streamplot simulates thinner lines by blending
them into the background.

Previously if no lines were blended, i.e. all had the same color value
1, the background color would be used for drawing them instead of the
line color.
parent 7c7792ad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment