Opened 5 years ago

Last modified 4 years ago

#23104 new defect

implement alpha for streamline plots

Reported by: kcrisman Owned by:
Priority: minor Milestone: sage-8.0
Component: graphics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


In #10775 we implemented streamline plots, but this ask.sagemath question requests alpha transparency for it too. Currently this raises an error.

Change History (1)

comment:1 Changed 4 years ago by yzh

The matplotlib streamplot currently doesn't support the alpha option. To allow alpha transparency, one would have to re-implement streamline_plot by plotting lines and arrows, instead of using the matplotlib function. As the answer to the ask.sagemath question suggests, one can use the alpha option in PIL as a workaround.

Note: See TracTickets for help on using tickets.