Check if backend exists before using it to plot.
Check if backend exists before using it to plot.