graphing: fix mpl usage of interactive renderer for scripts