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

[Bug] g.gui.iclass uses deprecated mlab function #598

Closed
CarlosGrohmann opened this issue May 7, 2020 · 1 comment
Closed

[Bug] g.gui.iclass uses deprecated mlab function #598

CarlosGrohmann opened this issue May 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@CarlosGrohmann
Copy link
Contributor

Description
I'm running 7.9 (from github) in Linux Manjaro. Matplotlib is installed and I use it elsewhere. Python 3.8.2.
When trying to run g.gui.iclass, I got the warning "unable needed to import packages for scatter plot". The error reported is that it can't import "dist_point_to_segment". From what I found, this function was deprecated in recent versions of matplotlib. See here: ESMG/pyroms#18

To Reproduce
Click on wxgui menu "Imagery - Classify Image - interactive input for supervised classification"

Expected behavior
I expected the tool to open without issues, as I have matplotlib working

Screenshots
bug_gguiiclass

**System description **

  • Operating System: Linux Manjaro
  • GRASS GIS version 7.9.dev

version=7.9.dev
date=2020
revision=ad079931e
build_date=2020-05-04
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=f89b009b5
libgis_date=2020-04-24T11:32:32+00:00
proj=6.3.1
gdal=3.0.4
geos=3.8.0
sqlite=3.31.1

Additional context
Add any other context about the problem here.

@CarlosGrohmann CarlosGrohmann added the bug Something isn't working label May 7, 2020
@nilason
Copy link
Contributor

nilason commented May 7, 2020

This is duplicate of #461. May be closed as such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants