[ase-users] Reverse color maps in ASE GUI?

Michael Walter Michael.Walter at fmf.uni-freiburg.de
Thu Apr 9 08:30:53 CEST 2020


Dear Andrew,

Am Mi., 8. Apr. 2020 um 17:02 Uhr schrieb Andrew Logsdail via ase-users <
ase-users at listserv.fysik.dtu.dk>:

> Hi,
>
> Is there a reason that reverse colour maps are disabled for coloring atoms
> in ASE GUI, as per this line:
> https://gitlab.com/ase/ase/-/blob/master/ase/gui/colors.py#L95
>
> In particular, I’d like to use the bwr (blue-white-red) in the traditional
> manner for +q and -q, but this would require the bwr_r colormap as the
> numerical limits are setup the opposite way round currently (i.e.-q to +q
> run blue to red); happy to edit source code if necessary, but wondered if
> there was a reason this wasn’t generally available.
>

I do not really recall why the reversed color maps were excluded. Maybe the
list was to long or it was simply a stupid idea. Feel free to change this
behaviour in a merge request (
https://wiki.fysik.dtu.dk/ase/development/contribute.html)

Regards,
Michael


> Thanks in advance,
>
> Andy
>
>>
> Dr. Andrew Logsdail
>
> School of Chemistry,
> Cardiff University,
> Main Building,
> Park Pl,
> Cardiff CF10 3AT
>
> Yr Ysgol Cemeg,
> Prifysgol Caerdydd,
> Y Prif Adeilad,
> Plas-y-Parc,
> Caerdydd,
> CF10 3AT
>
> T/F: +44 2922 510 162
> E: LogsdailA at cardiff.ac.uk
> W: http://logsdail.github.io
> @: http://www.twitter.com/a_logsdail
>
> The University welcomes correspondence in Welsh or English.
> Mae'r Brifysgol yn croesawu gohebiaeth yn Gymraeg neu'n Saesneg.
>
> *Please note: I sometimes work irregular hours. I don’t expect you
> to read, action or respond out of your normal work hours.*
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users



-- 
------------------------------------------
PD Dr Michael Walter
Addresses:
- Fraunhofer IWM, Wöhlerstrasse 11, D-79108 Freiburg i. Br., Germany
  Tel.: +49 761 5142 296
- FIT Freiburg Centre for Interactive Materials and Bioinspired
Technologies, Georges-Köhler-Allee 105, 79110 Freiburg, Germany
  Tel: +49 761 203 95072
email: Michael.Walter at fmf.uni-freiburg.de
www: http://www.functional-nanosystems.uni-freiburg.de/People/PDWalter/group
publications: http://scholar.google.com/citations?user=vlmryKEAAAAJ&hl=en
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20200409/aac34799/attachment-0001.html>


More information about the ase-users mailing list