Package rdkit :: Package Chem :: Package Draw :: Module IPythonConsole
[hide private]
[frames] | no frames]

Module IPythonConsole

source code

Functions [hide private]
 
_toJSON(mol)
For IPython notebook, renders 3D webGL objects.
source code
 
_toPNG(mol) source code
 
_toSVG(mol) source code
 
_toReactionPNG(rxn) source code
 
_GetSubstructMatch(mol, query, **kwargs) source code
 
_GetSubstructMatches(mol, query, **kwargs) source code
 
display_pil_image(img)
displayhook function for PIL Images, rendered as PNG
source code
 
ShowMols(mols, **kwargs) source code
 
InstallIPythonRenderer() source code
 
UninstallIPythonRenderer() source code
Variables [hide private]
  _canUse3D = False
  molSize = 450, 150
  highlightSubstructs = True
  kekulizeStructures = True
  ipython_useSVG = False
  ipython_3d = False
  molSize_3d = 450, 450
  drawing_type_3d = "ball and stick"
  camera_type_3d = "perspective"
  shader_3d = "lambert"
  _MolsToGridImageSaved = None
hash(x)

Imports: sys, IPython, install_nbextension, traceback, Chem, rdchem, rdChemReactions, Draw, rdMolDraw2D, BytesIO, StringIO, copy, os, json, uuid, numpy, Image, SVG