Incompatibilities on MacOS
Hi, I encountered a problem while trying to visualize the function.
So as what I learned from the tutorial I wrote this:
import benchmark_functions as bf
# Test
f = bf.Ackley()
x0 = [0, 0]
f.show()
Then I got the error:
fig.canvas.set_window_title('Benchmark Function: '+self._name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'FigureCanvasMac' object has no attribute 'set_window_title'
As you can see that "FigureCanvasMac" is involved to create a canvas on MacOS which I presume would be platform-dependent.
I use the plt.get_current_fig_manager() to dynamically get the backend which resolved this kind of issue.
Nice package btw I really love it.