qnngroup / qnngds

MIT License
4 stars 3 forks source link

Default text formatting doesn't handle numpy floats well #94

Closed emmakbat closed 2 days ago

emmakbat commented 3 days ago

Default text formatting currently doesn't truncate long floats such as those generated by numpy.geomspace/linspace when those functions are used to parameterize devices. This results in labels that are so long they extend outside of the cell and cause weird behavior. Maybe should update the default text formatting to truncate at e.g. 1 or 2 decimals. image