Re: [Rdkit-discuss] Fwd: 2D drawing with atoms labeled by index
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
From: Peter S. S. <sh...@gm...> - 2016-10-25 05:27:29
|
Hi, Dima wrote: > > Try saving the text (svg/svg2) to a file and opening it in chrome (if you > can actually open a file in chrome) or some other application. I actually did that, and in a second email I reported: > > - Chrome thinks svg.svg is empty > > > - When I load svg2.svg, Chrome complains, "This XML file does not > appear to have any style information associated with it. The document tree > is shown below...." > > -P. On Tue, Oct 25, 2016 at 12:28 AM, Dmitri Maziuk <dmi...@gm...> wrote: > OK, my turn: that went out too soon. > > It seems to me that jypiter, ipython, or whatever, has no idea how render > MIME type image/svg+xml. It can display an "SVG" object, but the bit that > turned image/svg+xml into "SVG" does not understand XML namespaces (that's > been around since at least 2009). > > Try saving the text (svg/svg2) to a file and opening it in chrome (if you > can actually open a file in chrome) or some other application. > > Dima > > |