Giter Club home page Giter Club logo

Comments (7)

DingWB avatar DingWB commented on May 29, 2024

Were you using the latest version of PyComplexHeatmap? If not, please upgrade to the latest version. @XuejianXiong

from pycomplexheatmap.

XuejianXiong avatar XuejianXiong commented on May 29, 2024

Thank you @DingWB. I upgraded to the version 1.7.3, but still have the same problem.

from pycomplexheatmap.

DingWB avatar DingWB commented on May 29, 2024

This is weird; this bug was fixed a long time ago.
Please print print(heatmap.kwargs['vmax'],heatmap.kwargs['vmin'],heatmap.legend_kws) after running heatmap = pch.ClusterMapPlotter(**) and show me the output.
@XuejianXiong

from pycomplexheatmap.

XuejianXiong avatar XuejianXiong commented on May 29, 2024

The output looks good "30 0 {'vmin': 0, 'vmax': 30}". However in the figures (attached), it still shows different values in the legend for different heatmaps.
Screenshot 2024-05-15 at 5 30 12 PM

@DingWB

from pycomplexheatmap.

DingWB avatar DingWB commented on May 29, 2024

Please install the latest version from github, and follow this example to see whether the legend has the same vmax and vmin as provided in the code (vmin=-2.2,vmax=2.3,).

If it is still not working, then you need to paste your data and code here.

from pycomplexheatmap.

DingWB avatar DingWB commented on May 29, 2024

Hi @XuejianXiong ,

How is it going? Did it work?

from pycomplexheatmap.

XuejianXiong avatar XuejianXiong commented on May 29, 2024

Hi @DingWB,

It worked! It seems my virtual environment caused issues with the package upgrading. I have to manually delete the old version and reinstall using pip.
Thank you for your help!

Best,
Xuenjian

from pycomplexheatmap.

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.