gemseo / utils

ggobi_export module

GGOBI : interactive data visualization software

Export data to the XML file format needed by GGOBI


Return a pretty-printed XML string for the Element.


elem – the xml element

gemseo.utils.ggobi_export.save_data_arrays_to_xml(variables_names, values_array, file_path='opt_hist.xml')[source]

Saves an optimization history in numpy format to an xml file to be read by ggobi

  • variables_names (list(str)) – list of the variables names

  • values_array – the variables history (nb variables,nb iterations)

  • file_path (str) – the file path of the generated xml file