Open thomaswp opened 1 year ago
BlockPy helpfully supports multiple line plots on the same canvas; however this does not work with bar plots:
import matplotlib.pyplot as plt plt.bar([0.5, 1.5, 2.5], [5, 8, 2], width=0.5) plt.bar([0, 1, 2], [2, 3, 2], width=0.5) plt.show()
produces
rather than why Python would generate:
I'm guessing that this has something to do with the JS implementation of Matplot? Some students wanted to create comparative barcharts, so it's nice to be able to do.
Sounds like maybe you're using jsplotlib under the hood? If so, it may be fixed with an update.
Confirmed this is still present on the UDel instance.
BlockPy helpfully supports multiple line plots on the same canvas; however this does not work with bar plots:
produces
rather than why Python would generate:
I'm guessing that this has something to do with the JS implementation of Matplot? Some students wanted to create comparative barcharts, so it's nice to be able to do.