def make_comparison_png(self, outpath=None, include_legend=False):
        """
        Creates a thematic map image with a three color beside it
        :param outpath:  if specified, will save the image instead of showing it
        :param include_legend: if true will include the thamatic map label legend
        """
        from matplotlib.patches import Patch

        fig, axs = plt.subplots(ncols=2, sharex=True, sharey=True)

        three_color = self.make_three_color()
        axs[0].imshow(three_color)
        axs[0].set_axis_off()

        shape = self.thmap.shape
        axs[1].imshow(self.thmap,
                     origin='lower',
                     interpolation='nearest',
                     cmap=self.config.solar_cmap,
                     vmin=-1, vmax=len(self.config.solar_classes)-1)

        if include_legend:
            legend_elements = [Patch(facecolor=c, label=sc, edgecolor='k')
                               for sc, c in self.config.solar_colors.items()]
            axs[1].legend(handles=legend_elements, fontsize='x-small',
                         bbox_to_anchor=(0., 1.02, 1., .102), loc=3,
                         ncol=2, mode="expand", borderaxespad=0.)
        axs[1].set_xlim([0, shape[0]])
        axs[1].set_ylim([0, shape[0]])
        axs[1].set_aspect("equal")
        axs[1].set_axis_off()

        if outpath:
            fig.savefig(outpath, dpi=300,
                        transparent=True,
                        bbox_inches='tight',
                        pad_inches=0.)
            plt.close()
        else:
            plt.show()
Creates a thematic map image with a three color beside it
        :param outpath:  if specified, will save the image instead of showing it
        :param include_legend: if true will include the thamatic map label legend