pymoo icon indicating copy to clipboard operation
pymoo copied to clipboard

Error with get_cmap using Scatter visualization function

Open lisasoubirou opened this issue 8 months ago • 2 comments

Hi, I was trying to plot some results with the Scatter visualization function, but I got the following error: error I found this "issue" Re-add matplotlib.cm.get_cmap from matplotlib: https://github.com/matplotlib/matplotlib/pull/28355 Replacing self.cmap = matplotlib.cm.get_cmap(cmap) by self.cmap = plt.get_cmap(cmap) in the Plot.init() function solved my problem. I just wanted to point out this issue with the latest version of matplotlib (3.9)

lisasoubirou avatar Jun 07 '24 15:06 lisasoubirou