Giter Site home page Giter Site logo

Comments (3)

dajtmullaj avatar dajtmullaj commented on July 22, 2024 1

@shkao I'll prefer to leave it open for now!
We will soon start development on small enhancement features as the one we just discussed and I will close it then as you suggested :)
I am glad you are enjoying the package :)
Don't hesitate to let us know future suggestions!

from chemplot.

dajtmullaj avatar dajtmullaj commented on July 22, 2024

Hi @shkao,
Apologizes for the late reply!
Currently each Plotter object keep track of the rdkit Mol objects within an attribute __mols. The latter is used by interactive_plot() in order to draw the molecules. Therefore currently in order to remove the hydrogens you will need to modify this attribute before calling interactive_plot() with, for example, the following line:

plotter_instance._Plotter__mols = [Chem.RemoveHs(mol) for mol in plotter_instance._Plotter__mols]

Thank you for the suggestion! We discuss adding an option to remove hydrogens in interactive_plot() for the next sub-release!

from chemplot.

shkao avatar shkao commented on July 22, 2024

Hi @dajtmullaj,

Thank you, works like a charm now!
And I also found it integrated perfectly with Streamlit. A very nice package, thanks again! :-)
Do you want me to close this issue now, or wait until the enhancement feature is done?

from chemplot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.