summaryrefslogtreecommitdiff
path: root/examples/drawing/plot_custom_node_icons.py
Commit message (Collapse)AuthorAgeFilesLines
* Doc/fix 403 error drawing custom icons (#4906)Ross Barnowski2021-06-161-12/+23
| | | | | | | | | | | | * Add local copies of custom node icon pngs. * Update example to use local images. * Force FancyArrowPatch to respect tgt distances. min/max_target_distance kwargs are only supported by FancyArrowPatch. Force drawing with FAPs and add comment explaining how/why. * Add seed to layout for reproducibility.
* fix urllib import (#4793)Xiangyu Xu2021-05-141-1/+1
| | | | | * fix urllib import * update urllib import
* imread(url) is deprecated, use pillow + urllib to load image from URL (#4790)Mridul Seth2021-05-111-2/+5
|
* Gallery Example: Drawing custom node icons on network using MPL (#4633)Alex Walker2021-05-111-0/+61
* Added images to the generate graph * Cleaned up comments * Added comment for node addition * Ross's suggestion Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Ross's suggestion Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Ross's suggestion Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Ross's suggestion Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * revised code * added comment * Update examples/drawing/plot_mpl_annotations.py Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Update examples/drawing/plot_mpl_annotations.py Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Rename plot_mpl_annotations.py to plot_custom_node_icons.py Co-authored-by: Alex <a.c.walker@student.tudelft.nl> Co-authored-by: Sharwin Bobde <31354242+sharwinbobde@users.noreply.github.com> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> Co-authored-by: Sharwin Bobde <bsharwin@gmail.com>