selfteaching / selfteaching/selfteaching-python-camp
Day13 画图如何传入得到结果的参数?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
要画图就要给他传入x,y轴的参数,我们之前得到的字典经过排序类型变成了列表,即便是字典,直接用dict.keys也是不行的他的类型返回内置函数,我看实例他传参就是一个元组吧。所以现在就是怎么得到这个关键字还有值,而且让他们能够再matplot中运行,并且这两个数据还得对应。这要怎么操作呀?我尝试了re正则表达式,然而没有成功,就是中文关键字提不出来,又不能遍历只找中文,因为还有后面那个值。
说的有点混乱,总之就是大家是怎么传数据画图的呀?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file, test, or entry point is mentioned. Start by locating the exercise code that produces the sorted dictionary or list and its matplotlib usage; done should be a reproducible plot with corresponding x and y data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- data-visualization
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100