Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plotTimeSeriesData function to use numpy arrays for plotting #136

Merged

Conversation

soaressgabriel
Copy link
Collaborator

Checklist

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Added tests for changed code.
  • Updated documentation for changed code.

Description

  • Used numpy arrays (DataFrame.to_numpy()) for plotting.

Related Issue

How Has This Been Tested

  • Manual testing was performed by:
    • Setting the provided sample configuration file;
    • Executing RUBEM with provided sample dataset using the configuration file of the previous step;
    • Opening any tabular result to display its graph;
    • Verifying the output against expected results.

Aditional Information

Acknowledgements

To fix `ValueError: Multi-dimensional indexing (e.g. `obj[:, None]`) is no longer supported. Convert to a numpy array before indexing instead`
@soaressgabriel soaressgabriel self-assigned this Mar 19, 2024
@soaressgabriel soaressgabriel linked an issue Mar 19, 2024 that may be closed by this pull request
Copy link
Collaborator

@LINAMARIAOSORIO LINAMARIAOSORIO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested!

@soaressgabriel soaressgabriel merged commit 4a92ba9 into main Mar 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CSV File Visualization Error in QGIS Plugin
2 participants