Opened 5 years ago
Closed 5 years ago
#18035 closed enhancement (fixed)
Handle more text options
Reported by:  vdelecroix  Owned by:  

Priority:  major  Milestone:  sage6.6 
Component:  graphics  Keywords:  days64 
Cc:  Merged in:  
Authors:  Vincent Delecroix  Reviewers:  Eric Gourgoulhon 
Report Upstream:  N/A  Work issues:  
Branch:  59d1447 (Commits)  Commit:  59d14478065778d8ee4d5536751db8ec38836a8d 
Dependencies:  Stopgaps: 
Description
As mentioned in this question on ask.sagemath.org we shoud allow more options to text. The attached branch adds:
fontstyle
fontweight
background_color
bbox
alpha
See http://matplotlib.org/users/text_props.html for the complete list of options.
Change History (5)
comment:1 Changed 5 years ago by
 Branch set to u/vdelecroix/18035
 Commit set to 82697ddae0fdce52ee8e295909d069c3b639686e
 Status changed from new to needs_review
comment:2 Changed 5 years ago by
 Branch changed from u/vdelecroix/18035 to public/18035
 Commit changed from 82697ddae0fdce52ee8e295909d069c3b639686e to 59d14478065778d8ee4d5536751db8ec38836a8d
 Keywords days64 added
 Reviewers set to Eric Gourgoulhon
 Status changed from needs_review to positive_review
Looks good to me. I simply corrected a typo in the documentation of function text
(bad rendering of horizontal_alignement
).
New commits:
59d1447  Trac #18035: correct a typo in the documentation of text

comment:3 followup: ↓ 4 Changed 5 years ago by
Cool! Many thanks Eric. Better pictures in perspective ;)
Vincent
comment:4 in reply to: ↑ 3 Changed 5 years ago by
Replying to vdelecroix:
Cool! Many thanks Eric. Better pictures in perspective ;)
Indeed! This is a nice improvement!
Eric.
comment:5 Changed 5 years ago by
 Branch changed from public/18035 to 59d14478065778d8ee4d5536751db8ec38836a8d
 Resolution set to fixed
 Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
Trac 18035: more options to text