The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Saving Plot in my repository with Python

GregkielaGregkiela Member Posts: 1 Learner I
Hello,
I'm trying to do this:

Unfortunately, I don't know how because I can't see the contents, it's just a picture in the documentation.
In my case, I receive data in the operator "Execute Python". After, I make a plot with Matplotlib in the script that I want to store in my repository.

Hope this is clear.
If anyone could help me that would be great.

Thanks,
Grégory

Answers

  • ceaperezceaperez Member Posts: 541 Unicorn
    Hi @Gregkiela,

    1- First to all, if you search the Execute Python operator and select it you can see the jump to tutorial link. Click it and scroll down until find the "Creating a plot using Python in you repository" example. Click on it and now you can explore the example process. 
    2- In order to see the script editor, be sure to click on Show advanced parameters option.
    3- Clicking on Edit text Icon you can edit the python code. 

    By default, this example se use depreciated package pandas.io.data.
    if you have problems runing the example, try using the pandas_datareader package.

    Best. 
    Cesar


Sign In or Register to comment.