It follows the typical example call sequence to set up a node with the plot.
the plot is placed on the right place, but it is not grouped with the dedicated node and then if the other node is overwrapped to the plot node, the other node is fit behind the plot...
seems, the plot is always on top.
with dpg.node(tag=self._tag,
parent=editorHandle.tag,
label=self.nodeLabel,
pos=pos):
with dpg.node_attribute(tag=self._attrImageInput.tag,
attribute_type=dpg.mvNode_Attr_Input,
shape=dpg.mvNode_PinShape_CircleFilled):
# dpg.add_image(tag=self._previewImageTag, texture_tag=self._previewTextureTag)
with dpg.plot(
width=self._currentWidth,
height=self._currentHeight,
tag=self._valueNameTag,
no_menus=True,
):
dpg.add_plot_legend(horizontal=True,
location=dpg.mvPlot_Location_NorthEast)
dpg.add_plot_axis(
dpg.mvXAxis,
tag=self._valueNameTag + 'xaxis',
)
dpg.set_axis_limits(dpg.last_item(), 0, 256)
It follows the typical example call sequence to set up a node with the plot. the plot is placed on the right place, but it is not grouped with the dedicated node and then if the other node is overwrapped to the plot node, the other node is fit behind the plot... seems, the plot is always on top.