Perfect,

Thanks

Chris

> On 12 Jun 2018, at 05:07, Greg Landrum <greg.land...@gmail.com> wrote:
> 
> Hi Chris,
> 
> The trick here is to know that the first element of the tuple that the 
> similarity map functions return is a matplotlib Figure object. you can use 
> all the methods available for that to add annotations or additional 
> information. The easiest way to add a compound ID would be using the figure 
> title, which you can set via:
> fig.axes[0].set_title()
> Here's a gist demonstrating this;
> https://gist.github.com/greglandrum/3fab9a5de996d84e7b052966251074e8 
> <https://gist.github.com/greglandrum/3fab9a5de996d84e7b052966251074e8>
> 
> -greg
> 
> On Sat, Jun 9, 2018 at 7:23 PM Chris Swain <sw...@mac.com 
> <mailto:sw...@mac.com>> wrote:
> Hi,
> 
> I’m using Similarity Maps to map a property onto a molecule and then display 
> as a contour map and export as an image.
> 
> This all works fine but is it possible to annotate the image the the molecule 
> ID (molID)
> 
> Cheers,
> 
> Chris
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> <http://sdm.link/slashdot>
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net 
> <mailto:Rdkit-discuss@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss 
> <https://lists.sourceforge.net/lists/listinfo/rdkit-discuss>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to