At this time, he finally comes to his senses. He is forced to take work as a swineherd (which would have been abhorrent to Jesus' Jewish audience, who considered swine unclean animals) where he reaches the point of envying the food of the pigs he is tending to. However, it isn't long before he has exhausted all his money, and immediately thereafter, a famine strikes the land leaving him desperately poor. It's implied that he drinks, gambles, and sleeps with prostitutes, during this time. Upon receiving his portion of the inheritance, the younger son travels to a distant country, where he indulges in extravagant living. The father agrees and divides his estate between both sons. The implication is the son could not wait for his father's death for his inheritance, he wanted it immediately. The parable begins with a man who had two sons, and the younger of them asks his father to give him his share of the estate. James Tissot – The Return of the Prodigal Son (Le retour de l'enfant prodigue) – Brooklyn Museum In the Eastern Orthodox Church it is read on the Sunday of the Prodigal Son. In Revised Common Lectionary and Roman Rite Catholic Lectionary, this parable is read on the fourth Sunday of Lent (in Year C) in the latter it is also included in the long form of the Gospel on the 24th Sunday of Ordinary Time in Year C, along with the preceding two parables of the cycle. The Prodigal Son is the third and final parable of a cycle on redemption, following the parable of the Lost Sheep and the parable of the Lost Coin. The father tells the older son: "you are ever with me, and all that I have is yours, but thy younger brother was lost and now he is found." Envious, the older son refuses to participate in the festivities. To the son's surprise, he is not scorned by his father but is welcomed back with celebration and a welcoming party. As consequence, he now must return home empty-handed and intend to beg his father to accept him back as a servant.
This son, however, is prodigal (i.e., wasteful and extravagant), thus squandering his fortune and eventually becoming destitute.
The younger son asks for his portion of inheritance from his father, who grants his son's request. Jesus shares the parable with his disciples, the Pharisees and others. The Parable of the Prodigal Son (also known as the parable of the Two Brothers, Lost Son, Loving Father, or of the Forgiving Father) is one of the parables of Jesus in the Bible, appearing in Luke 15:11–32. So while many cases could be accommodated one way or another, this poses enough problems that I think we had better leave it as is.The Return of the Prodigal Son (1773) by Pompeo Batoni There's also the case where the user initially renders the plot into a div that's not attached to the DOM, and only attaches it later when the user requests that content - in that case there is no inheritance chain. So if the user were to render the plot and then change the font upstream, everything would be sized wrong. The other concern is layout: because this is SVG (rather than HTML which has a layout engine) we need to render text, measure it, then manually size boxes, margins, etc to fit the text. Even the "Download plot as a png" button could break, as this renders the plot in a element that's not attached to the DOM. I'm hesitant to do that though, as 'inherit' breaks portability of the plot. There exist workarounds like window.getComputedStyle(my_div_element,null).getPropertyValue("font-family") and then get plotly.js to use the dynamically computed font-family, but it would be easier if plotly.js could inherit directly.įont-family: 'Open Sans ', verdana, arial, sans-serif Īnd it's possible that we could simply remove that, as long as we have set the font consistently across all internal elements. This is a stack overflow post apparently facing the same issue.
Getting plotly.js output to inherit the font-family currently in use could maybe potentially be as simple as layout:, however this does not currently work as there seems to be a hard-coded value of "Open Sans", verdana, arial, sans-serif still given by plotly.js as style attribute higher in the DOM tree (which is then inherited by the plotly.js-created elements actually having font-family: inherit). In some cases plotly.js is used for making a plot, and the output is placed in a framework/context where the user controls the font in use. This works well in cases where you know the font-family to use up front. See this pen for an example of including custom font. Enabling a custom global font-family in a plotly.js plot is today possible using layout → font → family, which has default value "Open Sans", verdana, arial, sans-serif.