Coder Social home page Coder Social logo

Comments (4)

lucadelu avatar lucadelu commented on July 20, 2024

No, I don't have any idea.

I these days I have no time to check it, I hope in the next weeks.

from grass.

echoix avatar echoix commented on July 20, 2024

Without knowing anything about the implementation, I can think of two other reasons that could do that, to check if it's what happening:

  • The y axis labels on the graph come from a categorical variable, so they don't have a position. So they aren't a number, they would be a string
  • The labels are trunctatad, and you only see the end of the string

from grass.

veroandreo avatar veroandreo commented on July 20, 2024

Without knowing anything about the implementation, I can think of two other reasons that could do that, to check if it's what happening:

  • The y axis labels on the graph come from a categorical variable, so they don't have a position. So they aren't a number, they would be a string

This is what I suppose too. The y value seems to be obtained here: https://github.com/OSGeo/grass/blob/f8115df1219e784a7136e7609f4c9bb16d928e2f/gui/wxpython/tplot/frame.py#L693C25-L695C29 but I'm not sure how to test it

from grass.

echoix avatar echoix commented on July 20, 2024

Since I suspect something wrong with type handling, I would place a breakpoint and step through it, but I won't be on a computer for the week. I would look if the int(cat) is correct, and if the data structure represents correctly what we wanted (ie: it gets the elements we want), and what branch conditions are taken. (Make sure that it is the good lines we are investigating).

from grass.

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.