Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add class to `colorbar`; extract out class names #2139
While this relies on implementation detail - the scenegraph - , it's unexposed and internal to the
In the process, I saw a missing classname and thought it's good practice to add a class name anyway (and extract out the class names). As a matter of convention I automatically add class names to scenegraph elements because not doing so might introduce shallow, avoidable gotchas during dev, and makes the code more fragile, eg. when changing the code. Relying on SVG tags eg.