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

Beautiful print Container objects #67

Closed
HowcanoeWang opened this issue Dec 27, 2022 · 1 comment
Closed

Beautiful print Container objects #67

HowcanoeWang opened this issue Dec 27, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@HowcanoeWang
Copy link
Member

Current print style now showing the correct ROI key and looks ugly:

       [ 484585.84831165, 3862266.69649805]]), 116: array([[ 484586.95917975, 3862264.48670892],
       [ 484586.27618307, 3862265.79420158],
       [ 484586.74248551, 3862266.01187889],
       [ 484587.38897386, 3862264.72551779],
       [ 484586.95917975, 3862264.48670892]]), 117: array([[ 484588.07918062, 3862262.27468665],
       [ 484587.39618362, 3862263.58217923],
       [ 484587.86248614, 3862263.79985659],
       [ 484588.50897668, 3862262.51460452],
       [ 484588.07918062, 3862262.27468665]]), 118: array([[ 484589.18991156, 3862259.98283581],
       [ 484588.50691422, 3862261.2903283 ],
       [ 484588.97321497, 3862261.50689677],
       [ 484589.6197077 , 3862260.22275374],
       [ 484589.18991156, 3862259.98283581]]), 119: array([[ 484590.32812571, 3862257.73529679],
       [ 484589.64512804, 3862259.04278919],
       [ 484590.11143074, 3862259.26046666],
       [ 484590.75792192, 3862257.97521477],
       [ 484590.32812571, 3862257.73529679]])}
@HowcanoeWang HowcanoeWang added the enhancement New feature or request label Dec 27, 2022
@HowcanoeWang HowcanoeWang added this to the 2.0.0.dev4 milestone Dec 27, 2022
@HowcanoeWang HowcanoeWang self-assigned this Dec 27, 2022
@HowcanoeWang HowcanoeWang moved this to Done in EasyIDP v2.0 Dec 27, 2022
@HowcanoeWang
Copy link
Member Author

Fixed effects:

>>> import numpy as np
>>> import easyidp as idp
>>> test_data = idp.data.TestData()
>>> roi = idp.ROI(test_data.shp.utm53n_shp, name_field=0)
[shp][proj] Use projection [WGS 84 / UTM zone 53N] for loaded shapefile [lon_lat_utm53n.shp]
Read shapefile [lon_lat_utm53n.shp]: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 120/120 [00:00<00:00, 2464.57it/s]
>>> roi
<easyidp.ROI> with 120 items
[0]     1_02
array([[ 484581.96481965, 3862282.54659697],
       [ 484581.71899749, 3862283.05047413],
       [ 484581.92015662, 3862283.14994052],
       [ 484582.17518015, 3862282.68486107],
       [ 484581.96481965, 3862282.54659697]])
[1]     1_03
array([[ 484583.12131417, 3862280.30678878],
       [ 484582.87549189, 3862280.81066591],
       [ 484583.07665105, 3862280.91013233],
       [ 484583.3316747 , 3862280.44505291],
       [ 484583.12131417, 3862280.30678878]])
...
[118]   6_35
array([[ 484589.18991156, 3862259.98283581],
       [ 484588.50691422, 3862261.2903283 ],
       [ 484588.97321497, 3862261.50689677],
       [ 484589.6197077 , 3862260.22275374],
       [ 484589.18991156, 3862259.98283581]])
[119]   6_36
array([[ 484590.32812571, 3862257.73529679],
       [ 484589.64512804, 3862259.04278919],
       [ 484590.11143074, 3862259.26046666],
       [ 484590.75792192, 3862257.97521477],
       [ 484590.32812571, 3862257.73529679]])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant