diff --git a/docs/api_examples/scatter_plot.ipynb b/docs/api_examples/scatter_plot.ipynb index bc8f871..1f5906e 100644 --- a/docs/api_examples/scatter_plot.ipynb +++ b/docs/api_examples/scatter_plot.ipynb @@ -303,16 +303,17 @@ }, { "cell_type": "markdown", - "id": "ade445fe", + "id": "dbb5c1e3", "metadata": {}, "source": [ - "## 1. Basic Scatter Plot" + "### 0.3. Create sample data\n", + "We create a synthetic dataset that contains simulated gene expression values, p-values, regulation status, and significance scores for 8 genes across two cell types." ] }, { "cell_type": "code", "execution_count": 4, - "id": "19f0277d", + "id": "82dfaf45", "metadata": {}, "outputs": [ { @@ -449,7 +450,6 @@ } ], "source": [ - "# Created sample data\n", "sample_df = pd.DataFrame(\n", " {\n", " \"gene_expression\": [1.2, 2.5, 3.1, 4.5, 5.2, 6.8, 3.9, 2.1],\n", @@ -473,6 +473,15 @@ "sample_df" ] }, + { + "cell_type": "markdown", + "id": "ade445fe", + "metadata": {}, + "source": [ + "## 1. Basic Scatter Plot\n", + "A basic scatter plot can be created by providing the `x` and `y` columns from the DataFrame, along with style options like `title`." + ] + }, { "cell_type": "code", "execution_count": 5, @@ -483,7 +492,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "[VueCore] Plot saved to ./outputs/scatter_basic.pdf\n" + "[VueCore] Plot saved to ./outputs/scatter_basic.png\n" ] }, { @@ -4381,9 +4390,9 @@ { "data": { "text/html": [ - "