tshead2 on main
Bump version number. (compare)
tshead2 on v1.0.1
tshead2 on main
Update our compatibility statem… Toyplot version 1.0.1 (compare)
tshead2 on main
Additional fixes to sync with c… (compare)
tshead2 on main
Begin testing with Python 3.10. (compare)
tshead2 on main
Makes toyplot work with python … Merge pull request #202 from St… (compare)
tshead2 on main
Begin exploring graphcat and xm… (compare)
tshead2 on main
Bump version number. (compare)
tshead2 on v1.0.0
tshead2 on main
Toyplot version 1.0.0 (compare)
tshead2 on main
Add missing modules to the docu… (compare)
tshead2 on main
We don't need to combine parall… (compare)
tshead2 on main
Temporarily disable Eades graph… (compare)
tshead2 on main
Do a DOM comparison for HTML ar… (compare)
tshead2 on main
Add missing CI dependency. (compare)
hannes
is https://toyplot.readthedocs.io/en/stable/tick-locators.html#explicit-locators the "proper" way of labeling categories in a bar chart? my x axis is categorical
hannes
i would like to render some bigger matrix
If you find that you’re doing it a lot, you can also do
import toyplot.config
toyplot.config.autoformat = “png”
to make it the default (at the top of your notebook, say).
hannes
i often want to use data from dictionaries with toyplot, eg .keys() as x and .items() as y axes. unfortunately this leads to "TypeError: float() argument must be a string or a number, not 'dict_keys'" from https://toyplot.readthedocs.io/en/stable/_modules/toyplot/require.html#scalar_array because numpy's conversion to an array does not like python's dict views or iterators
hannes
i can wrap it into a list() call but that seems ugly
hannes
no idea why numpy does not support those but i wonder if adding some logic to toyplot's scalar_array function would make sense for this usecase?
hannes
```
hannes
Example of what I would love to use (in an explicite way):import toyplot
data = {1: 5, 2: 3, 3: 4}
canvas = toyplot.Canvas()
axes = canvas.cartesian()
mark = axes.plot(
data.keys(),
data.values(),
)
hannes
https://toyplot.readthedocs.io/en/stable/tutorial.html#scatterplots uses a shared x axis for a stacked plot, is there a way to make a "true" scatterplot of irregular data?
hannes
i have unique x and y axes for each series
hannes
just use the default until it does not do what you need
hannes
posted an image: hannes
hm, when using matplotlib, one can get an image in there from a script itself by calling plt.show()
hannes
i guess that is a super magic command
hannes
sad how bad the state of relaying between messaging services still is :(
hannes
check https://toyplot.readthedocs.io/en/stable/rendering.html for options