generated from mwc/lab_scatter
I think this lab was challenging, and I'm not sure if I did it the way we were supposed to, because I had to search how to use multiple lists the way I wanted to, which was using zip. I tried adding the two lists but it didn't seem like that would get my what I wanted, and also it didn't work. I got stuck on getting the points drawn properly for a while; first, I got a single point, then I was able to get a vertical line of points, and then I got identical vertical lines of points at each of the x-values (when I had the y for loop nested inside of the x for loop). I think the top-down vs. bottom-up approaches aren't really separate, but you have to go back and forth between them because the top-down approach helps to identify some of the pieces you need to work bottom- up from. I felt like at the beginning, I thought the program would use some of the stuff we did in the pipes lab, so that informed my top-down plan. Another program I thought about writing during this lab was one that could take a csv file and identify different common elements and group them and display them, but that has more to do with other tasks I was doing than this lab probably, but I still think that some of the things here probably helped me think about breaking that down into smaller pieces. |
||
---|---|---|
.commit_template | ||
.gitignore | ||
constants.py | ||
generate_data.py | ||
planning_scatter.md | ||
plotting.py | ||
poetry.lock | ||
pyproject.toml | ||
scatterplot.py | ||
superturtlescat.py | ||
test_transform.py | ||
ticks.py | ||
transform.py |