Changeset 4647


Ignore:
Timestamp:
Nov 4, 2020 12:58:25 PM (12 months ago)
Author:
vondreele
Message:

fix escape seq in G2ctrlGUI
add defaults for map slice color contours; for delt-F use 'RdYlGr?', else use 'YlGnBu?'
can be changed by user

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrlGUI.py

    r4645 r4647  
    438438
    439439    Float values can be entered in the TextCtrl as numbers or also
    440     as algebraic expressions using operators + - / \* () and \*\*,
     440    as algebraic expressions using operators + - / \\* () and \\*\\*,
    441441    in addition pi, sind(), cosd(), tand(), and sqrt() can be used,
    442442    as well as appreviations s, sin, c, cos, t, tan and sq.
     
    499499
    500500      The number of keyword arguments may be increased in the future should needs arise,
    501       so it is best to code these functions with a \*\*kwargs argument so they will
     501      so it is best to code these functions with a \\*\\*kwargs argument so they will
    502502      continue to run without errors
    503503
     
    13451345    initial value of the entry (int, float or string).
    13461346    Float values can be entered in the TextCtrl as numbers or also
    1347     as algebraic expressions using operators + - / \* () and \*\*,
     1347    as algebraic expressions using operators + - / \\* () and \\*\\*,
    13481348    in addition pi, sind(), cosd(), tand(), and sqrt() can be used,
    13491349    as well as appreviations s(), sin(), c(), cos(), t(), tan() and sq().
  • trunk/GSASIIphsGUI.py

    r4641 r4647  
    24962496            def OnMapType(event):
    24972497                Map['MapType'] = mapType.GetValue()
     2498                if 'delt-F' in Map['MapType']:
     2499                    data['Drawing']['contourColor'] = 'RdYlGn'
     2500                else:
     2501                    data['Drawing']['contourColor'] = 'YlGnBu'
    24982502               
    24992503            def OnRefList(event):
Note: See TracChangeset for help on using the changeset viewer.