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

Use absolute import in viz #1007

Closed
sahmed95 opened this Issue Mar 22, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@sahmed95
Contributor

sahmed95 commented Mar 22, 2016

Please refer to the original issue #969. Use absolute import in place of relative for all .py files inside /dipy. Take care not to change .pyx or init files

/dipy/dipy/viz/fvtk.py:
   28  
   29  # Conditional import machinery for vtk
   30: from ..utils.optpkg import optional_package
   31  
   32  # Allow import, but disable doctests if we don't have vtk

/dipy/dipy/viz/projections.py:
    8  import numpy as np
    9  import scipy.interpolate as interp
   10: from ..utils.optpkg import optional_package
   11  import dipy.core.geometry as geo
   12  from dipy.testing import doctest_skip_parser

/dipy/dipy/viz/regtools.py:
    1  import numpy as np
    2: from ..utils.optpkg import optional_package
    3  matplotlib, has_mpl, setup_module = optional_package("matplotlib")
    4  plt, _, _ = optional_package("matplotlib.pyplot")
@theaverageguy

This comment has been minimized.

Contributor

theaverageguy commented Mar 22, 2016

On this now .

theaverageguy added a commit to theaverageguy/dipy that referenced this issue Mar 23, 2016

theaverageguy added a commit to theaverageguy/dipy that referenced this issue Mar 23, 2016

theaverageguy added a commit to theaverageguy/dipy that referenced this issue Mar 23, 2016

@arokem arokem closed this in #1010 Mar 28, 2016

sahmed95 pushed a commit to sahmed95/dipy that referenced this issue Apr 10, 2016

sahmed95 pushed a commit to sahmed95/dipy that referenced this issue Apr 10, 2016

sahmed95 pushed a commit to sahmed95/dipy that referenced this issue Apr 10, 2016

skoudoro pushed a commit to fury-gl/fury that referenced this issue Sep 20, 2018

skoudoro pushed a commit to fury-gl/fury that referenced this issue Sep 20, 2018

skoudoro pushed a commit to fury-gl/fury that referenced this issue Sep 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment