Code Monkey home page Code Monkey logo

Comments (4)

jorge-ramirez-upm avatar jorge-ramirez-upm commented on June 4, 2024

How to select the labels for the legend?
Maybe allow the user to specify something like ${Mw}, knowing that the files contain that parameter?

from reptate.

jorge-ramirez-upm avatar jorge-ramirez-upm commented on June 4, 2024

A problem with this is that, when the user sorts the files in the DataSet, the series in the matplotlib figure are not sorted accordingly and, therefore, when the Legend is shown the order of the series in the Legend corresponds to the order in which the series were added to the figure.

from reptate.

jorge-ramirez-upm avatar jorge-ramirez-upm commented on June 4, 2024

Right now, the legend only shows entries in the current dataset. The items in the legend are shown in the same order as the items in the Dataset. The user must uncheck and check the legend again to see the changes.
We need to implement options (font, size, columns, etc) for the legend.

from reptate.

jorge-ramirez-upm avatar jorge-ramirez-upm commented on June 4, 2024

I think it works! Options are accessible from the Markersettings dialog.
The legend label can be modified by using a parameter of the file. For example "Mw=[Mw]" will be replaced by "Mw=1131.0" if the parameter Mw in the file has that value.

from reptate.

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.