Skip to content

topo_utils: FsmPlot() undefined variables #77

Description

@ArcticSnow
def FsmPlot(df):
    df.plot(subplots=True)
    plt.title("Sample=" + str(sampleN) + " Elev=" + str(np.round(lp.elevation[sampleN])))
    plt.show()

undefined variables:

  • sampleN
  • lp

I comment out this function until fixed

Activity

  1. ArcticSnow commented on May 11, 2023

    @ArcticSnow
    OwnerAuthor

    actually there are more:

    ./TopoPyScale/topo_utils.py:23:38: F821 undefined name 'resample_func'
            df = df.resample(freq).apply(resample_func)
                                         ^
    ./TopoPyScale/topo_utils.py:39:38: F821 undefined name 'resample_func'
            df = df.resample(freq).apply(resample_func)
                                         ^
    ./TopoPyScale/topo_utils.py:218:5: F821 undefined name 'FsmPlot'
        FsmPlot(df)
        ^
    ./TopoPyScale/topo_utils.py:222:5: F821 undefined name 'FsmPlot'
        FsmPlot(df)
        ^
    4     F821 undefined name 'resample_func'
    

    I'll comment out lines: 23, 39, 218 222 until fixed

  2. added a commit that references this issue on May 11, 2023
  3. ArcticSnow commented on May 11, 2023

    @ArcticSnow
    OwnerAuthor

    and many hard path in function: def val_plots():

  4. added a commit that references this issue on May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions