The failure of a defendant to appear in court as directed by summons or warrant issued under the provisions of this article may be treated by the judge of the municipal court as contempt and punishable as provided by the charter.