tesseroids icon indicating copy to clipboard operation
tesseroids copied to clipboard

Test plots generated in cookbook recipes

Open leouieda opened this issue 12 years ago • 4 comments

Add a script that tests the images generated in cookbook recipes against baselines. This can be done using matplotlib.testing.compare. See https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/testing/compare.py

leouieda avatar Feb 11 '14 17:02 leouieda

Hello, i am student and I'm trying to work for my internship with tesseroids. The installation of the program was a success, but when I try to plot the example of DEM-BRASIL in the cookbook I get this error : raise RuntimeError("Can not put single artist in " RuntimeError: Can not put single artist in more than one figure do you have any idea how I can to fix this please ?

Shemsse avatar Mar 23 '22 19:03 Shemsse

@Shemsse thanks for getting in touch! That's likely a matplotlib error coming from newer versions of matplotlib than I used for that example. Matplotlib is not required to run Tesseroids, it was just for my example of plotting the results. You could the same thing with Matlab, R, GMT, QGIS, etc.

leouieda avatar Mar 25 '22 17:03 leouieda

@leouieda Thank you for your answer, indeed I plotted my results with GMT and it works well. Good continuation and thank you for the work you do for science.

Shemsse avatar Mar 27 '22 22:03 Shemsse

Glad it worked!

leouieda avatar Mar 28 '22 07:03 leouieda