> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Visualize with Python

Visualizations allow you to transform entire data sheets or specific cell selections into charts to help you understand your data. Anaconda provides a variety of charts so you can present your data in a way that makes sense for your use case.

## Creating a chart

Create a new chart using the following steps:

1. Under <Icon icon="signal-bars-good" iconType="solid" color="#08CA4A" size={24} /> **Visualizations**, click **Visualize with Python**.

2. Click **+ New Chart**.

3. Select a chart type from the list of charts.

4. Select your source data range and configure the controls on the **Setup** tab.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/kBuj3mPdZoBk8YoG/images/visualize_setup.png?fit=max&auto=format&n=kBuj3mPdZoBk8YoG&q=85&s=ac3dd846c927156f9e73820c724807ad" alt="" width="1298" height="1710" data-path="images/visualize_setup.png" />
   </Frame>

5. (Optional) Customize your chart further with the options provided on the **Design** tab.

6. Click **Create**.

7. Set the location for the chart to render, then click **OK**. The chart renders within the confines of the cell.

   <Tip>
     To move a chart to a new cell after creating it, click <Icon icon="ellipsis-vertical" iconType="solid" /> actions beside the chart, then click <Icon icon="arrows-up-down-left-right" iconType="light" /> **Move**.

     <Frame>
       <img src="https://mintcdn.com/anaconda-29683c67/McsxJLnb_iAXTsa2/images/visualize_move.png?fit=max&auto=format&n=McsxJLnb_iAXTsa2&q=85&s=fb91efbe2eb2653b8a2c5401c9455f1f" alt="" width="1296" height="882" data-path="images/visualize_move.png" />
     </Frame>
   </Tip>

8. To properly view the chart, select the cell, then click **Create Reference**.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/McsxJLnb_iAXTsa2/images/visualize_render.png?fit=max&auto=format&n=McsxJLnb_iAXTsa2&q=85&s=f8ca0b4f8135360a03a8f003169c35d9" style={{ width: "400px" }} alt="" width="746" height="260" data-path="images/visualize_render.png" />
   </Frame>

   The chart displays as an enlarged copy. If you'd prefer to view the enlarged chart only when needed, you can delete the enlarged copy and recreate it at any time.

## Editing a chart

Edit an existing chart by adjusting the parameters provided on the **Setup** and **Design** tabs or by manually configuring the code on the **Code** tab.

<Tabs>
  <Tab title="Setup and Design">
    1. From the Visualizations home page, click the chart you want to edit.

           <Frame>
             <img src="https://mintcdn.com/anaconda-29683c67/McsxJLnb_iAXTsa2/images/visualize_select.png?fit=max&auto=format&n=McsxJLnb_iAXTsa2&q=85&s=98eb508dddf6c03fe257c052a7e5a0ed" alt="" width="1284" height="836" data-path="images/visualize_select.png" />
           </Frame>

    2. Make any necessary changes on the **Setup** and **Design** tabs, then click **Apply**.
  </Tab>

  <Tab title="Code">
    The **Code** tab displays auto-generated code based on your selections in the **Setup** and **Design** tabs. While the tabs offer numerous configuration options, the underlying Python library, seaborn, offers additional flexibility, as detailed in the seaborn [API documentation](https://seaborn.pydata.org/api#function-interface).

    To take advantage of this flexibility:

    1. From the Visualizations home page, click the chart you want to edit.

           <Frame>
             <img src="https://mintcdn.com/anaconda-29683c67/McsxJLnb_iAXTsa2/images/visualize_select.png?fit=max&auto=format&n=McsxJLnb_iAXTsa2&q=85&s=98eb508dddf6c03fe257c052a7e5a0ed" alt="" width="1284" height="836" data-path="images/visualize_select.png" />
           </Frame>

    2. Click the **Code** tab.

    3. Enter <Icon icon="pencil" iconType="thin" /> **Edit** mode.

    4. Make any necessary changes to the code, then click **Apply**.

    While you are in <Icon icon="pencil" iconType="thin" /> **Edit** mode, the **Setup** and **Design** tabs become locked because free-form code changes cannot be reflected back to the UI elements in the **Setup** and **Design** tabs.

    <Warning>
      Once you edit a chart's code manually, you cannot return to using the **Setup** and **Design** tabs to configure your chart without first discarding all of the changes you've made to the chart's code. The reason is that the **Setup** and **Design** tabs will again auto-generate code and overwrite any existing code in the **Code** tab.
    </Warning>
  </Tab>
</Tabs>
