aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scalam/plotting/FontSize.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/scalam/plotting/FontSize.scala')
-rw-r--r--src/main/scala/scalam/plotting/FontSize.scala9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/scala/scalam/plotting/FontSize.scala b/src/main/scala/scalam/plotting/FontSize.scala
index edd2323..cbc0bef 100644
--- a/src/main/scala/scalam/plotting/FontSize.scala
+++ b/src/main/scala/scalam/plotting/FontSize.scala
@@ -1,6 +1,7 @@
package scalam.plotting
-
-/** Helper class used for implicit font size specification. A font size is nothing but an Int,
- * but defining an implicit of type int could pollute a lot of code. */
-case class FontSize(fs: Int) \ No newline at end of file
+/**
+ * Helper class used for implicit font size specification. Although a font size is typically represented by an Int,
+ * a custom class is used as to avoid code pollution if using implicits.
+ */
+case class FontSize(fontSize: Int) \ No newline at end of file