QML Figure API

This section explains how to layout a Nutmeg figure using QML. Most of these properties can also be set dynamically from code, and for many properties unique to a figure such as titles, labels, etc., this is recommended.

For example, to set a title from python code:

fig = Nutmeg.figure("myFigure", "figure.qml")
fig.set('ax.title', "My Figure")

Figure

See Figure

Axes

Plots

  • XY Plot
  • Bar Plot
  • Image Plot
  • Surface Plot