[Chimera-users] labels turned white

Oleksiy Kovtun okovtun at mrc-lmb.cam.ac.uk
Thu Nov 9 06:25:55 PST 2017


Dear community, 

I encountered a problem with 2D labels turning white disregards what colour presets I give. 

The script reads title presets from a file (2dlabel path) and then display the title with these commnads:

 2dlabels change * bgColor 1,1,1,0.75;

2dlabels change title visibility show

 

The 'title' label should appear as opaque black font as defined in the label file:

Label title
(x,y): (0.18,0.5)
text: u'Title'
shown: False
font size(s): 40
font style(s): bold
font typeface(s): sans serif
color(s): (0, 0, 0, 1)


But it appears in white. Bizarrely all other presets in the label file translate into the title appearance as they should except for the colour.  

I run Chimera 1.11.12 (build 41280) on Unix. 

Script and label file are attached. 

Thank you.

Oleksiy




Dr Oleksiy Kovtun
Research Fellow
Briggs group
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge
CB2 0QH
UK

Tel: + 44 1223 267551
Email: okovtun at mrc-lmb.cam.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20171109/3584dd75/attachment.html>


More information about the Chimera-users mailing list