In all suits, actions, and proceedings brought in any court of this state involving title to, the right of possession of, or the mineral contained in any mine or mining claims, it is the duty of the court, at the trial of such suit, and upon the application of either party interested therein, to send the jury impaneled in the case, in a body, to view and inspect the premises. Each party to the suit shall have the privilege of nominating one person, to be approved by the court, to attend with the jury in their view and investigation of the premises in controversy, and such persons so selected and appointed by the court shall be authorized to act as guides to the jury, and to point out such features in the premises as it is desirable that the jury should see and answer all questions propounded by the jury; but such persons so selected shall not be at liberty to argue or discuss any questions involved in the case either with the jury or with each other in the presence of the jury; and if such persons violate the above provision, the court has the power to punish anyone so offending for contempt of court by a fine of not more than one hundred dollars or by imprisonment for not more than ten days in the county jail.