-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Term Entry]Python plotly graph carpet( #6308
base: main
Are you sure you want to change the base?
Conversation
Created Jupyter Notebook extension for entry
fixed format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aatidua, thank you for contributing to Codecademy Docs, the entry is nicely written! 😄
I've suggested a few changes, could you please review and modify those at your earliest convenience?
Also, please only keep the carpet.md
file and its output image on this branch and remove the other files from this branch.
Thank you! 😃
@@ -0,0 +1,51 @@ | |||
--- | |||
Title: '.Carpet()' | |||
Description: 'Creates visualization technique that displays interaction between variables' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description: 'Creates visualization technique that displays interaction between variables' | |
Description: 'Creates a grid-based reference for visualizing data in a non-Cartesian coordinate system.' |
- 'Data' | ||
- 'Finance' | ||
- 'Plotly' | ||
- 'Graphs' | ||
- 'Data Visualization' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 'Data' | |
- 'Finance' | |
- 'Plotly' | |
- 'Graphs' | |
- 'Data Visualization' | |
- 'Data' | |
- 'Data Visualization' | |
- 'Finance' | |
- 'Graphs' | |
- 'Plotly' |
- 'paths/data-visualization' | ||
--- | ||
|
||
The **`.Carpet()`** , which is referred specifically as "carpet plot", is a Plotly function used to display interaction between one or more independent variables and one or more dependent variable in a two-dimensional plot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The **`.Carpet()`** , which is referred specifically as "carpet plot", is a Plotly function used to display interaction between one or more independent variables and one or more dependent variable in a two-dimensional plot. | |
The **`.Carpet()`** function in Plotly is used to create a carpet plot, which provides a grid-based reference for visualizing the relationship between one or more independent variables and one or more dependent variables in a two-dimensional, non-Cartesian coordinate system. |
- `a`: First parameter values as an array | ||
- `b`: Second parameter values as an array. | ||
- `x`: (optional) It is a two dimensional x-coordinates at each carpet point and when omitted, the plot is a cheater plot and x-axis is hidden by default | ||
- `y` : It is a two dimensional y-coordinates at each carpet point. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `a`: First parameter values as an array | |
- `b`: Second parameter values as an array. | |
- `x`: (optional) It is a two dimensional x-coordinates at each carpet point and when omitted, the plot is a cheater plot and x-axis is hidden by default | |
- `y` : It is a two dimensional y-coordinates at each carpet point. | |
- `a`: First independent variable values as an array. | |
- `b`: Second independent variable values as an array. | |
- `x` (optional): Specifies the x-coordinates of the carpet grid in Cartesian space. If omitted, the plot becomes a cheater plot, and the x-axis is hidden by default. | |
- `y` (optional): Specifies the y-coordinates of the carpet grid in Cartesian space. |
- The ellipses is an indication of optional paratemeters that can be added. | ||
|
||
## Example | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example below demonstrates the use of `.Carpet()` function: | |
Hey @aatidua please also remove the other files from this branch and only keep the |
f712e20
to
4aa0ca3
Compare
Hey @aatidua please make the requested changes 😄 |
af52b1b
to
8eb79ef
Compare
@mamtawardhani I hope I have done it right now. I am still new and learning 😇😅 |
Description
Issue Solved
Type of Change
Checklist
main
branch.Issues Solved
section.