Changeset 3847


Ignore:
Timestamp:
Mar 8, 2019 3:59:23 PM (3 years ago)
Author:
toby
Message:

speed contour plotting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r3846 r3847  
    26722672        SampleList = []
    26732673        Temps = []
    2674         for item in choices:
    2675             pid = G2gd.GetGPXtreeItemId(G2frame,G2frame.root, item)
     2674        # loop through tree looking for matching histograms to plot
     2675        id, cookie = G2frame.GPXtree.GetFirstChild(G2frame.root)
     2676        while id:
     2677            name = G2frame.GPXtree.GetItemText(id)
     2678            pid = id
     2679            id, cookie = G2frame.GPXtree.GetNextChild(G2frame.root, cookie)
     2680            if name not in choices: continue
    26762681            Pattern = G2frame.GPXtree.GetItemPyData(pid)
    26772682            if len(Pattern) < 3:                    # put name on end if needed
Note: See TracChangeset for help on using the changeset viewer.