- molecular motionmodify rw_visual py by replacing plt scatter(with plt plot(to simulate the path of pollen grain on the surface of drop of waterpass in the rw x_values and rw y_valuesand include linewidth argument use instead of , points - modified random walksin the class randomwalkx_step and y_step are generated from the same set of conditions the direction is chosen randomly from the list [ - and the distance from the list [ modify the values in these lists to see what happens to the overall shape of your walks try longer list of choices for the distancesuch as through or remove the - from the or direction list - refactoringthe method fill_walk(is lengthy create new method called get_step(to determine the direction and distance for each stepand then calculate the step you should end up with two calls to get_step(in fill_walk()x_step get_step(y_step get_step(this refactoring should reduce the size of fill_walk(and make the method easier to read and understand rolling dice with pygal in this section we'll use the python visualization package pygal to produce scalable vector graphics files these are useful in visualizations that are presented on differently sized screens because they scale automatically to fit the viewer' screen if you plan to use your visualizations onlineconsider using pygal so your work will look good on any device people use to view your visualizations in this project we'll analyze the results of rolling dice if you roll one regular six-sided dieyou have an equal chance of rolling any of the numbers from through howeverwhen using two diceyou're more likely to roll certain numbers rather than others we'll try to determine which numbers are most likely to occur by generating data set that represents rolling dice then we'll plot the results of large number of rolls to determine which results are more likely than others the study of rolling dice is often used in mathematics to explain various types of data analysis but it also has real-world applications in casinos and other gambling scenariosas well as in the way games like monopoly and many role-playing games are played generating data