Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[OSAB] Task 2: Allow users to pass titles for the x- and y-axes #2
This is one way to solve Task 2 in https://robertheaton.com/2019/04/14/open-source-for-advanced-beginners-1-bashplotlib/ .
from bashplotlib.scatterplot import plot_scatter x_coords = [-10,20,30] y_coords = [-10,20,30] width = 10 char = 'x' color = 'default' title = 'Test Title' plot_scatter( None, x_coords, y_coords, width, char, color, title, xtitle="My X Axis", ytitle="My Y Axis")