MCPcopy Index your code
hub / github.com/bqplot/bqplot / mark_padding_updated

Method mark_padding_updated

js/src/Figure.ts:787–805  ·  view source on GitHub ↗
(view: Mark)

Source from the content-addressed store, hash-verified

785 }
786
787 mark_padding_updated(view: Mark) {
788 const model = view.model;
789 const scale_models = model.getScales();
790
791 this.update_padding_dict(
792 this.x_pad_dict,
793 view,
794 scale_models[model.get_key_for_orientation('horizontal')],
795 view.xPadding
796 );
797 this.update_padding_dict(
798 this.y_pad_dict,
799 view,
800 scale_models[model.get_key_for_orientation('vertical')],
801 view.yPadding
802 );
803
804 this.update_paddings();
805 }
806
807 update_marks(mark_views) {
808 this.update_paddings();

Callers 1

add_markMethod · 0.95

Calls 4

update_padding_dictMethod · 0.95
update_paddingsMethod · 0.95
getScalesMethod · 0.45

Tested by

no test coverage detected