{"id":25185198,"url":"https://github.com/ai091/function_plotter","last_synced_at":"2025-07-11T20:32:12.508Z","repository":{"id":168768747,"uuid":"588579911","full_name":"AI091/Function_Plotter","owner":"AI091","description":"GUI function plotter ","archived":false,"fork":false,"pushed_at":"2023-01-26T20:25:16.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T08:45:54.394Z","etag":null,"topics":["matplotlib","pyside2","pytest","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AI091.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-13T13:23:45.000Z","updated_at":"2023-01-26T21:00:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"dec1f621-575c-4c4d-a2b2-4263eaa6bd7e","html_url":"https://github.com/AI091/Function_Plotter","commit_stats":null,"previous_names":["ai091/function_plotter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AI091/Function_Plotter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AI091%2FFunction_Plotter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AI091%2FFunction_Plotter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AI091%2FFunction_Plotter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AI091%2FFunction_Plotter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AI091","download_url":"https://codeload.github.com/AI091/Function_Plotter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AI091%2FFunction_Plotter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892490,"owners_count":23679306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["matplotlib","pyside2","pytest","python"],"created_at":"2025-02-09T19:37:03.440Z","updated_at":"2025-07-11T20:32:12.477Z","avatar_url":"https://github.com/AI091.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GUI Function Plotter \n\n## Description \nThis project is a mathematical function plotter developed with PySide2 and Matplotlib. \n\n## Using this project  \nFirst clone the repo using \n```\ngit clone https://github.com/AI091/Function_Plotter.git\n```\nThen go into the directory \n```\ncd \u003clocal_repo_dir\u003e\n```\nThen install the dependencies using \n\n```\npip install -r requirements.txt\n```\n\n## Working examples\nListed below are examples of correct input with their corresponding output \n\u003cp align=\"center\"\u003e\n    \u003cimg \n        src= ./valid_example1.JPG\n        alt = \"x^2\"\n        title = \"plot of x^2\" \n    \u003e\n    \u003cimg \n        src= ./valid_example2.JPG\n        alt = \"3*x+1\"\n        title = \"plot of 3*x+1\" \n    \u003e \n    \u003cimg \n        src= ./valid_example3.JPG\n        alt = \"x^4 +3*x^2 + 1/x\"\n        title = \"plot of x^4 +3*x^2 + 1/x\" \n    \u003e \n\u003c/p\u003e\n\n## Wrong examples \nDemonstrated below is some wrong input with their corresponding error messages \n\n\u003cdiv align=\"center\"\u003e\n\u003cbr\u003e\n\u003ch3\u003e Using Y which is not a supported operand \u003c/h3\u003e\n\n\u003cp \u003e\n    \u003cimg \n        src= ./wrong_example1.JPG\n        alt = \"wrong_example1\"\n        title = \"wrong_example1\" \n    \u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003ch3\u003eEmpty Input \u003c/h3\u003e \n\u003cp \u003e\n    \u003cimg \n        src= ./wrong_example2.JPG\n        alt = \"wrong_example2\"\n        title = \"wrong_example2\" \n    \u003e \n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003ch3\u003e Invalid Mathematical expression\u003c/h3\u003e\n\u003cp \u003e\n    \u003cimg \n        src= ./wrong_example3.JPG\n        alt = \"wrong_example3\"\n        title = \"wrong_example3\" \n    \u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003ch3\u003e Min larger than max \u003c/h3\u003e\n\u003cp \u003e\n    \u003cimg \n        src= ./wrong_example4.JPG\n        alt = \"wrong_example4\"\n        title = \"wrong_example4\" \n    \u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003c/div\u003e\n\n\n# Project Layout\n```\n└── Function_Plotter\n   ├── app.py\n   ├── canvas.py\n   ├── config.py\n   ├── custom_errors.py\n   ├── function_input.py\n   ├── helper.py\n   ├── test.py\n   ├── requirements.txt\n   ├── pytest.ini\n\n```\n\n- **app.py** : defines the main window and runs the application .\n\n- **canvas.py** : defines the plotting canvas .\n\n- **config.py** : defines some plotting parameters like the number of points used for plotting .\n\n- **custom_errors.py** : defines custom errors used in the project .\n\n- **function_input.py** : defines the widget that takes the input function .\n\n- **helper.py** : defines helper functions for parsing the input in a modular fashion .\n\n- **test.py** : defines the automated tests for the functionality of the app's separate parts and end to end as a whole .\n\n- **requirements.txt** : defines the required dependencies to install the project.\n\n- **pytest.ini** : defines the required configuration for pytest to run the tests properly.\n\n## Testing \n\nThe project has automated tests defined in ``` test.py ``` that are written using pytest and pytest-qt . \nTo run the tests : \n```\npytest test.py\n```\n\n\n\n\n   \n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai091%2Ffunction_plotter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai091%2Ffunction_plotter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai091%2Ffunction_plotter/lists"}