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

analyze function #106

Open
adityabhandwalkar opened this issue Feb 2, 2023 · 0 comments
Open

analyze function #106

adityabhandwalkar opened this issue Feb 2, 2023 · 0 comments

Comments

@adityabhandwalkar
Copy link

Hello community ,

I would like to ask your help regarding the analyze function in the pan matrix profile, Here is the code I'm using

class sample():

    def demos(self,path):
        #Reading the data from the file
        df = pd.read_csv(path)
        data = np.array(df.iloc[:,2])
        data = data[10000000:10010000]
        
        print(data)
        plt.title('vibration')
        plt.xlabel('Time')
        plt.ylabel('Vibration ')
        plt.plot(data)
        plt.show()
        profile, figures = mp.analyze(data)

and it is showing following line in command .py:433: UserWarning: This figure includes Axes that are not compatible with tight_layout, so results might be incorrect. fig.tight_layout(). I would like to plot the plots which are mentioned in this tutorial

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

No branches or pull requests

1 participant