Giter VIP home page Giter VIP logo

Comments (5)

hexaeder avatar hexaeder commented on July 1, 2024

Interesting, i can reproduce this but I can not explain it. The handling of node color and nlabels internally is quite the same. Simple text plots on their own also react to changes of the text observable. Maybe this is specific to text plots inside other recipes...

Edit: this is specific to a text plot which plots an array of strings

from graphmakie.jl.

Cvikli avatar Cvikli commented on July 1, 2024

I face with the same problem. What is the best way to solve this problem and to have label updated? Did you solve it @diegozea ?

from graphmakie.jl.

Cvikli avatar Cvikli commented on July 1, 2024

Maybe worth noting as an avoidant solution I also update the coordinates so it redraw the texts, (I guess).

So I added:
p.layout[] = p.layout[]

from graphmakie.jl.

Cvikli avatar Cvikli commented on July 1, 2024

Actually updating the nlabels_distance is less important attribute, so I replaced the layout update with this and it still works:
p.nlabels_distance[] = p.nlabels_distance[]

from graphmakie.jl.

hexaeder avatar hexaeder commented on July 1, 2024

seems fixed in current makie versions

from graphmakie.jl.

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.