As written in #65:
@tlambert03, since you wrote scenex.model.SymbolName: there are many symbol types that pertain only to pygfx that aren't in that list, and conversely some symbols that the pygfx backend can't (without a custom marker type, which is some additional effort) handle.
There are a few ways that we could proceed:
- Add pygfx-only types to
SymbolName - works, but could drastically expand the size of the Literal, especially if more backends are added. Don't know if this is a problem, though.
- Switch to a
SymbolName | str, which would keep SymbolName as a common subset but allow each backend to support its own styles as well.
As written in #65:
There are a few ways that we could proceed:
SymbolName- works, but could drastically expand the size of theLiteral, especially if more backends are added. Don't know if this is a problem, though.SymbolName | str, which would keepSymbolNameas a common subset but allow each backend to support its own styles as well.